Themelia Pro A powerful new development platform built on ASP.NET.
Registering ASP.NET HTTP Handlers

In addition to the built in endpoint types, you can create your own custom endpoint by creating an HTTP handler. By doing this, you can handle the request any which way you want.

Note that there are actually three documentation sections that talk about HTTP handlers: this one regarding registering them, handler factories, and parameterized handler creation. Please proceed to these two documents for a more complete understanding of how Themelia Pro works with and extends the concept of ASP.NET HTTP Handlers.

An HTTP handler is an ASP.NET concept and is created by creating a class that implements the System.Web.IHttpHandler interface. They are used in ASP.NET to handle custom requests. Themelia Pro exists the concept in various ways as explained in the three documents on HTTP handlers.

Below is a sample HTTP handler in the Sample.Web assembly:

namespace Sample.Web
    public class AuthenticationHttpHandler : System.Web.IHttpHandler
        //- @IsReusable -//
        public Boolean IsReusable
            get { return true; }
        //- @ProcessRequest -//
        public void ProcessRequest(System.Web.HttpContext context)

To register this as a Themelia Pro endpoint, just place the type name in the "type" attribute of the endpoint:

        <add selector="contains" text="/authenticate/" type="Sample.Web.AuthenticationHttpHandler, Sample.Web" />

Proceed to the sections handler factories and parameterized handler creation for the next part of the discussion.