WelcomePageExtensions Class¶
IApplicationBuilder extensions for the WelcomePageMiddleware.
- Namespace
Microsoft.AspNetCore.Builder
- Assemblies
- Microsoft.AspNetCore.Diagnostics
Methods¶
-
UseWelcomePage
(Microsoft.AspNetCore.Builder.IApplicationBuilder)¶ Adds the WelcomePageMiddleware to the pipeline.
Return type: Microsoft.AspNetCore.Builder.IApplicationBuilder public static IApplicationBuilder UseWelcomePage(this IApplicationBuilder app)
-
UseWelcomePage
(Microsoft.AspNetCore.Builder.IApplicationBuilder, Microsoft.AspNetCore.Builder.WelcomePageOptions) Adds the WelcomePageMiddleware to the pipeline with the given options.
Return type: Microsoft.AspNetCore.Builder.IApplicationBuilder public static IApplicationBuilder UseWelcomePage(this IApplicationBuilder app, WelcomePageOptions options)
-
UseWelcomePage
(Microsoft.AspNetCore.Builder.IApplicationBuilder, Microsoft.AspNetCore.Http.PathString) Adds the WelcomePageMiddleware to the pipeline with the given path.
Return type: Microsoft.AspNetCore.Builder.IApplicationBuilder public static IApplicationBuilder UseWelcomePage(this IApplicationBuilder app, PathString path)
-
UseWelcomePage
(Microsoft.AspNetCore.Builder.IApplicationBuilder, System.String) Adds the WelcomePageMiddleware to the pipeline with the given path.
Return type: Microsoft.AspNetCore.Builder.IApplicationBuilder public static IApplicationBuilder UseWelcomePage(this IApplicationBuilder app, string path)
-