Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi All,
 
I am using asp.net ,c#.net and sql server 2008.
 
My requirement is to use 3-tier architecture to develop an application.
I know about 3-tier architecture but I do not know how to start with that like creating layers,classes.
Just tell me rough sketch.
Can anyone tell me how to start with the project.
Thank you,
Posted 8-Jun-12 0:34am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

3-Tier architecture is a very well know buzz word in the world of software development whether it web based or desktop based.
3-Tier Architecture in ASP.NET with C#[^]
Building a 3-Tier Application using ASP.NET
[^]
 
3-tier application is a program which is organized into three major disjunctive tiers on layers. Here you can see that how these layers increase the reusability of codes.
Three Tier Architecture in ASP.NET[^]
 
A CP article on the background, advantages and usage of 3-tier architectures in C#.
3-tier architecture in C#[^]
 
Detailed explanation:
3-Tier Architecture in asp.net using c#[^]
  Permalink  
Comments
Member 10654962 at 16-May-14 1:07am
   
how can use 3 tire app in desktop applocation
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

3-tier web application in asp.net[^] but I did recommend to Google out!
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

T think below link will help you implementing 3 tier architecture easily.
http://www.dotnetfunda.com/articles/article71.aspx
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 5

These two applications are written for the intent of teaching and explaining 3 tier architecture. please read the article and see the architecture of projects/solutions and code. I hope you will also benefit from it.
 
YaBlogEngine - A Tiny Blog Engine written in ASP.NET/C#[^]
 
YaMessaging - A simple e-mail like messaging application[^]
 
Let me know if you need further help. I will see what i could do.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 6

This tutorial will help you:
 
3-Tier Architecture in ASP.NET with C# tutorial[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 9

Create a class library - BusinessLogic. Add a reference of it in UI layer project.
Create a class library - DataAccess. Add a reference of it in BL layer project.
 
Now, from your UI, use the object model and pass on to BusinessLogic project class. This class is a Business logic class. Do the changes as per your need here.
Now, pass on the changed data from business logic class to dataAccess project class. In this class, use ADO.NET and pass on the needed values to Stored Procedure.
 
For getting back data, it will be transferred from DA to BL and then BL to UI layer.
Have a look at these, explaination with samples:
3-tier architecture in C#[^]
3-Tier Architecture Examples[^]
3-Tier Architecture in ASP.NET with C#[^]
 
More sample links provided in this answer: Beginner Projects for Visual C# with VS/SQL 2005[^]
  Permalink  
Comments
Jibesh at 16-Feb-13 3:38am
   
hummm... too early to answer this question ;)
Sandeep Mewara at 16-Feb-13 3:53am
   
It popped out last night, probably someone posted a spam answer. So I used to reply it back (strange thing, it showed 0 answers last night!). Post reply, noticed the date.
 
:doh:
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 12

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 11

Hello,
3 Tier Architecture is consisting of 3 essential components
 
1. Presentation layer
2. Business Logic Layer
3. Data Access layer
 
Above 3 layers should work seamlessly, above all 3 layers are inter connected.
 
When are we going to design then it should connect with each other and finally 3 component (DLLs) are generated in "Bin" folder.
 
I am providing you 2 precious link who provides guidelines step by step as following:
 
1. 3 Tier Architecture in asp.net
2. 3 Tier Architecture
 
Hope it will help you!!!
 
regards,
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 13

Hi,
 
To implement 3 tier architecture in asp.net i have found a very useful and easy to understand step by step article. Kindly check this may be helpful for you.
 
http://www.onlinebuff.com/article_step-by-step-3-tier-architecture-in-aspnet-using-c-example_45.html
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 495
1 Maciej Los 340
2 Richard MacCutchan 265
3 BillWoodruff 225
4 Mathew Soji 200
0 OriginalGriff 8,804
1 Sergey Alexandrovich Kryukov 7,457
2 DamithSL 5,689
3 Maciej Los 5,279
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web04 | 2.8.1411028.1 | Last Updated 5 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100