Service Stack on MVC4

前端 未结 3 813

I am just trying to get Service Stack running under a mvc4 project. Does the ServiceStack.Host.Mvc nuget package work with mvc 4.0 ? I installed it and added

3条回答
  •  佛祖请我去吃肉
    2021-01-01 20:12

    Found the solution. Whenever we are creating new asp.net mvc4 project it comes with Asp.Net Web Api. And that also having path api/. I don't you need both together, so just removed that modules using nuget package manager and it will work like anything.

    If you still stuck anywhere let me know. As it is working now for me with asp.net mvc4.

提交回复
热议问题