Blue Theme Orange Theme Green Theme Red Theme
 
Team Foundation Server Hosting
Home | Forums | Videos | Advertise | Certifications | Downloads | Blogs | Interviews | Jobs | Beginners | Training
 | Consulting  
Submit an Article Submit a Blog 
 Jump to
Skip Navigation Links
TechnologyExpand Technology
WebsiteExpand Website
Mindcracker MVP Summit 2012
Search :       Advanced Search »
Home » How do I » Implementing N-Tier Architecture in Web Application

Implementing N-Tier Architecture in Web Application

This article gives a brief idea of how to create a N-Tier Architecture System for Web Application.

Page Views : 68636
Downloads : 0
Rating :
 Rate it
Level : Intermediate
   Print Read/Post comments Post a comment  Similar Articles  
   Email to a friend  Bookmark  Author's other articles  
 
Nevron Chart
Become a Sponsor
Discover the top 5 tips for understanding .NET Interop
Become a Sponsor
 Tag Cloud
 Latest Jobs
More ... 
 Latest Interview Questions
More ... 

N-Tier Architecture

 

N-Tier the word means Multiple Tier.

 

N-Tier Architecture is nothing but splitting your solution into different project based on the business requirement.

 

Advantage: 

  1. Reduce the business and the programming complexity.

  2. Easy to process 

Procedure :

 

To  work with n-Tier system

 

1. Create a solution.

2. Include a web application project in it and name it as "PRESENTATION LAYER"

3. Include a Class Library Project and name it as "DATALAYER"

 

 

 

4. Include a Class Library Project and name it  as "BUSINESSLAYER"

 

5. Now you have 3 project in single solution

 

6. Build the DataLayer.

 

7. Go to Business layer and right click on reference and in reference go to Project's. Here you can see the Datalayer. Click on that and include as reference.

 

8. Now in the Business Layer reference you can see the DataLayer assembly

 

9. Go to Presentationlayer and right click on reference and in reference go to Project's. Here you can see the BusinessLayer. Click on that and include as reference.

 

10. Now you can see the BusinessLayer Assembly in the Presentation Layer.

 

11. Now you can access all the methods

 

DataLayer in Business Layer

BusinessLayer in PresentationLayer

 

Figure 2


 

12. This is the way you build your N-Tier Application. For example, this is a 3 Tier System.

Comment Request!
Thank you for reading this post. Please post your feedback, question, or comments about this post Here.
Login to add your contents and source code to this article
 Article Extensions
Contents added by Abhi Kumar on Jun 15, 2010

This is very good article, but somebody can tell me add reference work for both menas
BAL can be add in DAL or vice versa...
while add DAL in BAL its says could not add reference because of circular dependency..

 [Top] Rate this article
 
 About the author
 
Prabakar Samiyappan
MCP Certified.Working in Microsoft Technology for the Past 4 Years. http:\\sharpurdotnet.blogspot.com
Looking for C# Consulting?
C# Consulting is founded in 2002 by the founders of C# Corner. Unlike a traditional consulting company, our consultants are well-known experts in .NET and many of them are MVPs, authors, and trainers. We specialize in Microsoft .NET development and utilize Agile Development and Extreme Programming practices to provide fast pace quick turnaround results. Our software development model is a mix of Agile Development, traditional SDLC, and Waterfall models.
Click here to learn more about C# Consulting.
 
Introducing MaxV - one click. infinite control. Hyper-V Hosting from MaximumASP.
Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Dynamic PDF
ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
Discover the top 5 tips for understanding .NET
Ricky Leeks presents the top 5 tips for understanding .NET Interoperability. Learn more.
Nevron Chart for .NET 2010.1 Now Available
The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
ASP.NET 4 Hosting
Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites – Click Here!
 
 Post a Feedback, Comment, or Question about this article
Subject:
Comment:
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
 Comments
Good by Tamil On November 3, 2006
Good article for starters
Reply | Email | Modify 
example by tina On January 24, 2007
can u pls give an example so that it can be more clear
Reply | Email | Modify 
3-tier programme by venu On October 9, 2007
hai prabaker i need 3-tier progaramme in .net smaller programme like insert,delete programme
Reply | Email | Modify 
Re: 3-tier programme by shiva On November 30, 2007
u can use table wizard instead of all these stuff.Microsoft is providing us a easy method of i mplementing it using table wizard.U can refer www.asp.net for further more guidance
Reply | Email | Modify 
Re: 3-tier programme by Jatin On May 9, 2009
pls refer to ebooks for this solution.
Reply | Email | Modify 
Nice Article from you.... but by Sravan On January 30, 2008
will you please do me this favour that provide simple example using ADO.Net in N-tier architecture format do me this favour ASAP
Reply | Email | Modify 
good by abdul On September 24, 2008
The article is good, if this article would contain example code it would be better
Reply | Email | Modify 
Nice article. by Vyankatesh On March 26, 2009
This is really very nice article demonstrating the n-tier article. Thanks.
Reply | Email | Modify 
N-Tire by syed On March 1, 2011
I get a clear concept. Beautiful article.
Reply | Email | Modify 
6 Months Free & No Setup Fees ASP.NET Hosting!
 © 2012  contents copyright of their authors. Rest everything copyright Mindcracker. All rights reserved.