MapMiddleware Class

Used to create path based branches in your application pipeline.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.OwinMiddleware
    Microsoft.Owin.Mapping.MapMiddleware

Namespace:  Microsoft.Owin.Mapping
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

'Declaration
Public Class MapMiddleware _
    Inherits OwinMiddleware
'Usage
Dim instance As MapMiddleware
public class MapMiddleware : OwinMiddleware
public ref class MapMiddleware : public OwinMiddleware
type MapMiddleware =  
    class 
        inherit OwinMiddleware 
    end
public class MapMiddleware extends OwinMiddleware

The MapMiddleware type exposes the following members.

Constructors

  Name Description
Public method MapMiddleware

Top

Properties

  Name Description
Protected property Next Advances to the next OwinMiddleware instance. (Inherited from OwinMiddleware.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Invoke Process individual request. (Overrides OwinMiddleware.Invoke(IOwinContext).)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

The owin.RequestPathBase is not included in the evaluation, only owin.RequestPath. Matching paths have the matching piece removed from owin.RequestPath and added to the owin.RequestPathBase.

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

Microsoft.Owin.Mapping Namespace