How to create a 3-Tier application architecture project in Visual Studio.

This article show you how you can start a project with data access layer ,Business layer and application layer.

To create a 3-tier archotecture design for your web application projects using visual studio follow these steps:

1.Create a visual studio web application project, suppose you created with name Test3-tier.solution.

Next for seperate DataAcces Layer,Business logic layer you have to add two Class Library project into your main solution to do this follow next steps:

2. Add a new class library project into your main project(Test3-tier),suppose you added it with name Test3-tier.DAL( it will be your Data Access Layer).

3. Then you have to add a another new class library project into your main project(Test3-tier), suppose you added it with name Test3-tier.BAL( it will be your business access layer).

Then finally you have to add references and setting up their build order, for this follow these steps:

1. Right click on Test3-tier.BAL solution and add refernce to your DATA ACCESS LAYER Project for doing this just add refernce as Test3-tier.DAL.dll into Test3-tier.BAL project.
2.Then add reference into the main solution(Test3-tier) to Test3-tier.BAL.dll .

Now your 3-Tier web application project architecture is ready for develop.


Author: nandana29 Nov 2010 Member Level: Bronze   Points : 0

it is very nice and useful article

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: