UseMiddlewareExtensions UseMiddlewareExtensions UseMiddlewareExtensions Class

Definition

Extension methods for adding typed middleware.

public static class UseMiddlewareExtensions
type UseMiddlewareExtensions = class
Public Module UseMiddlewareExtensions
Inheritance
UseMiddlewareExtensionsUseMiddlewareExtensionsUseMiddlewareExtensions

Methods

UseMiddleware(IApplicationBuilder, Type, Object[]) UseMiddleware(IApplicationBuilder, Type, Object[]) UseMiddleware(IApplicationBuilder, Type, Object[])

Adds a middleware type to the application's request pipeline.

UseMiddleware<TMiddleware>(IApplicationBuilder, Object[]) UseMiddleware<TMiddleware>(IApplicationBuilder, Object[]) UseMiddleware<TMiddleware>(IApplicationBuilder, Object[])

Adds a middleware type to the application's request pipeline.

Applies to