Three Layer Achitecture in C#.NET
First let me give you small overview about topic I would like to cover in this artical. 1. Tier vs. Layer 2. Three Tier/Layer Architecture Design Components 3. Demo: Three Layer Windows Application in C#.NET 1. Tier vs. Layer 1.1 Tier: Tier indicates a physical separation of components, which may mean different assemblies such as DLL, EXE etc on the same server or multiple servers. As you can see in the above figure Data Tier have no direction with Presentation Tier, but there is intermediate Tire called Business Tier which is mainly responsible to pass the data from Data Tier to Presentation Tier and to add defined business logic to Data. So, If we seperete each Tier by their funcationality then we come to know on below conclusion 1.2 Layer: Layer indicates logical separation of components, such as having distinct namespaces and classes for the Database Access Layer, Business Logic Layer and User Interface Layer. 2. Three Tier/Layer Architecture Design Components As we already seen ti