Click here to Skip to main content
15,915,975 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How to develop three tier application in asp.net with c#?
what are the key point have to focus at the time of development in three tier application.

Plz show me the sample also.

Regards,
Purnananda Behera
Posted

 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 6-Nov-11 19:27pm    
Fixed HTML.
--SA
Google is your friend. Have a look at this article:
Building a 3-Tier Application using ASP.NET[^]

Besides that have a look at this article to get a clear picture on which architecture to use on the basis of your requirements:
Architecture Guide: ASP.NET MVC Framework + N-tier + Entity Framework and Many More[^]

hope it helps :)
 
Share this answer
 
Comments
RaisKazi 27-Dec-11 8:01am    
Voted 5 to counter down-vote.
Uday P.Singh 27-Dec-11 8:17am    
thank you RaisKazi :), How anyone can down-vote without giving the reason.
In 3- tire application you want to make Business Logic File,Data Aceess Layer File,Presention Layer File....


So This Link Helps You Hoe To Create a 3- Tire Architecture Application

http://www.dotnetfunda.com/articles/article71.aspx
 
Share this answer
 
v2
Comments
RaisKazi 27-Dec-11 8:01am    
Voted 5 to counter down-vote.
You need to concern about

1)Presentation tire - View or the users are operating the input and outputs. it can be web client or the windows client. EX: add web Application to solution.

2) Business logic tire (middle) - All business logic methods should write inside this tire. You can separate business logic layer with application layer by using WCF or web service. Ex: Add WCF Application

3) Data Access tire. - Database related operation should write inside this project. usage of Data Access tire is any time your application can change in to another database. Ex:mssql to oracle. What you want to do is change the Data Access tire only. so your business logic is separate from database. for this tire you can use Microsoft entity frame work. Ex: Add normal class library project and write the data access classes.
 
Share this answer
 
Comments
RaisKazi 27-Dec-11 8:01am    
Voted 5 to counter down-vote.
You may have a look at sveral Question-Answer discussions for this Topic posted on CodeProject earlier.

http://www.codeproject.com/search.aspx?q=Three+Tier+Asp.Net&usfc=false&doctypeid=4%3b5
 
Share this answer
 
Comments
Member 9505361 13-Oct-12 0:24am    
Hello Sir,

Where we have to put the validation about the data,i.e can we use validation controls in presentation layer or business layer?

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