Content Injection with Response Rewriting in ASP.NET Core 3.x

added by DotNetKicks
4/15/2020 3:11:52 PM

253 Views

If you're creating middleware components you might need at some point to inject content in the existing HTTP output stream in ASP.NET Core. In this post I discuss how to intercept Response output by using a customized stream, modify the data and update the final output generated, effectively providing response filtering.


0 comments