Home > Articles > Programming > Windows Programming

  • Print
  • + Share This
This chapter is from the book

Class Reference

This section provides a quick interface reference to the key objects described in this chapter. Space constraints prevent us from documenting every object in the .NET framework in this book, so for the sake of brevity and conciseness, we include only the most important objects here. For more information on the other objects in the .NET framework, consult the .NET Framework Reference online help file.

HttpApplication

Member of System.Web

Assembly: System.Web.dll

Represents the top-level class or root object for ASP.NET. Almost everything to do with processing a request in ASP.NET hangs off of this class. This class is responsible for raising events during request processing.

Properties

Application
Context
Modules
Request
Response
Server
Session
Site
User

Methods

AddOnAcquireRequest
  StateAsync
AddOnAuthenticateRequest
Async
AddOnAuthorizeRequest
Async
AddOnBeginRequestAsync
AddOnEndRequestAsync
AddOnPostRequestHandler
  ExecuteAsync
AddOnPreRequestHandler
ExecuteAsync
AddOnReleaseRequest
StateAsync
AddOnResolveRequest
CacheAsync
AddOnUpdateRequest
CacheAsync
CompleteRequest
Dispose
Equals
GetHashCode
GetType
GetVaryByCustomString
Init
ToString

Events

AcquireRequestState
AuthenticateRequest
AuthorizeRequest
BeginRequest
EndRequest
PostRequestHandlerExecute
PreRequestHandlerExecute
PreSendRequestContent
PreSendRequestHeaders
ReleaseRequestState
ResolveRequestCache
UpdateRequestCache

IHttpModule

Member of System.Web

Assembly: System.Web.dll

This is the abstract class that all HttpModules must inherit from for ASP.NET to properly load them.

Methods

Init Dispose

EventLog

Member of System.Diagnostics

Assembly: System.dll

This class provides everything needed to interact with the event logs.

Static Methods

CreateEventSource
Delete
DeleteEventSource
Exists
GetEventLogs
LogNameFromSourceName
SourceExists
WriteEntry

 

Properties

Container
EnableRaisingEvents
Entries
Log
LogDisplayName
MachineName
Site
Source
SynchronizingObject

Methods

BeginInit
Clear
Close
CreateObjRef
Dispose
EndInit
Equals
GetHashCode
GetLifetimeService
GetType
InitializeLifetimeService
ToString
WriteEntry

 

 

Events

Disposed
EntryWritten

 


SmtpMail

Member of System.Web.Mail

Assembly: System.Web.dll

This class is a wrapper for CDONTS, the simple SMTP server that is optionally installed with Windows 2000 and Windows XP.

Static Properties

SmtpServer

Static Methods

Send

IHttpHandler

Member of System.Web

Assembly: System.Web.dll

This is the abstract class that all HttpHandlers must implement.

Properties

IsReusable

Methods

ProcessRequest

  • + Share This
  • 🔖 Save To Your Account