Web Application Introduction
Web Application Introduction
Applications
Web Applications
• Logical components of
Web Applications
• During ASP.NET processing you have access to all .NET classes, custom
components created in C# or other languages, databases, and so on. In fact,
you have as much power as you would have running a C# application;
11/28/2020 10
The ASP.NET Code Model
The code-behind file generated for you in the PCSWebApp1
Web site for Default.aspx is initially very sparse. First, you
see the default set of namespace references that you are
likely to use in ASP.NET Web pages:
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
11/28/2020 11
ASP.NET Code Model
}
}
Here the Page_Load()event handler can be used to add any code that
is required when the page is loaded.