Assembly: System.Web (in System.Web.dll)
Thetype exposes the following members.
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHandler||Returns an instance of the IHttpHandler interface to process the requested resource.|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ReleaseHandler||Enables a factory to reuse an existing instance of a handler.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
The class implements the IHttpHandlerFactory interface to provide the default HTTP handler for ASP.NET files. The calls the ASP.NET compilation system to compile, if necessary, and return the exact type corresponding to the URL, and then creates an instance of that type. The page type inherits from the Page class and implements the IHttpHandler interface.
To build a custom page handler factory, implement the IHttpHandlerFactory and register the custom class in the Web.config file for the application in the httpHandlers Element (ASP.NET Settings Schema) configuration section.