Last active
May 9, 2022 14:55
-
-
Save AndyButland/0fe08cc3272746bdd1c2e9cd619f1662 to your computer and use it in GitHub Desktop.
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
using Microsoft.AspNetCore.Builder; | |
using Umbraco.Cms.Web.Common.ApplicationBuilder; | |
namespace MyApp | |
{ | |
public class MyPipelineFilter : UmbracoPipelineFilter | |
{ | |
public MyPipelineFilter() : base(nameof(MyPipelineFilter)) | |
{ | |
PostPipeline = app => | |
{ | |
app.UseMyLibrary(); | |
}; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment