Table of Contents

Class PipelineExtensions

Namespace
ReferenceApplication.Web.Extensions
Assembly
ReferenceApplication.Web.dll

Provides extension methods to configure the application's middleware pipeline with a predefined, order-sensitive sequence suitable for this template.

public static class PipelineExtensions
Inheritance
PipelineExtensions
Inherited Members

Methods

UseApplicationPipeline(WebApplication)

Configures the middleware pipeline for the specified WebApplication. The ordering includes forwarded headers, request logging, exception handling, security headers, HTTPS redirection, static files, routing, rate limiting, and (optionally) authentication/authorization and endpoint mapping.

public static WebApplication UseApplicationPipeline(this WebApplication app)

Parameters

app WebApplication

The WebApplication to configure.

Returns

WebApplication

The same WebApplication instance for chaining.