UseMiddlewareExtensions Class

Definition

Extension methods for adding typed middleware.

public static class UseMiddlewareExtensions
Inheritance
UseMiddlewareExtensions

Methods

UseMiddleware(IApplicationBuilder, Type, Object[])

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

UseMiddleware<TMiddleware>(IApplicationBuilder, Object[])

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