
448 WebSphere and .NET Coexistence
Example 10-4 Inheritance for SimpleForm
/// <summary>
/// The description for SimpleForm
/// </summary>
public class SimpleForm : System.Web.UI.Page {
SimpleDataGateway contains all of the code needed to use the database.
Figure 10-5 Model-View-Controller roles in ASP.NET
When a browser requests SimpleForm.aspx, the ASP.NET runtime looks at the
@Page information and loads the precompiled assembly with the class specified
in the Inherits attribute. The UI is then displayed and the events denoted by the
code-behind object that the page inherits from are handled as they occur.
A common design flaw in ASP.NET applications ...