AppBuilderUseExtensions.Run Method (IAppBuilder, Func<IOwinContext, Task>)


Inserts into the OWIN pipeline a middleware which does not have a next middleware reference.

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


public static void Run(
    this IAppBuilder app,
    Func<IOwinContext, Task> handler
static void Run(
    IAppBuilder^ app,
    Func<IOwinContext^, Task^>^ handler
static member Run : 
        app:IAppBuilder *
        handler:Func<IOwinContext, Task> -> unit
Public Shared Sub Run (
    app As IAppBuilder,
    handler As Func(Of IOwinContext, Task)


  • app
    Type: Owin.IAppBuilder

See Also

AppBuilderUseExtensions Class
Owin Namespace

Return to top