October 2010
Intermediate to advanced
1920 pages
73h 55m
English
The ASP.NET pages in your application should contain a minimum amount of code. All your application logic should be pushed into separate components contained in either the Business Logic or Data Access layers.
Your ASP.NET pages should not communicate directly with the Data Access layer. Instead, the pages should call the methods contained in the Business Logic layer.
The Business Logic layer consists of a single component named Product, which is contained in Listing 17.27. (A real-world application might contain dozens or even hundreds of components in its Business Logic layer.)
Listing 17.27. BLL/Product.cs
The Product component contains four public methods named SelectAll(), Update(), Insert(), and ...
Read now
Unlock full access