Hello,
What is three tier architecture in c#?
Please explain in detail the meaning of each layer under it,it is best to provide some examples.
Thanks.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SUNIL GUTTAPosted Feb 5, 2014, 3:23 AM
This links is the best you can find :
http://www.codeproject.com/Articles/11128/3-tier-architecture-in-C
and
http://www.aspdotnet-suresh.com/2010/05/introduction-to-3-tier-architecture-in_17.html
Regards
Sunil Gutta
----------------------------Do mark answer , Thank you -----------------------------------
Shweta LodhaPosted Feb 5, 2014, 9:47 AM
below is the original link of image:
https://www.google.co.uk/search?q=three+tier+architecture+in+c%23&espv=210&es_sm=93&tbm=isch&imgil=WkvV1JjFLNs6gM%253A%253Bhttps%253A%252F%252Fencrypted-tbn1.gstatic.com%252Fimages%253Fq%253Dtbn%253AANd9GcRqrRdisOwr7o2dO6WQvNcgb8Qg742xNaRV4BY9ZxnJJLpja8kV%253B524%253B404%253BVoMfYJ-OEHDHHM%253Bhttp%25253A%25252F%25252Fwww.codeproject.com%25252FArticles%25252F667431%25252F3-Tier-Architecture-in-Csharp-Web-Application&source=iu&usg=__GAqgwXi2B31jS_Ht7snHIXr-v0E%3D&sa=X&ei=mE7yUtq1DJGZ0QWqhoHoAg&ved=0CGEQ9QEwBw&biw=1366&bih=667#facrc=_&imgdii=_&imgrc=WkvV1JjFLNs6gM%253A%3BVoMfYJ-OEHDHHM%3Bhttp%253A%252F%252Fwww.codeproject.com%252FKB%252Fwiki-aspnet%252F667431%252F3-tier_architecture3.png%3Bhttp%253A%252F%252Fwww.codeproject.com%252FArticles%252F667431%252F3-Tier-Architecture-in-Csharp-Web-Application%3B524%3B404
Ken HPosted Feb 5, 2014, 3:07 AM
Can you provide some examples?
Thanks.
SUNIL GUTTAPosted Feb 4, 2014, 3:25 PM
But in my view This thing makes life easier & distributed Just like a ATM machine which is a UI (presentation layer) connected to server
Business logic layer :- ATM functionality can be changed just by modifying Logic at one place i.e BL
Finally, the user info stored at centralized location called Database .. So with help of BL you can retrieve the required and particular records .. Data Layer
---------------------------Mark it as useful . Regards Sunil Gutta -------------------------
Shweta LodhaPosted Feb 4, 2014, 2:52 PM
1) UI layer/Presentation layer - this layer will deal with the visual representation of your application. Like creating forms, web pages etc
2) DAL/Data Access Layer - this layer will deal with database related and other data related part. Like CRUD operation
3) Business Layer - this will deal with business entities and will contain validation logic as per requirement.
Jasminder SinghPosted Feb 4, 2014, 11:54 AM
3-tier is basically the physical separation of your system components
There is another concept of layer or say 3 layer, where a layer is logical separation of your components of a system.
For ex : An n-tier application is usually like you web application running at the front end, in a browser, your code hosted in the IIS and database as a separate entity, So these different components basically act as a TIER.
N-layer is like you have a web application with different layers of code in it like BLL, DAL etc. layer. These layers can interact with each other for logical processing and usually they are on the same physical location(or you can say TIER). So BLL, DAL etc. act as the LAYERS.
So the concept of Tiers is not specific to C#. Its the more of type of overall architecture of the system.