At the top of the diagram, you see the Web Site, the presentation layer of this application.
Although the ASPX page only needs 11 lines of code, a lot of other code is executed under the hood.The following figure shows the four main components of the application: .They don't have any behavior, and can therefore be considered as "dumb" objects. - I have written a new series on N-Layer design as a major follow up to this one. Part one dealt with the design of the application: what business objects do you need to fulfill the requirements of the application. The target audience for this series are developers that are ready to make the switch from using controls with custom business objects. NET 2 and C# is necessary while some knowledge about object oriented design certainly helps.If you haven't read part one or two yet, you should really read them first, as this article uses many concepts that have been explained in part one and two.The entire series (including this current article) can be found here: The article uses a SQL Server 2005 Express database which is easy to use in development scenarios.Besides the forementioned SQL scripts and database, the download also contains the full source for the demo application in C#.Before we dig into the code for the web site, let's briefly recap the application's design I showed you in the two previous articles.Refer to this article about configuring SQL Server 2000 or 2005 if you need more information about using this second connection string.The controls in the site will return to their default layout.