Click here to Skip to main content
15,880,967 members
Please Sign up or sign in to vote.
3.33/5 (3 votes)
Hi All,

I am using , and sql server 2008.

My requirement is to use 3-tier architecture to develop an application.
I know about 3-tier architecture but I do not know how to start with that like creating layers,classes.
Just tell me rough sketch.
Can anyone tell me how to start with the project.
Thank you,

3-Tier architecture is a very well know buzz word in the world of software development whether it web based or desktop based.
3-Tier Architecture in ASP.NET with C#[^]
Building a 3-Tier Application using ASP.NET

3-tier application is a program which is organized into three major disjunctive tiers on layers. Here you can see that how these layers increase the reusability of codes.
Three Tier Architecture in ASP.NET[^]

A CP article on the background, advantages and usage of 3-tier architectures in C#.
3-tier architecture in C#[^]

Detailed explanation:
3-Tier Architecture in using c#[^]
Share this answer
Member 10654962 16-May-14 1:07am    
how can use 3 tire app in desktop applocation
3-tier web application in[^] but I did recommend to Google out!
Share this answer
T think below link will help you implementing 3 tier architecture easily.
Share this answer
These two applications are written for the intent of teaching and explaining 3 tier architecture. please read the article and see the architecture of projects/solutions and code. I hope you will also benefit from it.

YaBlogEngine - A Tiny Blog Engine written in ASP.NET/C#[^]

YaMessaging - A simple e-mail like messaging application[^]

Let me know if you need further help. I will see what i could do.
Share this answer
Create a class library - BusinessLogic. Add a reference of it in UI layer project.
Create a class library - DataAccess. Add a reference of it in BL layer project.

Now, from your UI, use the object model and pass on to BusinessLogic project class. This class is a Business logic class. Do the changes as per your need here.
Now, pass on the changed data from business logic class to dataAccess project class. In this class, use ADO.NET and pass on the needed values to Stored Procedure.

For getting back data, it will be transferred from DA to BL and then BL to UI layer.
Have a look at these, explaination with samples:
3-tier architecture in C#[^]
3-Tier Architecture Examples[^]
3-Tier Architecture in ASP.NET with C#[^]

More sample links provided in this answer: Beginner Projects for Visual C# with VS/SQL 2005[^]
Share this answer
Jibesh 16-Feb-13 3:38am    
hummm... too early to answer this question ;)
Sandeep Mewara 16-Feb-13 3:53am    
It popped out last night, probably someone posted a spam answer. So I used to reply it back (strange thing, it showed 0 answers last night!). Post reply, noticed the date.

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900