Hi Guys,
Happy New Year to all of you.
3-Tier architecture is very old and famous architecture in programming field. As we know, it contains 3 layers:
(i) Presentaion Layer: Contains .aspx and .ascx files (Don't use DataSet, DataTable or DataReader in Presentation Layer)
(ii) Business Layer: Contains Business classes (Write all business logic here instead of presentation layer)
(iii) Data Layer: Contains Data related classes and logic (All Database operations)
I have created 3-Tier demo application using Generic and some of .NET 3.5 features. You can download source code of demo application from following link:
Steps:
(i) Open solution in VS2008 as I have developed it using VS2008.
(ii) There is one SQL Script file under App_Data folder. Execute that script file which creates database and its objects.
(iii) See the flow of architecture, please don't do any testing as I have not done unit testing of application.
(iv) I have not used many oops concepts to make demo as simple as possible.
Thursday, January 8, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment