wcf-web-api - TestClient 去哪儿了?

标签 wcf-web-api asp.net-web-api

自动生成的测试客户端在 ASP.NET Web API 中去了哪里? (MVC 4 beta 的一部分)在 WCF WebAPI 中,它位于 global.asax:

var config = new HttpConfiguration() { EnableTestClient = true, EnableHelpPage=true };
RouteTable.Routes.MapServiceRoute<MyService>("api/path", config);

最佳答案

测试客户端不是 ASP.NET Web API Beta 的一部分(由于时间有限和内部实现的架构更改,我们不得不将其移除)。我们正在考虑在下一个版本中将其恢复。

关于wcf-web-api - TestClient 去哪儿了?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9403880/

相关文章:

.net - .net 中的 RESTful 服务 - WCF 或 ASP.NET MVC 哪个更好?

c# - 如何从 WebAPI 中的 HttpResponse 对象获取错误消息?

c# - WebAPI HttpContent 转换为类型化对象

c# - 更改 WCF Web Api HttpContext 响应

rest - ASP.NET Web Api 路由自定义

asp.net - 对于同一件事,我可以同时拥有 Controller 和 ApiController 吗?

Ninject 使用 WCF Web API Preview 5

c# - 无法从 AngularJS 将简单的字符串数据发布到 Web API

c# - AJAX 和 Web Api 发布方法 - 它是如何工作的?

c# - 使用 web api HttpResponseMessage 输出图像