Click here to Skip to main content
15,889,852 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
Hi All,
I have googled for almost 2 days how to create 3-Tier application in asp.net. Every article describes about 3 layered architecture (Presentation, Business & Data Access layers) which developed in same project and runs on single computer. I want to create real 3 tier application which developed as different project & all tiers running on different computers. I thought this is developed using WCF but not 100% sure. Please guide me to link which describes actual 3 tier (NOT 3 LAYERED) architecture or give sample application code.
Thanks in advance.

What I have tried:

I googled for almost 2 days struggling to find proper answer. Every link demonstrate 3 layered architecture & named it as 3 tier architecture.
Posted
Updated 11-Apr-17 2:52am
Comments
[no name] 11-Apr-17 8:50am    
"Every link demonstrate 3 layered architecture & named it as 3 tier architecture", and there is a really good reason for that. What you are describing is called distributed computing not n-tier anything.
Umesh AP 11-Apr-17 9:10am    
It may be called as distributed computing but I know for sure its also called as N-Tier application. As per your opinion, please tell me how to create distributed application in ASP.Net?
[no name] 11-Apr-17 9:15am    
No you don't know any such thing. It is NOT called n-Tier anything. You create however many separate projects you want and have them running on however many different computers you want communicating however you want.
Umesh AP 12-Apr-17 1:26am    
But how to communicate between them, either using WCF or any other means?

1 solution

You can get some idea on layered architecture with below -

Understanding Multilayered Architecture in .NET[^]
 
Share this answer
 
Comments
Umesh AP 11-Apr-17 9:08am    
@vinod : I already know layered architecture. I actually want to implement 3 tier application where all layers are running on different computers. In that case, main concern is how these layers interact? I guess, we have to use WCF but is it correct way & how it is achieved?
[no name] 11-Apr-17 9:23am    
So you can have 3 tiers as -
1. Presentation - your web application on web server
2. business layer - you can implement business library and have it access with services hosted on some other server
3. Data layer - It will be on DB server which your business layer can point to.

Where do you stuck on here?
Umesh AP 12-Apr-17 1:29am    
My main concern here is how these layers communicate to each other? Also business layer is middle layer which communicates to both end layers. I am not getting how this is achieved when all are running on separate physical computers. Please suggest.

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