Simple WEB API REST Project

后端 未结 4 1068
天命终不由人
天命终不由人 2021-02-02 12:06

What is the best way to create a simple REST API in Visual Studio 2013 using ASP.NET MVC.

I just want something with controllers and route config along with any other ba

4条回答
  •  庸人自扰
    2021-02-02 12:37

    Depending on what parts of ASP.NET you want, you could check out Nancy at https://github.com/thecodejunkie/Nancy. It can be hosted within ASP.NET and is pretty light-weight and provides a simple routing with options to plug in different view technologies (Razor, Spark, SimpleView and more).

提交回复
热议问题