摘要:
呃..今天同事要实现客户端调用不同版本Controller的功能, 其实几句代码就搞定了..首先定义自己的ControllerSelector,代码如下:public class ShadowControllerSelector : IHttpControllerSelector { private readonly HttpConfiguration _configuration; public ShadowControllerSelector(HttpConfiguration configuration) { _con... 阅读全文