Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ASP.NET 3.5 Application Architecture and Design

You're reading from   ASP.NET 3.5 Application Architecture and Design Build robust, scalable ASP.NET applications quickly and easily.

Arrow left icon
Product type Paperback
Published in Oct 2008
Publisher Packt
ISBN-13 9781847195500
Length 264 pages
Edition Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Vivek Thakur Vivek Thakur
Author Profile Icon Vivek Thakur
Vivek Thakur
Arrow right icon
View More author details
Toc

A 4-Tier Approach


In the last chapter, we saw how layers nicely separated the application code into logical partitions. Now Breaking them further into separate physical assemblies will introduce some slight complexity, and to handle that we need to follow some design patterns.

At the simplest level, this is how we can segregate the application to have the following four tiers:

  • Presentation tier: client-side browser

  • UI tier: Web project having ASPX/ASCX, code-behind files

  • Data access and business logic tier: in a separate class library project

  • Data tier: the physical database

Note that in our first step to moving from a standard 3-tier web based application to 4-tier architecture, we are separating the DAL and BL code from the main web application into its own assembly. In a later section of this chapter, we will see how we can separate the DAL and BL into different assemblies.

To separate the BL and DAL code from logical layers (in the last chapter) to physical assemblies, we first need to follow...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image