Reader Level:

Implementing N-Tier Architecture in Web Applications

By Prabakar Samiyappan on Oct 31, 2006
This article provides a brief introduction to the creation of a N-Tier Architecture System for Web Applications.

N-Tier Architecture


The word N-Tier means Multiple Tiers.


N-Tier Architecture is nothing but splitting your solution into multiple projects based on the business requirements.



  1. Reduce the business and the programming complexity.

  2. Easy to process 



Use the following procedure to create a sample of using an N-Tier system:


1. Create a solution.

2. Include a web application project in it and name it "PRESENTATION LAYER".

3. Include a Class Library Project and name it "DATALAYER".




4. Include a Class Library Project and name it "BUSINESSLAYER".


5. Now you have 3 projects in a single solution.


6. Build the DataLayer.


7. Go to the Business layer and right-click on "References" and in References go to "Projects". Here you can see the Datalayer. Click on that and include as reference.


8. Now in the Business Layer reference you can see the DataLayer assembly.


9. Go to Presentationlayer and right-click on reference and in reference go to Project's. Here you can see the BusinessLayer. Click on that and include as reference.


10. Now you can see the BusinessLayer Assembly in the Presentation Layer.


11. Now you can access all the methods.


DataLayer in Business Layer

BusinessLayer in PresentationLayer




12. This is how you build your N-Tier Application. For example, this is a 3-Tier System.

Article Extensions
Contents added by Abhi Kumar on Jun 15, 2010

This is very good article, but somebody can tell me add reference work for both menas
BAL can be add in DAL or vice versa...
while add DAL in BAL its says could not add reference because of circular dependency..

Prabakar Samiyappan
Prabakar Samiyappan

MCP Certified.Working in Microsoft Technology for the Past 4 Years. http:\\