Photo Gallery

Tuesday, August 8, 2017

Why ASP.NET Web API ? or Advantages over other web service technology ?

Here, i will explain advantages and uses of web API(Application Programming Interface) in brief.


ASP.NET Web API is built to working with HTTP, and ideal platform for building restful services. It provides action that supports http verbs such as GET, PUT, POST, DELETE etc.

Also, it supports broad range of clients includes Desktop, tablet and phone.

ASP.NET Web API built upon .NET Framework and supports built in features like routing, action methods and many more.

Its clean pattern and sample make relatively easy to learn Web API and if you know MVC pattern then you can learn Web API very quickly.

Cons:

Web API does not support .Net Framework 3.5 or below.
Supports only HTTP protocol.

Does not support WS-* standards like Reliable Messaging and transaction.


There are variety of ways to building an ASP.NET Web API like as a part of MVC app, ASP.NET Web form app, or stand alone services.

Once we developed API, this can be use by any type of client (re: cross platform client) including MVC, WebForm, Desktop, Mobile App or Angular Apps.

We can create Web API using Visual Studio Tool with default template easily and quickly.

If you have any questions, post here. Also, provide your valuable suggestions and thoughts in form of comments in the section below.

Thank you !!!

No comments:

Post a Comment