惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
博客园 - 【当耐特】
博客园 - 叶小钗
阮一峰的网络日志
阮一峰的网络日志
WordPress大学
WordPress大学
D
Docker
T
The Blog of Author Tim Ferriss
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
云风的 BLOG
云风的 BLOG
F
Fortinet All Blogs
罗磊的独立博客
小众软件
小众软件
A
About on SuperTechFans
MyScale Blog
MyScale Blog
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
C
Check Point Blog
L
LangChain Blog

博客园 - 多罗贝勒

北京西服定制排行榜,西服定制店铺推荐 微信公众号开发-工具 PHP 环境搭建工具 host1plus 如何安装 OpenVPN - 多罗贝勒 .NET CORE MVC网站体验 111 【微信小程序】认识微信小程序 C# 线程同步 C# 线程基础 WCF概念 C#知识点总结【2】 C#知识点总结【1】 找到一段当初实现反射的代码 【2016-11-28日面试总结】 .NET 面试基本技术整理 .NET 面试题整理 【DNN】C#中类的一些特性标注 【DNN 系列 创建WEB模块 项目】 SharePoint 使用Expression Web 设计网站 【DNN】 安装问题 【DNN】 制作一个扩展程序
Web api 测试 工具WebApiTestClient
多罗贝勒 · 2017-04-10 · via 博客园 - 多罗贝勒

1.打开Nuget  安装 WebApiTestClient

image

image

2.在HelpPageConfig.cs 里面添加这段文字

config.SetDocumentationProvider(new XmlDocumentationProvider(HttpContext.Current.Server.MapPath("~/App_Data/WebApiTestClient.XML")));

image

3.在Api.cshtml 当中添加

@Html.DisplayForModel("TestClientDialogs")
@section Scripts{
    <link href="~/Areas/HelpPage/HelpPage.css" rel="stylesheet" />
    @Html.DisplayForModel("TestClientReferences")
}

image

名称:多罗贝勒
博客地址:http://www.cnblogs.com/objctccc/
欢迎转载

posted @ 2017-04-10 16:29  多罗贝勒  阅读(150)  评论(0)    收藏  举报