Class HealthProbeFaviconAwareExtensions
Adds the favicon-aware health probe to an ASP.NET Core request pipeline.
Inherited Members
Namespace: Eigenverft.WebLib.Infrastructure.Hosting.Middleware.HealthProbeFaviconAware
Assembly: Eigenverft.WebLib.Infrastructure.dll
Syntax
public static class HealthProbeFaviconAwareExtensions
Methods
| Edit this page View SourceUseHealthProbeFaviconAware(IApplicationBuilder)
Adds the fixed /health short-circuit and referer-aware favicon suppression middleware.
Declaration
public static IApplicationBuilder UseHealthProbeFaviconAware(this IApplicationBuilder app)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplicationBuilder | app | The application builder. |
Returns
| Type | Description |
|---|---|
| IApplicationBuilder | The same application builder. |
Remarks
Call this early in the pipeline when health requests must bypass later filters or middleware.