-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PreRouting and PostRouting pipeline filters (#14503)
- Loading branch information
1 parent
a49a985
commit 57852f5
Showing
4 changed files
with
154 additions
and
28 deletions.
There are no files selected for viewing
29 changes: 23 additions & 6 deletions
29
src/Umbraco.Web.Common/ApplicationBuilder/IUmbracoApplicationBuilderContext.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,47 @@ | ||
namespace Umbraco.Cms.Web.Common.ApplicationBuilder; | ||
|
||
/// <summary> | ||
/// The context object used during | ||
/// The context object used when building the Umbraco application. | ||
/// </summary> | ||
/// <seealso cref="Umbraco.Cms.Web.Common.ApplicationBuilder.IUmbracoApplicationBuilderServices" /> | ||
public interface IUmbracoApplicationBuilderContext : IUmbracoApplicationBuilderServices | ||
{ | ||
/// <summary> | ||
/// Called to include the core umbraco middleware. | ||
/// Called to include the core Umbraco middlewares. | ||
/// </summary> | ||
void UseUmbracoCoreMiddleware(); | ||
|
||
/// <summary> | ||
/// Manually runs the <see cref="IUmbracoPipelineFilter" /> pre pipeline filters | ||
/// Manually runs the <see cref="IUmbracoPipelineFilter" /> pre pipeline filters. | ||
/// </summary> | ||
void RunPrePipeline(); | ||
|
||
/// <summary> | ||
/// Manually runs the <see cref="IUmbracoPipelineFilter " /> post pipeline filters | ||
/// Manually runs the <see cref="IUmbracoPipelineFilter" /> pre routing filters. | ||
/// </summary> | ||
void RunPreRouting() | ||
{ | ||
// TODO: Remove default implementation in Umbraco 13 | ||
} | ||
|
||
/// <summary> | ||
/// Manually runs the <see cref="IUmbracoPipelineFilter" /> post routing filters. | ||
/// </summary> | ||
void RunPostRouting() | ||
{ | ||
// TODO: Remove default implementation in Umbraco 13 | ||
} | ||
|
||
/// <summary> | ||
/// Manually runs the <see cref="IUmbracoPipelineFilter" /> post pipeline filters. | ||
/// </summary> | ||
void RunPostPipeline(); | ||
|
||
/// <summary> | ||
/// Called to include all of the default umbraco required middleware. | ||
/// Called to include all of the default Umbraco required middleware. | ||
/// </summary> | ||
/// <remarks> | ||
/// If using this method, there is no need to use <see cref="UseUmbracoCoreMiddleware" /> | ||
/// If using this method, there is no need to use <see cref="UseUmbracoCoreMiddleware" />. | ||
/// </remarks> | ||
void RegisterDefaultRequiredMiddleware(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters