Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Can you please explain about 3 tier Architecture
Posted
Comments
Sergey Alexandrovich Kryukov 15-Jul-12 16:43pm    
Explain what?
--SA

Would it really help? I don't think so because you would have got your answer already from Google/Internet if you would have tried to look for. There are very good article/explanations available out there.
What's new/different do you expect by asking this question here?
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 15-Jul-12 16:44pm    
You are right, it's a pointless question. My 5.
--SA
Manas Bhardwaj 16-Jul-12 5:54am    
thx!
Prasad_Kulkarni 16-Jul-12 5:13am    
My 5!
Manas Bhardwaj 16-Jul-12 5:54am    
thx!
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#[^]

3-Tier Architecture in asp.net using c#[^]
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900