UseExtensions UseExtensions UseExtensions Class

Definition

Extension methods for adding middleware.

public static class UseExtensions
type UseExtensions = class
Public Module UseExtensions
Inheritance
UseExtensionsUseExtensionsUseExtensions

Methods

Use(IApplicationBuilder, Func<HttpContext,Func<Task>,Task>) Use(IApplicationBuilder, Func<HttpContext,Func<Task>,Task>) Use(IApplicationBuilder, Func<HttpContext,Func<Task>,Task>)

Adds a middleware delegate defined in-line to the application's request pipeline.

Applies to