Use OWIN & Azure AD to Secure Both MVC UX and Web API in The Same Project

Use OWIN & Azure AD to Secure Both MVC UX and Web API in The Same Project

Mixing and matching multiple authentication styles in a single web application has always been difficult with WIF. The new OWIN security components in ASP.NET change that, thanks to the finer grained control they grant over request processing pipelines. One of the most common requests I have been hearing in the last couple of…