Skip to content

Instantly share code, notes, and snippets.

@AndyButland
Last active May 9, 2022 14:55
Show Gist options
  • Save AndyButland/0fe08cc3272746bdd1c2e9cd619f1662 to your computer and use it in GitHub Desktop.
Save AndyButland/0fe08cc3272746bdd1c2e9cd619f1662 to your computer and use it in GitHub Desktop.
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