Reference page:
Http://www.yuanjiaocheng.net/webapi/mvc-consume-webapi-get.html
Http://www.yuanjiaocheng.net/webapi/mvc-consume-webapi-post.html
Http://www.yuanjiaocheng.net/webapi/mvc-consume-webapi-put.html
Http://www.yuanjiaocheng.net/webapi/mvc-consume-webapi-delete.html
Http://www.yuanjiaocheng.net/webapi/httpclient-consume-webapi.html
A recent share of the ASP in the company is not considered a training.
There may be people who are not very familiar with the purpose of launching the Web API, but look at the official Microsoft definition to provide a good rest service.
Rest is a design style rather than a standard. These are often based on widely-used protocols and standards, such as the use of Http,uri and XML.
1. Resource specified by URI
2. Operations on resources include fetch, modify, create, and delete, which correspond exactly to the get, POST, put, and Delete methods provided by the HTTP protocol.
3. Manipulate resources by manipulating their representations.
4. The expression of resources is XML or HTML.
What is Microsoft's goal of launching the Web API on. NET 4.0?
It can be seen as a better data service for some of the pristine apps.
The following is the main share of this share:
Basis:
1. The Getting Started with ASP. NET Web API is primarily a simple example. Http://files.cnblogs.com/n-pei/HelloWebAPI.zip
2. Web API clients describes how to invoke the Web API on the client. Http://files.cnblogs.com/n-pei/ProductStoreClient.zip
3. Web API self-hosting illustrates the use of Web APIs through non-IIS.
4. Web API Formater If you use Formater to control the data format of the output. Http://files.cnblogs.com/n-pei/WebAPIFormaterSample.zip
5. Web API MessageHandler If you use MessageHandler to handle request and response information. Http://files.cnblogs.com/n-pei/WebAPIMessageHandlerSample.zip
Senior:
1.Web API +SIGNALR Application Http://files.cnblogs.com/n-pei/WebstackOfLove.zip
Application of 2.BSON and Web API Http://files.cnblogs.com/n-pei/WebAPIBsonSample.zip
3.Securing ASP. NET Web API http://identitymodel.codeplex.com/releases/view/76365
The following corresponds to each demo. Want to be helpful to friends who want to learn ASP.
ppt Download: http://files.cnblogs.com/n-pei/WebAPI.pptx
ASP. NET Web API in-house training materials