RunExtensions.Run(IApplicationBuilder, RequestDelegate) Method

Definition

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

public:
[System::Runtime::CompilerServices::Extension]
 static void Run(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Http::RequestDelegate ^ handler);
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

A delegate that handles the request.

Applies to