Basic Authentication in Web API

In this blog, we will see the implementation of basic authentication in Web API. Security is very important aspects while working on the distributed application. While exposing an API we must take care about security. Basic Authentication is a simple authentication mechanism where the client sends requests with an Authorization header with word Basic. In … Read more

Important ASP.Net Web API Interview questions and answers

In this blog, I have collected important ASP.Net Web API interview questions and answers.Whether you are a fresher or have ASP.Net development experience, the ASP.Net Web API interview questions given below will prove to be very beneficial for you. If you are working on Microsoft Technologies, especially the ASP.Net framework, then you must aware of ASP.Net Web … Read more

ASP.Net Web API – Media Type Formatter

This is another series of Web API blog. In the previous blog, we have seen about Web API Security, Routing in Web API. This blog will help you to understand Media Type Formatter in ASP.Net Web API. Earlier I have already written about “How do I get ASP.Net Web API to return JSON” What is … Read more

ASP.Net Web API Security

In the previous blog, I wrote about Routing in Web API.  I have also explained, How to create a secure Web API? in my earlier blog. If you are new to ASP.Net Web API then please start from the beginning level. What is ASP.Net Web API?In this blog, let’s discuss the Web API security in details.Web API … Read more

Routing in ASP.Net Web API

In this blog, we will see about Routing system in ASP.Net Web API. Routing is one of the important section in ASP.Net Web API. What is Routing? Routing is the process which decides which action and which controller should be called. Convention-based Routing Once you create a Web API project in Visual Studio, you will … Read more

What are Idempotent and Non-Idempotent methods?

After reading this article, you will be confident about Idempotent and Non-Idempotent methods?Let’s start by understanding the meaning of Idempotent.Idempotent means  “unchanged in value following multiplication by itself” Idempotent Methods Idempotent HTTP methods are those methods which will not make any modification event after calling multiple times.For eg – If your client makes a DELETE request by … Read more