This article will demonstrate about how to get data using Dapper and Repository Pattern in Web API and how to use Dependency Injection using Unit of Work in Web API. I will show you how to implement Generic Repository with Custom Repository for CRUD operations.

Token Based Authentication is not very different from other authentication mechanisms but yes, it is more secure, more reliable, and makes your system loosely coupled. It will be a better choice to create REST APIs using token-based authentication if your API has reached a broad range of devices, like mobiles, tablets, and traditional desktops.

In this article, we will learn why we should choose Web API for the service instead of ASP.NET MVC API.

This article will gone through the differences between WCF and Web API and when and why we have to choose on of these.

Asp.Net Web API is a powerful platform for building HTTP enabled service APIs that expose service and data. It can be consumed by a broad range of clients including browsers, mobiles, desktop and tablets. As it is HTTP service, so it can reach a broad range of client.

Asp.Net Web API is very much similar to Asp.Net MVC because of it contain the Asp.Net MVC feature like routing, controllers, action results, filter, model etc. Note Asp.Net Web API is not a part of MVC framework. It is a part of the core Asp.Net. You can use Web API with Asp.Net MVC or any other types of web application. You can also create a stand-alone service using the Web API.

Pages : 1

Latest eBook Download

Category Loading....
Recent Articles
Recent Articles Loading....
Popular Articles
Popular Articles Loading....
Find Me