ttmind

Main Navigation

ttmind
  • jim-jams
  • Tech
  • Positive
Login

Login

Facebook Google

OR

Remember me Forgot password?

Don't have account? Signup here.

Sort by Categorys

.Net

PHP

Java

JavaScript

Database

Server

Client Side

Tools

Artificial Intelligence

Cloud

Hybrid Development

Event

Smart City

Education

Security

Scrum

Digital Marketing

APP Development

Business

Internet

Simulation

Art

Network

Microservices

Architecture

Technology

Leadership

    Top Articles

  • How Does Social Media Bring People Together?
    TTMind Author
  • How to read appSettings JSON from Class Library in ASP.NET Core
    Anil Shrestha
  • Printing Support In Asp.Net Core
    TTMind Author
  • HOW TO EXTRACT TEXT FROM IMAGE USING JAVASCRIPT (OCR with Tesseract.js)?
    Prakash Pokhrel
  • Images Upload REST API using ASP.NET Core
    Prakash Pokhrel
  • Related Topic

  • How to read appSettings JSON from Class Library in ASP.NET Core
  • Printing Support In Asp.Net Core
  • Images Upload REST API using ASP.NET Core
  • How to use IActionFilter, IAsyncActionFilter in ASP.NET Core MVC?
  • ASP.NET CORE - Blazor CRUD operation using ADO.NET
  • Tech
  • About Us
  • Contact Us
  • TechHelp
  • PositiveHelp
  • Jim-Jams Help
  • Terms & Conditions

© Copyright ttmind.com

Main Content

What is Web API and why is it used?

.Net .Net Core about 7 years ago || 8/12/2018 || 776 View

  • Hide

Before understanding what Web API is, let us light our attention to what an API is. Application Programming Interface basically known as API is a set of tools used for building software and apps. Also, it can be termed as a set of functions that allows us to access some of the specific features of an application and operating system.

    Web API in ASP.NET

 Web API in ASP.NET is a web framework used for building HTTP based service which can easily be accessed on various cross-platforms such as mobile, windows etc. It only supports the HTTP protocol.

ASP.NET Web API
Web API

 

    ASP.NET Web API characteristics

1.    It supports ASP.NET request/response pipeline.
2.    Web API supports different formats of response data.
3.    It can be hosted in I2s or other web server supporting .NET 4.0t.

    Importance of Web APIs in ASP.NET Web Application
In ASP.NET, Web API is an easy way of implementing web services. Web API enables development of HTTP services for reaching out client entities like browsers, devices etc. Hence, web APIs are very helpful for easily creating various services that can run on various services that can run on various services that can run on various entities. This makes developers easy to build ASP.NET application compatible with any browsers and devices.
The entire features of HTTP such as URLs, request/respond headers, catching etc. can be easily accessed using web API.

Here I have listed some of the reasons why ASP.NET Web API can be very useful in Web App Development.

I.    Development AJAX-based Web apps:

ASP.NET web API can best choice for development of web applications that rely on AJAX and don’t require extensive configuration settings like WCF REST services.


II.    Backend in Native Mobile Applications

To develop back end in native applications that don’t support SOAP, ASP.NET Web API can serve with a great deal. Thus, web API can be good for native applications that do not support SOAP.


III.    Lightweight and easy creation

In compared with WCF, it is much easier and quicker to create services using Web API in ASP.NET.


Thus, Web APIs can be a very helpful in the field of web application development, especially in the field of ASP.NET web application.
 

  • 0
  • 0
  • 0
    • Facebook
    • Twitter
    • Google +
    • LinkedIn

About author

Aditya Thakuri

Aditya Thakuri

- Passionate Writer - Content creator - Life Enthusiast

Reset Your Password
Enter your email address that you used to register. We'll send you an email with your username and a link to reset your password.

Quick Survey