Content Injection with Response Rewriting in ASP.NET Core

added by DotNetKicks
4/2/2020 12:48:15 PM

300 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