6.3. ASP.NET applications
The ASP.NET application is the collection of all files, pages, handlers, modules, and code within the scope of the virtual directory and its subdirectories on a single web server. In this section, we will look at the main classes that comprise the ASP.NET application – the HTTPApplication, HTTPContext, HTTPRequest, HTTPResponse, and HTTPServerUtility classes. We will start with the HTTPApplication class, which defines the basic attributes of the ASP.NET application.
HTTPApplication class
The HTTPApplication class is the direct descendant of the Object class. It implements four interfaces – IHttpAsyncHandler, IHttpHandler, IComponent, and IDisposable.
The IHttpAsyncHandler interface declares two methods that should ...
Get A Programmer's Guide to .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.