Using cookie authentication middleware with Web API and 401 response codes

If you want to use cookie authentication middleware with a project that contains both ASP.NET code (WebForms or MVC) and Web API, then in the new Visual Studio 2013 you might notice some odd behavior when your Web API issues an unauthorized (401) HTTP response code. The assumption here is that the Web API code … Continue reading Using cookie authentication middleware with Web API and 401 response codes