What framework to use for RESTful Services in .net

后端 未结 5 1269
终归单人心
终归单人心 2021-01-30 14:33

I know that similar questions have been asked, but most of them are out of date. So here we go again :). I need to implement a complete REST service layer for our application. T

5条回答
  •  你的背包
    2021-01-30 15:21

    For me, the easiest and cleanest solution would be to implement the services as controllers in ASP.NET MVC3 with methods that return a JsonResult.

    Advantages:

    • The MVC framework does the heavy lifting for you

    • You can implement the model validation using attributes instead of code

    • XCopy deployment to any version of IIS

提交回复
热议问题