Top "Owin" questions

Open Web Interface for .NET that describes how components in a HTTP pipeline should communicate.

Unhandled Exception Global Handler for OWIN / Katana?

What is the proper way to implement a global Exception catcher-handler in a Katana (OWIN) implementation? In a self-hosted OWIN/…

c# asp.net-web-api exception-handling owin katana
What is the purpose of the extension method CreatePerOwinContext in OWIN implementation by Microsoft

I am a newbie in ASP.NET, and currently learning ASP.NET Identity. I know it's built on top of …

asp.net owin katana
How to return custom message if Authorize fails in WebAPI

In my WebAPI project, I have number of apis which are decorated with [Authorize] attribute. [Authorize] public HttpResponseMessage GetCustomers() { //my …

c# asp.net-web-api owin authorize-attribute
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
How to fix "IDX20804: Unable to retrieve document from: '[PII is hidden]'" error in C#

Trying to get an access token to use MS Graph in my WebApi. But keep getting this error, [TaskCanceledException: A …

c# owin openid-connect
How to integrate Autofac with WepApi 2 and Owin?

I am using this package to integrate Autofac with my WebApi Owin application: https://www.nuget.org/packages/Autofac.WebApi2.…

c# asp.net-mvc-5 autofac owin asp.net-web-api2
UseOAuthBearerTokens vs UseOAuthBearerAuthentication

In our Startup class, I have configured the following auth server options: OAuthAuthorizationServerOptions OAuthServerOptions = new OAuthAuthorizationServerOptions() { AllowInsecureHttp = true, TokenEndpointPath = new …

asp.net-identity asp.net-web-api2 owin asp.net-identity-2 katana
Web API 2 OWIN Bearer Token purpose of cookie?

I am trying to understand the new OWIN Bearer Token authentication process in the Single Page App template in MVC 5. …

asp.net-mvc-5 owin katana asp.net-web-api2
Convert Web API to use Self Hosting

I am trying to convert an existing ASP.NET Web API project (currently hosted in IIS) into one that can …

c# asp.net iis asp.net-web-api owin
Get ExtraData from MVC5 framework OAuth/OWin identity provider with external auth provider

I'm trying to use the new MVC5 framework in VS 2013 preview. The membership authentication framework has been overhauled and replaced …

asp.net-mvc asp.net-mvc-5 owin visual-studio-2013 asp.net-identity