简体   繁体   中英

Can I enable MVC on my ASP web site?

I have a regular ASP.net website and I want to use RESTful API's. Can I use this without creating a new MVC site within Visual Studio?

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

If you want to mix in general ASP.NET MVC into an existing Web Forms application you could try something like this . 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM