Image Source - blogs.msdn.microsoft.com
What Is WebAPI?
Asp.Net Web API is a framework for building HTTP services that can be consumed by a broad range of clients including browsers, mobiles, iphone and tablets.
ASP.Net Web API supports RESTful applications and uses GET, PUT, POST, DELETE verbs for client communications.
It is a part of the core ASP.NET platform and can be used with MVC and other types of Web applications like Asp.Net WebForms. It can also be used as an stand-alone Web services application.
For example twitter,facebook and Google API for the web application and phone apps.
Web API is the great framework for exposing your data and service to different-different devices. Moreover Web API is open source an ideal platform for building REST-ful services over the .NET Framework. Unlike WCF Rest service, it use the full featues of HTTP (like URIs, request/response headers, caching, versioning, various content formats) and you don't need to define any extra config settings for different devices unlike WCF Rest service.
Why Web API Becomes First Choice?
It is Used to build simple, non-SOAP-based HTTP Services on top of existing WCF message pipeline.
If we need a Web Service and don’t need SOAP, then ASP.Net Web API is best choice.
It is only based on HTTP and easy to define, expose and consume in a REST-ful way.
It doesn't have tedious and extensive configuration like WCF REST service.
It is light weight architecture and good for devices which have limited bandwidth like smart phones.
Simple service creation with Web API. With WCF REST Services, service creation is difficult.
It is open source.
Previous Updates
In previous articles we have learnt Encrypt Connection String in Web.config file. Convert DataSet to List or GenericList in Asp.Net. Top 30 Asp.Net interview question and answers. Load data faster in Asp.net Grid using Custom Paging.
What Is WebAPI?
Asp.Net Web API is a framework for building HTTP services that can be consumed by a broad range of clients including browsers, mobiles, iphone and tablets.
ASP.Net Web API supports RESTful applications and uses GET, PUT, POST, DELETE verbs for client communications.
It is a part of the core ASP.NET platform and can be used with MVC and other types of Web applications like Asp.Net WebForms. It can also be used as an stand-alone Web services application.
For example twitter,facebook and Google API for the web application and phone apps.
Web API is the great framework for exposing your data and service to different-different devices. Moreover Web API is open source an ideal platform for building REST-ful services over the .NET Framework. Unlike WCF Rest service, it use the full featues of HTTP (like URIs, request/response headers, caching, versioning, various content formats) and you don't need to define any extra config settings for different devices unlike WCF Rest service.
Why Web API Becomes First Choice?
It is Used to build simple, non-SOAP-based HTTP Services on top of existing WCF message pipeline.
If we need a Web Service and don’t need SOAP, then ASP.Net Web API is best choice.
It is only based on HTTP and easy to define, expose and consume in a REST-ful way.
It doesn't have tedious and extensive configuration like WCF REST service.
It is light weight architecture and good for devices which have limited bandwidth like smart phones.
Simple service creation with Web API. With WCF REST Services, service creation is difficult.
It is open source.
Previous Updates
In previous articles we have learnt Encrypt Connection String in Web.config file. Convert DataSet to List or GenericList in Asp.Net. Top 30 Asp.Net interview question and answers. Load data faster in Asp.net Grid using Custom Paging.
0 comments:
Post a Comment