Here in this Article I will try to explain a real implementation of the 3-Tier Application with an example. You might be thinking "During this new era of Data Access Technology what is the need of learning a Basic 3-Tier Application development process?" Yes you are correct, but before implementing any new .Net Design Patterns like LINQ, Entity Model, MVC, MVP or MVVM we need to understand the basics of 3-Tier Application.
Basic Rules and Concept of 3-Tier Application
- There will be clear separation of layers. such as Presentation Layer, Business Logic Layer, Data Access Layer and Entity Layer.
- This kind of separation of layers will give the facility to host Business Logic in Business Server and Data Access in Database Server.
- Data Encapsulation done by Entity Layer which can serialized across the layer, from Presentation to Business and Business to Data Access and vice versa.
- Business Logic will encapsulated in Business Logic layer.
- Data Access process and Security will be encapsulated in Data Access Layer.
- Finally the Presentation Layer will access only the Business Logic Layer to Add a new record, Modify an existing record, to View records by list or a particular Record.
- Presentation Layer will never communicate directly with Database Object or Data Access Layer.
Step - 1
Add 4 Projects to an empty Visual Studio Solution. Of of these, 3 of the projects should be a Class Library (For Class Library the output will be a dll) and the other one can be your application (Windows Form Application or Web Application or Web site). You should follow a better naming convention for the projects. For example you can have your projects in your Solution like this.
| Projects |
Application |
Type of Project |
| Entity |
ApplicationName.Entity |
Class Library |
| DAL |
ApplicationName.DAL | Class Library |
| BLL |
ApplicationName. | Class Library |
| Application |
Application | Win/Web Application/Site |










richard ordonezPosted Apr 26, 2013, 12:56 AM
Muchas gracias.
Vinayak RahatePosted Sep 4, 2012, 2:50 AM
Thanks...
B M SuchitraPosted Nov 7, 2011, 2:32 AM
Hi, Thanks for the article but it would be good if i get the same example in VS 2008
anas AlQudahPosted Sep 4, 2011, 8:49 AM
Very good article :) Thanks
Rohatash KumarPosted Aug 10, 2011, 7:04 AM
Good article. keep it up...
Dea SaddlerPosted Aug 9, 2011, 8:19 AM
Useful Article
Hemant KumarPosted Aug 9, 2011, 7:31 AM
Excellent Article on 3 Tier Arch.
Dinesh BeniwaleditedPosted Aug 9, 2011, 7:22 AMEdited Aug 9, 2011, 7:58 AM
Welcome back, thanks for sharing