Interface IUmbracoPipelineFilter
Used to modify the Microsoft.AspNetCore.Builder.IApplicationBuilder pipeline before and after Umbraco registers it's core middlewares.
Namespace: Umbraco.Cms.Web.Common.ApplicationBuilder
Assembly: Umbraco.Web.Common.dll
Syntax
public interface IUmbracoPipelineFilter
Remarks
Mainly used for package developers.
Properties
View SourceName
The name of the filter
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This can be used by developers to see what is registered and if anything should be re-ordered, removed, etc...
Methods
View SourceOnEndpoints(IApplicationBuilder)
Executes after OnPostPipeline(IApplicationBuilder) just before any Umbraco endpoints are declared.
Declaration
void OnEndpoints(IApplicationBuilder app)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Builder.IApplicationBuilder | app |
OnPostPipeline(IApplicationBuilder)
Executes after core Umbraco middlewares are registered and before any Endpoints are declared
Declaration
void OnPostPipeline(IApplicationBuilder app)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Builder.IApplicationBuilder | app |
OnPrePipeline(IApplicationBuilder)
Executes before Umbraco middlewares are registered
Declaration
void OnPrePipeline(IApplicationBuilder app)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Builder.IApplicationBuilder | app |