MapExtensions::Map Method (IAppBuilder, String, Action<IAppBuilder>)
If the request path starts with the given pathMatch, execute the app configured via configuration parameter instead of continuing to the next component in the pipeline.
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
[ExtensionAttribute] public: static IAppBuilder^ Map( IAppBuilder^ app, String^ pathMatch, Action<IAppBuilder^>^ configuration )
Parameters
- app
- Type: IAppBuilder
- pathMatch
- Type: System::String
The path to match
- configuration
- Type: System::Action<IAppBuilder>
The branch to take for positive path matches
Return Value
Type: IAppBuilderUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IAppBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.111).aspx or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.111).aspx.
Show: