asp.net Web API (i) Use preliminary, get and post data

Source: Internet
Author: User
Tags representational state transfer

Overview

The rest API generated by rest (representational state transfer) has been discussed more and more, and Microsoft has added functionality to the Web API in asp.net.

We look at Dudu's article httpclient + asp.net Web API, another alternative to WCF is to know that the blog Park is also starting to use the Web API, and has encountered this problem when using the beta version of the Web API: Infatuation accident: asp.net webapi RC does not support the most commonly used JSON parameters.

We just look at the use of the Web API and see if the current version solves the problem.

Project Establishment

After Visual Studio 2012 is installed, we click New Project-> installed template->web->asp.net MVC 4 Web application to create a new project.

The project template selects the Web API.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.