358 points
19 13 11

We divide large projects into different tiers to manage them more easily. Mostly the ASP.NET applications are divided into three tiers. In this article, we are going to see what is three-tier architecture in ASP.NET.

What is 3-tier Architecture:

The 3-tier architecture is a way of dividing a project into three parts for the sake of maintainability. Those three tiers are:

  1. User interface i.e. Presentation layer.
  2. Logic i.e. Business layer.
  3. Data layer

    Presentation Layer

    The topmost and most high-level layer in 3-tier architecture is the user interface. This layer represents what the user sees on his/her screen. The main purpose of this layer is to translate the tasks into the user-understandable form so that the user can understand and use the system. It is used to display data and to take input from users. An attractive and user-friendly interface helps in attracting more users. This layer should be designed properly so that users do not face difficulty in using the system.

    Business Layer

This layer includes all the logic and operations of the system. It usually has different functions and C# classes that are used to perform different operations. This layer acts as an interface between the presentation layer and the data layer. It also validates any data that is sent to the user or taken as input from the user.

Data Layer

This layer interacts with the database and is used to perform different operations on the data stored in it. It contains different methods for insert, update, delete, create operations. It also contains stored procedures used to query data from the database. It connects the business layer to the data source so that the data could be displayed on the presentation layer or collected from the user.

More Posts

Difference between 2 tier and 3 tier architecture with diagram SharadMagar450 - Aug 2
3-tier architecture in c# windows application (Part A) mhfaisal - May 12
3-tier architecture in c# windows application (Part B) mhfaisal - May 12
What is WEB API and Explain its use in ASP.NET Application Development techtalk - May 16
Custom role based authorization in mvc amna - Oct 22, 2020 interview questions for 6 years experience amna - Dec 3, 2020 interview questions and answers for freshers pdf free download amna - Dec 3, 2020
Mvc tutorial for beginners in .net pdf amna - Dec 3, 2020
Inheritance in with example tanzimsiddiqee - Aug 7
The best way to expand an LVM volume group Lelin - Apr 22