[英]Can I enable MVC on my ASP web site?
I have a regular ASP.net website and I want to use RESTful API's. 我有一个常规的ASP.net网站,并且想使用RESTful API。 Can I use this without creating a new MVC site within Visual Studio?
我可以在Visual Studio中不创建新的MVC站点的情况下使用它吗?
Perhaps this can help you if you want to make use of ASP.NET MVC Web API in a web forms project to implement your RESTful API 如果您想在Web窗体项目中使用ASP.NET MVC Web API来实现RESTful API, 这可能会对您有所帮助
If you want to mix in general ASP.NET MVC into an existing Web Forms application you could try something like this . 如果要将常规的ASP.NET MVC混合到现有的Web Forms应用程序中,则可以尝试这样的操作 。 There should also be a fair amount of literature on SO and the web on how to mix the two together in one project/solution
关于SO和网络的文献也应该很多,关于如何在一个项目/解决方案中将两者融合在一起
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.