This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
An abstract base Http Handler for all your IHttpHandler needs.

Namespace: Smartsite.Web
Assembly:  Smartsite.Web (in Smartsite.Web.dll)

Syntax

C#Copy imageCopy Code
public abstract class BaseHttpHandler : 
Visual Basic (Declaration)Copy imageCopy Code
Public MustInherit Class BaseHttpHandler _
	Implements 

Remarks

For the most part, classes that inherit from this class do not need to override ProcessRequest(HttpContext). Instead implement the abstract methods and properties and put the main business logic in the HandleRequest(HttpContext).

HandleRequest should respond with a StatusCode of 200 if everything goes well, otherwise use one of the various "Respond" methods to generate an appropriate response code. Or use the HttpStatusCode enumeration if none of these apply.

Inheritance Hierarchy

See Also

Advanced