Last post May 28, 2014 11:21 AM by Rion Williams
May 28, 2014 02:55 AM|gaddamraju4u|LINK
Hi i am new to web api .
1. i know api is interface ? but don't know in which between it is interface ?
2. i know api is used to build http sevices ? but i did't know what are the http services ,
please tel me easily and clearly ...!
Thanks in Advance
May 28, 2014 04:16 AM|Mikesdotnetting|LINK
HTTP Services are services that are available over HTTP. The service usually provides data, or may also provide methods for updating data. You use the HTTP verbs (GET, POST, PUT, DELETE) to communicate with the services depending on the method that you want
An (Application Programming) Interface is this context is a public set of methods that you can invoke that result in data being returned or amended.
May 28, 2014 11:02 AM|gaddamraju4u|LINK
can you tel me what is web api ?
is it used to develop RESTful webservices ?
Thanks in Advance ?
May 28, 2014 11:21 AM|Rion Williams|LINK
ASP.NET Web API is a development environment aimed at developing RESTful Web Services that will allow your application to easily send and recieve HTTP Requests (web requests)
and perform operations based on the types of Requests that are made to it (such as providing information about a user if provided their ID etc.) It was designed to replace the previous Windows Communication Foundation (WCF) approach to developing
Web Serviecs within .NET.
RESTful services are merely a specific type of Web Service that follows a specific set of protocols, architecture and usage. If you want an excellent breakdown of RESTful services, I would recommend the following Stack Overflow discussion which covers REST
services in a great deal of detail :
If you want a very simple explanation of REST and have some time to read a short blog post, I would recommend checking out "How I Explained REST to my Wife". I would also encourage you to visit the Getting
Started in Web API area of this site for a bit more information and tutorials related to using them (if you find they fit your needs).