Click or drag to resize

IWebPageControllerBuilder Interface

Configures the WebPageController when adding it to the Owin pipeline.

Namespace: GSF.Web.Hosting
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax
public interface IWebPageControllerBuilder

The IWebPageControllerBuilder type exposes the following members.

Methods
 NameDescription
Public methodUseAuthenticationOptions Use the given authentication options for enabling sessions.
Public methodUseCustomRoutes Use the given function to configure custom routes for selecting pages.
Public methodUseDefaultWebPage Use the given page as the default page to display on the default path.
Public methodUseModelT Use the given model as the model to use when rendering Razor templates.
Public methodUseSinglePage Map all routes to the default web page instead of 404 Not Found.
Top
See Also