Last post Dec 13, 2013 07:40 AM by samundersingh
May 04, 2011 01:34 PM|bhaskarpraveen|LINK
Can any one clearly explain the difference between 3-tier and 3 layered architecture in asp.net. i got some idea over it and want to know in detail.
thanks in advance,
May 04, 2011 01:35 PMemail@example.com|LINK
No difference, they're the same thing.
May 04, 2011 01:45 PM|bhaskarpraveen|LINK
R u sure, because i saw in the below link that
"Tier indicates a physical separation of components, which may mean different assemblies such as DLL, EXE, etc. on the same server or multiple servers."
" Layer indicates logical separation of components, such as having distinct namespaces and classes for the Database Access Layer, Business Logic Layer and User Interface Layer."
check this link:
May 04, 2011 01:48 PM|jerryjoseph|LINK
I believe there is a difference.
A tier is a physical seperation more like a unit of deployment.
A layer is a logical seperation need not be different units of deployment.
May 04, 2011 01:57 PM|perper|LINK
A Tier is a unit of deployment, while a Layer is a logical separation of responsibility within code
Check this articles for more info
hope this helps
May 05, 2011 05:45 AM|bhaskarpraveen|LINK
Can you guys make it clear by giving small senario as example?
May 05, 2011 06:23 AM|SukeshMarla|LINK
Layer means - Logically Separating things that means we make classes and functions so that our system become scalabale and manageable.
Even some time we make separate classLibrary applications for each layer.
In Tierss We distribute Each Layer in a separate server.
For More Details go through this link
May 05, 2011 06:38 AM|amitpatel.it|LINK
I believe below are the difference.
1. N-Tyre - Phisical Separation of your code execution
exa. in your application execution below are the servers affected
IIS (web Server with web application)
IIS (for Web service - deployed on another server)
This is called as n-tire where all exectution developed in diffenet server.
In Some time your BL and DA also deployed on different server and accessed with com or web service or WCF. So here is the about n-tire
2. n-Layer : Logical Grouping of your code... mean we can devide our code in multiple layer to increase code reusability , maintanibility and scalability.
Like UI, BL, DAL are the n-Layer in same solution with different project....
May 05, 2011 10:25 AM|gumma.narasimharao|LINK
both same only no difference.
May 05, 2011 10:29 AM|gumma.narasimharao|LINK
both are same only .there is no difference betwen 3-tier and 3 layered
if you want more detaile go through below links
May 05, 2011 10:31 AM|SukeshMarla|LINK
May 05, 2011 10:38 AM|frez|LINK
The terms are used interchangeably, although as some posters have pointed out sometimes people make a distinction where one term refers to the logical separation and another term refers to the physical separation. If you are unsure of the context simply
ask for clarification from who you are discussing the concepts with as to whether they mean logical or physical separation or both.
May 05, 2011 10:39 AM|gumma.narasimharao|LINK
Oct 23, 2013 12:37 PM|patidar.shekhar|LINK
Dec 05, 2013 01:40 AM|SheoNarayan|LINK
To not overcomplicate your understanding, here is
3 layer architecture - http://www.dotnetfunda.com/articles/show/71/3-tier-architecture-in-aspnet-with-csharp
In this, the BAL and DAL has been separated in the same project in different folder under App_Code
3 tier architecture - http://www.dotnetfunda.com/articles/show/2708/3-tier-architecture-in-aspnet-a-complete-article
In this, BAL and DAL is a separate project all together that can be exposed via web services or WCF services or APIs
Hope this will clarify all the doubts.
Dec 13, 2013 07:40 AM|samundersingh|LINK
Tires and Layers are two different terms. These terms used to separate different parts of an application into separate connected components. Tires separate Physically while Layers separate Logically.
Good Explanation at this link Tires vs Layers