RouteCollectionExtensions::MapOwinPath Method

 

Registers a route for the default OWIN application.

Namespace:   System.Web.Routing
Assembly:  Microsoft.Owin.Host.SystemWeb (in Microsoft.Owin.Host.SystemWeb.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticMapOwinPath(RouteCollection^, String^)

Registers a route for the default OWIN application.

System_CAPS_pubmethodSystem_CAPS_staticMapOwinPath(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.

System_CAPS_pubmethodSystem_CAPS_staticMapOwinPath(RouteCollection^, String^, String^)

Registers a route for the default OWIN application.

System_CAPS_pubmethodSystem_CAPS_staticMapOwinPath(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.

System_CAPS_pubmethodSystem_CAPS_staticMapOwinPath<TApp>(RouteCollection^, String^, TApp)

Registers a route for a specific OWIN application entry point.

System_CAPS_pubmethodSystem_CAPS_staticMapOwinPath<TApp>(RouteCollection^, String^, String^, TApp)

Registers a route for a specific OWIN application entry point.

Return to top

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.

Return Value

Type: System.Web.Routing::RouteBase^

The created route.

Return to top

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.

Return Value

Type: System.Web.Routing::RouteBase^

The created route.

Return to top

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.

Return Value

Type: System.Web.Routing::RouteBase^

The created route.

Return to top

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.

Return Value

Type: System.Web.Routing::RouteBase^

The created route.

Return to top

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.

Return Value

Type: System.Web.Routing::RouteBase^

The created route.

Type Parameters

TApp

The OWIN application entry point type.

Return to top

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.

Return Value

Type: System.Web.Routing::RouteBase^

The created route.

Type Parameters

TApp

The OWIN application entry point type.

Return to top
Show: