摘要: 呃..今天同事要实现客户端调用不同版本Controller的功能, 其实几句代码就搞定了..首先定义自己的ControllerSelector,代码如下:public class ShadowControllerSelector : IHttpControllerSelector { private readonly HttpConfiguration _configuration; public ShadowControllerSelector(HttpConfiguration configuration) { _con... 阅读全文
posted @ 2013-03-13 16:51 FengLin 阅读(561) 评论(0) 推荐(0) 编辑