In this post, I will explain you how can you integrate famous .NET logging library (Log4Net) in your ASP.NET project. Though, particularly in this post I am using an ASP.NET Web API project, but the…
As Web API (Rest API) is stateless, so there should be some mechanism by which a server can identify the user in every request. So to enable a user's identity to a web-server, we pass some data in…
Implementing Token Based Authentication in Web API 2 using OWIN. Today, we are going to talk about how can we secure our Web API. So we will learn how can we secure our Web APIs by implementing Token Based authentication and authorization in them.…
What is WEB API?WEB API is a framework developed by Microsoft to build REST APIs. Building REST APIs using WEB API is very easy. Response provided by WEB API or a REST API can be in two formats - XML…