RunExtensions.Run(IApplicationBuilder, RequestDelegate) RunExtensions.Run(IApplicationBuilder, RequestDelegate) RunExtensions.Run(IApplicationBuilder, RequestDelegate) Method

Definition

Adds a terminal middleware delegate to the application's request pipeline.

public static void Run (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.RequestDelegate handler);
static member Run : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Http.RequestDelegate -> unit
<Extension()>
Public Sub Run (app As IApplicationBuilder, handler As RequestDelegate)

Parameters

handler
RequestDelegate RequestDelegate RequestDelegate

A delegate that handles the request.

Applies to