Basic HTTP authentication in ASP.Net Web API

In this post I am going to show how to implement Basic HTTP authentication in a Web API project by customizing AuthotrizeAttribute. HTTP authentication is a standard protocol and can be easily handled by most popular client and mobile platforms. Basic authentication works as follows: – If a request requires authentication, the server returns 401Read More