Map​Extensions Map​Extensions Class

Definition

Extension methods for the MapMiddleware.
public static class MapExtensionsPublic Module MapExtensions
Inheritance
System.ObjectSystem.Object
MapExtensionsMapExtensions

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Methods

Map(IApplicationBuilder, PathString, Action<IApplicationBuilder>) Map(IApplicationBuilder, PathString, Action(Of IApplicationBuilder))

Branches the request pipeline based on matches of the given request path. If the request path starts with the given path, the branch is executed.
public static IApplicationBuilder Map(this IApplicationBuilder app, PathString pathMatch, Action<IApplicationBuilder> configuration)<ExtensionAttribute>
Public Shared Function Map(app As IApplicationBuilder, pathMatch As PathString, configuration As Action(Of IApplicationBuilder)) As IApplicationBuilder
Parameters
pathMatch
PathString PathString
The request path to match.
configuration
System.Action<IApplicationBuilder> System.Action(Of IApplicationBuilder)
The branch to take for positive path matches.
Returns