There is no workaround for the Test API button on the ASP. NET Web API help page

Source: Internet
Author: User

When participating in a Web API project, it was found that the help page was particularly useful, and it was not only possible to automatically generate a helper document based on Webapi's methods and comments, but also to test the Webapi method on this page. I also intend to use this help page when creating a new project. In practice, discovering a new Web API project will automatically generate a help page for you, as follows:

After the API is opened, the following page is reached, and there is no test API button in the lower right corner, and the WEBAPI cannot be tested.

After the multi-check data, finally found a solution. Simply put, the Web API Test Client needs to be referenced through NuGet.

In the upper right corner, search for "webapitestclient". Note, do not search for "Test Client", etc., may not be searched. Also, select include pre-release version .

Search and install. The Test API button appears in the lower right corner.

Reference: http://www.c-sharpcorner.com/UploadFile/2b481f/adding-the-test-api-in-the-Asp-Net-web-api-help-page/

Http://blog.sina.com.cn/s/blog_60ba16ed0102v28z.html

There is no workaround for the Test API button on the ASP. NET Web API help page

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.