How to use Web API in asp net C#

ASP.NET Web API Tutorials

In thisASP.NET Web APITutorials series, I covered all the features of ASP.NET Web API. You will learn from basic to advance level features of ASP.NET Web API. The term API stands for Application Programming Interface andASP.NET Web API is a framework provided by Microsoft which makes it easy to build Web APIs, i.e. it is used to develop HTTP-basedweb services on the top of .NET Framework.

Today, a web-based application is not enough to reach all its customers or users. Now a day, Peoples become very smart that means they are using iPhone, mobile, tablets, etc. devices in their daily life. These devices are having a lot of useful apps for making their life easy. Actually, in simple words, we can say that we are moving from the web towards the apps world.

So, if we like to expose our service data to the browsers as well as to all these modern device apps in a fast, secure, and simple way, we should have an API that is compatible with all browsers as well as all these modern days devices.

Why We Need ASP.NET Web API?

The ASP.NET Web API is a great framework provided by Microsoft for building HTTP services that can be consumed by a broad range of clients including browsers, mobiles, iPhones, and tablets, etc.Moreover, ASP.NET Web API is an open-source and ideal platform for building REST-full services over the .NET Framework.

These sets of articles are suitable for beginners as well as experienced ASP.NET Web API developers who want to learn ASP.NET Web API from scratch with real-time examples.

The articles start from the very basics of ASP.NET Web API and cover advanced concepts as we progress.If you are confident with the concepts that are going to discuss here, I am sure, you will be in a much better position to answer most of the interview questions as well as you can develop anyreal-time applications using ASP.NET Web API.

What is ASP.NET Web API?

The ASP.NET Web APIis a framework, provided by Microsoft, which makes it easy to buildWeb APIs, i.e.HTTPbased services. TheASP.NET Web API is an ideal platform for building Restful services on top of the .NET Framework. These Web API services can be consumed by a variety of clients such as

  1. Browsers
  2. Mobile applications
  3. Desktop applications
  4. IOTs, etc.
What you will learn from these Web API Tutorials?

In this ASP.NET Web API Tutorials article serious, you are going to learn ASP.NET Web API Framework from basics to advance level concepts such as Routing, CORS, HMAC, Security, Token-Based Authentication, API Versioning, etc. I hope this article series will help you with your need. I would like to have your feedback. Please post your feedback, question, or comments about this article series.

Prerequisites:

To gain the advantage of these ASP.NET Web API Tutorials, basic knowledge of .Net Framework 3.5/4.5, C#, SQL Server, and Visual Studio is required. If you have some knowledge of Restful services then it will be an added advantage for you. If you dont then dont worry we will explain each concept in detail.

Note: If we missed any concept of ASP.NET Web API, then please let us know by giving a comment in the comment box and we promise as soon as possible we will make an article and published it in this course.

0%

Course Information

Course Instructor

Dot Net Tutorials Author

ASP.NET WEB API Basics

1 of 17 FREE
Introduction to ASP.NET Web API
2 of 17 FREE
Creating ASP.NET Web API Application
3 of 17 FREE
How to add Swagger in Web API
4 of 17 FREE
How to use Fiddler to test Web API
5 of 17 FREE
How to use POSTMAN to test Web API
6 of 17 FREE
ASP.NET Web API using SQL Server
7 of 17 FREE
Content Negotiation in Web API
8 of 17 FREE
Media Type Formatter in Web API
9 of 17 FREE
How to Implement GET Method in Web API
10 of 17 FREE
How to Implement POST Method in Web API
11 of 17 FREE
How to Implement PUT Method in Web API
12 of 17 FREE
How to Implement DELETE Method in Web API
13 of 17 FREE
Custom Method Names in Web API
14 of 17 FREE
Parameter Binding in Web API
15 of 17 FREE
Consuming Web API Service From jQuery
16 of 17 FREE
Calling Web API Service in a Cross Domain Using jQuery AJAX
17 of 17 FREE
Cross-Origin Resource Sharing in WEB API

WEB API Routing and Attribute Routing

1 of 8 FREE
ASP.NET Web API Routing
2 of 8 FREE
Routing Variations in WEB API
3 of 8 FREE
Routing and Action Selection in Web API
4 of 8 FREE
ASP.NET Web API Attribute Routing
5 of 8 FREE
Optional Parameters in Web API Attribute Routing
6 of 8 FREE
Route Prefix in Web API
7 of 8 FREE
Web API Attribute Routing Route Constraints
8 of 8 FREE
Route Names and Route Orders in Attribute Routing

ASP.NET WEB API Security

1 of 12 FREE
Authentication and Authorization in Web API
2 of 12 FREE
ASP.NET Web API Basic Authentication
3 of 12 FREE
Role-Based Basic Authentication in Web API
4 of 12 FREE
Web API Service with Basic Authentication
5 of 12 FREE
HTTP Message Handlers in WEB API
6 of 12 FREE
Basic Authentication Using Message Handler in Web API
7 of 12 FREE
HTTP Client Message Handler in Web API
8 of 12 FREE
Token Based Authentication in Web API
9 of 12 FREE
Client Validation Using Basic Authentication in Web API
10 of 12 FREE
Refresh Token in Web API
11 of 12 FREE
Consume Refresh Token in C# Client
12 of 12 FREE
HMAC Authentication in Web API

Web API Versioning

1 of 5 FREE
Web API Versioning Using URI
2 of 5 FREE
Web API Versioning using Query string Parameter
3 of 5 FREE
Web API Versioning Using Custom Header
4 of 5 FREE
Web API Versioning Using Accept Header
5 of 5 FREE
Web API Versioning Using Custom Media Types

Advanced Concepts

1 of 2 FREE
Enable SSL in Visual Studio Development Server
2 of 2 FREE
Enable HTTPS in Web API
1 of 1 FREE
Most Recommended ASP.NET Web API Books