Click here to Skip to main content
Click here to Skip to main content

Tagged as

Go to top

Desinging and Developing N-Tier Solutions Using .Net

, 31 Dec 2004
Rate this:
Please Sign up or sign in to vote.
Desinging and Developing N-Tier Solutions Using .Net

Dowmload Code - Click Here!
N-Tier Architect
developing .Net Application Using N-Tier Approach 


What is N-Tier Architect
N-Tier architecture refers to the architecture of an application that has at least 3 "logical" layers -- or parts -- that are separate.
 


Why Use N-Tier Architect
Because each layer can be located on physically different servers with only minor code changes, hence they scale out and handle more server load. Also, what each layer does internally is completely hidden to other layers and this makes it possible to change or update one layer without recompiling or modifying other layers.


N-Tier Architect Over View
Any application developed using N-Tier Architect must have at least three logical
layerare:

         Presentation Tier

         Business Logic Tier

         Data Access Tier

Enhancement in 3 Tier 

We can enhance our application by using some more layers. For presentation tier and
business logic tier
communication.

         Business Facade Tier

It would be better if we also separate application data passingclasses and configuration
and
tracing classes.

         Common

         System Frame Work

 

Final N-Tier Architect
Finally we have N-Tier architecture which has four logical layers.
These are:

         Presentation Layer

         Business Facade Layer

         Business Rules Layer

         Data Access Layer

More…

         Common

         System Frame Work

 

 

Presentation Tier

Contains user interface based upon windows form/web forms and code behind files.

        Modules (User Controls)

        Web Pages

         This layer is implemented as the Web project in the Duwamish.sln (you can download duwamish from link in ref at the end of this article).

 

Business Facade
The Business Facade layer serves as an isolation layer, segregating the user interface from the implementation of the various business functions.
  This layer is implemented as the BusinessFacade project in the Duwamish.slnsolution file.

 

Business Rule

contains the implementation of the various business rules and logic. Business rules do tasks such as the validation of customer accounts and book orders.

This is implemented as the BusinessRules project in the Duwamish.sln solution file.

 


Data Access Tier
The Data Access layer provides data services to the Business Rules layer.

        This layer is implemented as the DataAccess project in theDuwamish.sln solution file.

 

Common

The Common layer contains datasets that are used for passing information between thevarious layers.

This layers is implemented in the Common project in the Duwamish.sln solution file.

System Frame Work
This contains application configuration and tracing within the System.

This is implemented in SystemFramework project in the Duwamish.sln solution file.

 

         Presentation Tier

        Module

à Create Customer .ASCX

        Web Page

à Create Customer .ASPX

    

         Business Façade Tier

à CUSTOMER.CS

         Business Logic Tier

à CUSTOMER.CS

         Data Access Tier

à CUSTOMER.CS

         More…

         Common

à CUSTOMER.CS

 

 

 

 

 

Deployment of Tiers
There are two methods to deploy your N-Tier architect application.

Distributed
Non Distributed


Distributed Deployment
In distributed deployment each tier is hosted independently

For large scale applications.

 

 

 


Non- Distributed Deployment

In this type of deployment you can host all of your tiers in the presentation tier

For small scale application.

 

 

 

 Ref:

  1. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dwamish7/html/vtoriDuwamish70Overview.asp

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Mubi | www.mrmubi.com
Business Analyst Valentia Technologies
Ireland Ireland
Mubi
^^^^^^^^^^^^^^^^^^^^^^^
www.mubshir.com
Follow on   Twitter

Comments and Discussions

 
GeneralASP.NET 2.0 Sample Architecture PinsussAnonymous12-Sep-05 0:38 
GeneralNow come on ... PinsussAnonymous2-Jan-05 1:21 
GeneralRe: Now come on ... PinmemberMubashir Raza Ali Khan Balouch2-Jan-05 17:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web01 | 2.8.140921.1 | Last Updated 31 Dec 2004
Article Copyright 2004 by Mubi | www.mrmubi.com
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid