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<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<IAppBuilder^>^) | Invokes the System.Action startup delegate to build the OWIN application and then registers a route for it on the given path. |
![]() ![]() | MapOwinPath<TApp>(RouteCollection^, String^, TApp) | Registers a route for a specific OWIN application entry point. |
![]() ![]() | MapOwinPath<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.
public: [ExtensionAttribute] static RouteBase^ MapOwinPath( RouteCollection^ routes, String^ pathBase )
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<IAppBuilder^>^)
Invokes the System.Action startup delegate to build the OWIN application and then registers a route for it on the given path.
public: [ExtensionAttribute] static RouteBase^ MapOwinPath( RouteCollection^ routes, String^ pathBase, Action<IAppBuilder^>^ startup )
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<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.
public: [ExtensionAttribute] static RouteBase^ MapOwinPath( RouteCollection^ routes, String^ name, String^ pathBase )
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<IAppBuilder^>^)
Invokes the System.Action startup delegate to build the OWIN application and then registers a route for it on the given path.
public: [ExtensionAttribute] static RouteBase^ MapOwinPath( RouteCollection^ routes, String^ name, String^ pathBase, Action<IAppBuilder^>^ startup )
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<IAppBuilder^>^
A System.Action delegate invoked to build the OWIN application.
RouteCollectionExtensions::MapOwinPath<TApp> Method (RouteCollection^, String^, TApp)
Registers a route for a specific OWIN application entry point.
public: generic<typename TApp> [ExtensionAttribute] static RouteBase^ MapOwinPath( RouteCollection^ routes, String^ pathBase, TApp app )
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<TApp> Method (RouteCollection^, String^, String^, TApp)
Registers a route for a specific OWIN application entry point.
public: generic<typename TApp> [ExtensionAttribute] static RouteBase^ MapOwinPath( RouteCollection^ routes, String^ name, String^ pathBase, TApp app )
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.

