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(Of 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(Of 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(Of TApp)(RouteCollection, String, TApp)

Registers a route for a specific OWIN application entry point.

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

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

Return Value

Type: System.Web.Routing.RouteBase

The created route.

Return to top

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.

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.

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

Return Value

Type: System.Web.Routing.RouteBase

The created route.

Return to top

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.

Return Value

Type: System.Web.Routing.RouteBase

The created route.

Return to top

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.

Return Value

Type: System.Web.Routing.RouteBase

The created route.

Type Parameters

TApp

The OWIN application entry point type.

Return to top

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.

Return Value

Type: System.Web.Routing.RouteBase

The created route.

Type Parameters

TApp

The OWIN application entry point type.

Return to top
Show: