Can any one tell me the difference between 2 tier and 3 tier architecture in asp.net applications...give me the accurate examples for this one plzzzzzzzzz........and how to fine the type of architecture in our .net project....
use following link for 3 tier architecture
for 2 tier architecture
and for advantage and disadvantage
i hope this will give you some better idea about tier in codeing
All the best
In 2 Tier architecture the Business Logic Layer and the Presentation layer is Combined so there is only a Data access layer...
In a modern two-tier architecture, the server holds both the application and the data. The application resides on the server rather than the client, probably because the server will have more processing power and disk space than the PC.
In a three-tier architecture, the data and applications are split onto seperate servers, with the server-side distributed between a database server and an application server. The client is a front end, simply requesting and displaying data. Reason being that each server will be dedicated to processing either data or application requests, hence a more manageable system and less contention for resources will occur
This has 2 parts namely client (front
end) and database (back end).
3 tier architecture :
1 Client-front end (request is given through client)
2.business logic :Middle layer (protocols are used for
processing the request)
3. Database :back end (response is given to the client)
Web applications are good examples for 3 tier architecture