0

I have a Web API project (4.5) that has all the DTO objects stored in a separate project for simplicity. I was wondering if there is anyway to link from the Web API help page to these class libraries so that my end users can not only see what they need to send but so that they can see the XML comments on those objects specifying what each property of the object does/means.

4

1 回答 1

0

我想您在谈论“WCF Web API 测试客户端”,

AFAIK 它使用 Microsoft 提供的 Microsoft.AspNet.WebApi.WebHost.dll。源不可用,但如果它没有被混淆,你可以在 ILSPY 之后更改它。

除此之外你不能装饰它,通常你只是从 global.asax 重定向页面。

另一种选择:也许你应该自己写。但是你会在属性读取和反射方面做很多工作:) 也许你应该在 CodePlex 和 git 中开始一个项目。

于 2013-04-01T15:24:10.287 回答