Passing data through the ASP.NET Core pipeline

added by DotNetKicks
3/28/2017 12:37:57 PM

2 Kicks, 187 Views

In Stactive, I have to be able to create statistical events during request processing and be able to save these events, when I get the control back to my middleware. Fortunately, ASP.NET Core has an easy way of passing data between middlewares in the pipeline. Let's see how it's done!