刚研究WEBAPI,有个基础问题,我利用入门演示代码想改成这样的路径规则 api/test/product api/release/product
这样我测试时也可在一个服务 器项目中
请问我怎么处理,是在路由哪儿设置还是在控制器哪儿处理 ,能否给点代码
你好,
你可以参考这里:http://www.asp.net/web-api/tutorials 。
Roy MSDN Community Support | Feedback to us Develop and promote your apps in Windows Store Please remember to mark the replies as answers if they help and unmark them if they provide no help.