RouteCollectionExtensions Class

Provides extension methods for registering OWIN applications as System.Web routes.

Inheritance Hierarchy

System.Object
  System.Web.Routing.RouteCollectionExtensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class RouteCollectionExtensions
'Usage
public static class RouteCollectionExtensions
[ExtensionAttribute]
public ref class RouteCollectionExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type RouteCollectionExtensions =  class end
public final class RouteCollectionExtensions

Methods

  Name Description
Public methodStatic member MapOwinPath(RouteCollection, String) Registers a route for the default OWIN application.
Public methodStatic member 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.
Public methodStatic member MapOwinPath(RouteCollection, String, String) Registers a route for the default OWIN application.
Public methodStatic member 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.
Public methodStatic member MapOwinPath<TApp>(RouteCollection, String, TApp) Registers a route for a specific OWIN application entry point.
Public methodStatic member MapOwinPath<TApp>(RouteCollection, String, String, TApp) Registers a route for a specific OWIN application entry point.
Public methodStatic member MapOwinRoute(RouteCollection, String, Action<IAppBuilder>) Provides a way to define routes for an OWIN pipeline.
Public methodStatic member MapOwinRoute(RouteCollection, String, String, Action<IAppBuilder>) Provides a way to define routes for an OWIN pipeline.
Public methodStatic member MapOwinRoute(RouteCollection, String, RouteValueDictionary, Action<IAppBuilder>) Provides a way to define routes for an OWIN pipeline.
Public methodStatic member MapOwinRoute(RouteCollection, String, String, RouteValueDictionary, Action<IAppBuilder>) Provides a way to define routes for an OWIN pipeline.
Public methodStatic member MapOwinRoute(RouteCollection, String, RouteValueDictionary, RouteValueDictionary, Action<IAppBuilder>) Provides a way to define routes for an OWIN pipeline.
Public methodStatic member MapOwinRoute(RouteCollection, String, String, RouteValueDictionary, RouteValueDictionary, Action<IAppBuilder>) Provides a way to define routes for an OWIN pipeline.
Public methodStatic member MapOwinRoute(RouteCollection, String, RouteValueDictionary, RouteValueDictionary, RouteValueDictionary, Action<IAppBuilder>) Provides a way to define routes for an OWIN pipeline.
Public methodStatic member MapOwinRoute(RouteCollection, String, String, RouteValueDictionary, RouteValueDictionary, RouteValueDictionary, Action<IAppBuilder>) Provides a way to define routes for an OWIN pipeline.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Routing Namespace