Interface IUmbracoPipelineFilter
- Namespace
- Umbraco.Cms.Web.Common.ApplicationBuilder
- Assembly
- Umbraco.Web.Common.dll
Used to modify the IApplicationBuilder pipeline before and after Umbraco registers its middlewares.
public interface IUmbracoPipelineFilter
Remarks
Mainly used for package developers.
Properties
Name
The name of the filter.
string Name { get; }
Property Value
- string
The name.
Remarks
This can be used by developers to see what is registered and if anything should be re-ordered, removed, etc...
Methods
OnEndpoints(IApplicationBuilder)
Executes after the middlewares are registered and just before any Umbraco endpoints are declared.
void OnEndpoints(IApplicationBuilder app)
Parameters
app
IApplicationBuilderThe application.
OnPostPipeline(IApplicationBuilder)
Executes after core Umbraco middlewares are registered and before any endpoints are declared.
void OnPostPipeline(IApplicationBuilder app)
Parameters
app
IApplicationBuilderThe application.
OnPostRouting(IApplicationBuilder)
Executes after the routing middleware is registered and just before the authentication and authorization middlewares are registered. This can be used to add CORS policies.
void OnPostRouting(IApplicationBuilder app)
Parameters
app
IApplicationBuilderThe application.
OnPrePipeline(IApplicationBuilder)
Executes before any default Umbraco middlewares are registered.
void OnPrePipeline(IApplicationBuilder app)
Parameters
app
IApplicationBuilderThe application.
OnPreRouting(IApplicationBuilder)
Executes after static files middlewares are registered and just before the routing middleware is registered.
void OnPreRouting(IApplicationBuilder app)
Parameters
app
IApplicationBuilderThe application.