Top "Owin-middleware" questions

OWIN Middleware in the IIS integrated pipeline

How and when does Configuration method in OwinStartup class is called/executed?

Before I ask my question I have already gone through the following posts: Can't get the OWIN Startup class to …

c# asp.net-mvc-4 owin owin-middleware
Global exception handling in OWIN middleware

I'm trying to create a unified error handling/reporting in ASP.NET Web API 2.1 Project built on top of OWIN …

asp.net-web-api asp.net-web-api2 owin katana owin-middleware
Rewind request body stream

I am re-implementing a request logger as Owin Middleware which logs the request url and body of all incoming requests. …

asp.net .net asp.net-web-api owin owin-middleware
How can I safely intercept the Response stream in a custom Owin Middleware

I'm trying to write a simple OWIN Middleware, in order to intercept the response stream. What I'm trying to do …

c# stream owin katana owin-middleware
Should I use OwinContext's Environment to hold application specific data per request

I need a way to store a logging object per request. With HttpContext I would add this to the items …

c# asp.net unity-container owin owin-middleware
ASP.NET Core middleware or OWIN middleware?

As I understand it, ASP.NET Core has support for OWIN middleware (via app.UseOwin()) in addition to its own …

asp.net-core owin-middleware
How to use OWIN middleware to rewrite versioned url for request to static file?

e.g. I have a file located on the server at /Content/static/home.html. I want to be able …

c# owin owin-middleware
ASP.NET with OpenIdAuthentication: redirect to url if not authorized

I am attempting to write an ASP.NET application that uses a hybrid authentication scheme. A user can either have …

asp.net asp.net-identity azure-active-directory openid-connect owin-middleware
Change OWIN Request.Body in middleware

I want to implement custom encryption middleware for API calls. At first, I read request body (IOwinContext.Request.Body) and …

c# asp.net-web-api2 owin owin-middleware