first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

MCAD/MCSD Notes: Chapter 3, Lesson 2; Namespaces in a Web Application

Lesson 2: Namespaces in a Web Application

The purpose of this lesson is to introduce key namespaces used to build ASP.NET applications. All of these namespaces are items under the System.Web namespace.

The namespaces: System.Web, System.Web.SessionState, System.Web.Services, System.Web.UI, System.Web.UI.WebControls, System.Web.UI.HtmlControls, System.Web.Caching, System.Web.Mail, System.Web.Security.

When building a Web application, you will certainly derive from the System.Web.HttpApplication class (to obtain the Web Application object) and the System.Web.UI.Page class (to obtain the Web Form objects).

Selected Web Application members: Application, Context, Modules, Request, Response, Server, Session, User.

Selected Page members: Application, Cache, Controls, Request, Response, Server, Session, Trace.

Selected Request members: Browser, ClientCertificates, Cookies, Files, InputStream.

Selected Response members: Cache, Cookies, Output.

It may help to mention the System.Web.HttpContext class here because, like the Page object, it exposes the Request and Response objects. This allows "business logic" behind ASP.NET Web pages to handle Response and Request objects without referencing the System.Web.UI namespace of the Page object.

mod date: 2005-01-13T02:52:39.000Z