RouteCollectionExtensions.MapOwinPath Method
Registers a route for the default OWIN application.
Assembly: Microsoft.Owin.Host.SystemWeb (in Microsoft.Owin.Host.SystemWeb.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | MapOwinPath(RouteCollection, String) | Registers a route for the default OWIN application. |
![]() ![]() | MapOwinPath(RouteCollection, String, Action(Of IAppBuilder)) | Invokes the System.Action startup delegate to build the OWIN application and then registers a route for it on the given path. |
![]() ![]() | MapOwinPath(RouteCollection, String, String) | Registers a route for the default OWIN application. |
![]() ![]() | MapOwinPath(RouteCollection, String, String, Action(Of IAppBuilder)) | Invokes the System.Action startup delegate to build the OWIN application and then registers a route for it on the given path. |
![]() ![]() | MapOwinPath(Of TApp)(RouteCollection, String, TApp) | Registers a route for a specific OWIN application entry point. |
![]() ![]() | MapOwinPath(Of TApp)(RouteCollection, String, String, TApp) | Registers a route for a specific OWIN application entry point. |
RouteCollectionExtensions.MapOwinPath Method (RouteCollection, String)
Registers a route for the default OWIN application.
<ExtensionAttribute> Public Shared Function MapOwinPath ( routes As RouteCollection, pathBase As String ) As RouteBase
Parameters
- routes
-
Type:
System.Web.Routing.RouteCollection
The route collection.
- pathBase
-
Type:
System.String
The route path to map to the default OWIN application.
RouteCollectionExtensions.MapOwinPath Method (RouteCollection, String, Action(Of IAppBuilder))
Invokes the System.Action startup delegate to build the OWIN application and then registers a route for it on the given path.
<ExtensionAttribute> Public Shared Function MapOwinPath ( routes As RouteCollection, pathBase As String, startup As Action(Of IAppBuilder) ) As RouteBase
Parameters
- routes
-
Type:
System.Web.Routing.RouteCollection
The route collection.
- pathBase
-
Type:
System.String
The route path to map to the given OWIN application.
- startup
-
Type:
System.Action(Of IAppBuilder)
A System.Action delegate invoked to build the OWIN application.
RouteCollectionExtensions.MapOwinPath Method (RouteCollection, String, String)
Registers a route for the default OWIN application.
<ExtensionAttribute> Public Shared Function MapOwinPath ( routes As RouteCollection, name As String, pathBase As String ) As RouteBase
Parameters
- routes
-
Type:
System.Web.Routing.RouteCollection
The route collection.
- name
-
Type:
System.String
The given name of the route.
- pathBase
-
Type:
System.String
The route path to map to the default OWIN application.
RouteCollectionExtensions.MapOwinPath Method (RouteCollection, String, String, Action(Of IAppBuilder))
Invokes the System.Action startup delegate to build the OWIN application and then registers a route for it on the given path.
<ExtensionAttribute> Public Shared Function MapOwinPath ( routes As RouteCollection, name As String, pathBase As String, startup As Action(Of IAppBuilder) ) As RouteBase
Parameters
- routes
-
Type:
System.Web.Routing.RouteCollection
The route collection.
- name
-
Type:
System.String
The given name of the route.
- pathBase
-
Type:
System.String
The route path to map to the given OWIN application.
- startup
-
Type:
System.Action(Of IAppBuilder)
A System.Action delegate invoked to build the OWIN application.
RouteCollectionExtensions.MapOwinPath(Of TApp) Method (RouteCollection, String, TApp)
Registers a route for a specific OWIN application entry point.
<ExtensionAttribute> Public Shared Function MapOwinPath(Of TApp) ( routes As RouteCollection, pathBase As String, app As TApp ) As RouteBase
Parameters
- routes
-
Type:
System.Web.Routing.RouteCollection
The route collection.
- pathBase
-
Type:
System.String
The route path to map to the given OWIN application.
- app
-
Type:
TApp
The OWIN application entry point.
Type Parameters
- TApp
The OWIN application entry point type.
RouteCollectionExtensions.MapOwinPath(Of TApp) Method (RouteCollection, String, String, TApp)
Registers a route for a specific OWIN application entry point.
<ExtensionAttribute> Public Shared Function MapOwinPath(Of TApp) ( routes As RouteCollection, name As String, pathBase As String, app As TApp ) As RouteBase
Parameters
- routes
-
Type:
System.Web.Routing.RouteCollection
The route collection.
- name
-
Type:
System.String
The given name of the route.
- pathBase
-
Type:
System.String
The route path to map to the given OWIN application.
- app
-
Type:
TApp
The OWIN application entry point.
Type Parameters
- TApp
The OWIN application entry point type.

