Class AppRedirectMiddlewareExtensions
Extension methods for configuring the AppRedirectMiddleware in the middleware pipeline.
Inherited Members
Namespace: DataWeb.Http
Assembly: DataWeb.Core.dll
Syntax
public static class AppRedirectMiddlewareExtensions
Methods
UseAppRedirection(IApplicationBuilder)
Adds the AppRedirectMiddleware to the middleware pipeline to handle application redirects.
Declaration
public static IApplicationBuilder UseAppRedirection(this IApplicationBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IApplicationBuilder | builder | The application builder. |
Returns
Type | Description |
---|---|
IApplicationBuilder | The application builder with the middleware added. |