---
title: "Three tier Architecture in .net"  
description: "Three-tier is a client–server architecture in which the user interface, functional process logic (\"business rules\"), computer data storage and data ac"  
author: "Amit Singh"  
published: 2010-11-22  
updated: 2014-09-18  
canonical: https://www.mindstick.com/blog/56/three-tier-architecture-in-dot-net  
category: ".net"  
tags: [".net"]  
reading_time: 2 minutes  

---

# Three tier Architecture in .net

Three-tier is a client–server architecture in which the [user interface](https://www.mindstick.com/interview/22909/user-interface-objects-in-cocoa), functional process logic ("business rules"), computer [data storage](https://www.mindstick.com/interview/2601/what-are-different-data-storage-options-are-available-in-android) and [data access](https://www.mindstick.com/blog/301551/risks-and-challenges-of-data-access-and-sharing) are developed\
The three-tier model is [software architecture](https://www.mindstick.com/articles/337598/define-the-importance-of-microservices-in-modern-software-architecture) and a [software design](https://www.mindstick.com/blog/300319/the-importance-of-typography-in-software-design) pattern.\
The three-tier architecture was comes into existence to improve management of code and contents and to [improve the performance](https://www.mindstick.com/forum/157912/what-is-regularization-how-can-it-be-used-to-improve-the-performance-of-a-machine-learning-model) of the web based applications. There are mainly three layers in three-tier architecture.

##### They are define as follows

##### (1)Presentation tier:

This is the topmost level of the application. The presentation tier displays information related to such services as browsing merchandise, purchasing, and [shopping cart](https://answers.mindstick.com/qa/30832/what-is-shopping-cart-abandonment) contents. It communicates with other tiers by outputting results to the browser/client tier and all other tiers in the network.\

##### (2)Application tier

It is also known as [business logic](https://answers.mindstick.com/qa/30543/what-is-business-logic), logic tier, data access tier, or middle tier. The logic tier is pulled out from the presentation tier and, as its own layer, it controls an application’s functionality by performing detailed processing.\

##### (3)Database

This tier consists of database servers. Here information is stored and retrieved. This tier keeps data neutral and independent from application servers or business logic. Giving data its own tier also improves scalability and performance.\
\

##### Working information of layers in architecture

(1)First layer Presentation contains mainly the interface code, and this is shown to user. This code could contain any technology that can be used on the [client side](https://www.mindstick.com/forum/160418/what-are-the-best-practices-for-securely-storing-bearer-tokens-on-the-client-side) like HTML, JavaScript or VBScript etc.\
(2)Second layer is Business Logic which contains all the code of the server-side .This layer have code to interact with database and to query, manipulate, pass data to user interface and handle any input from the UI as well.\
(3)Third layer Data represents the data store like MS Access, SQL Server, an XML file, an Excel file or even a text file containing data also some additional databases are also added to those layers.\
\

---

Original Source: https://www.mindstick.com/blog/56/three-tier-architecture-in-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
