简体   繁体   中英

Create a RestFul Service in Visual Studio 2010

Is there a way I can create a RestFul Service as part of my MVC 4 web application. I already have one ASP.net MVC4 web application. I can create a new project with VS2013 to write a new service. But I don't want to create a new project, is there a way to utilize the same existing project for this?

I am looking for service which uses Web API

Try this library for .NET https://github.com/ServiceStack/ServiceStack .

It is a free if you are using branch v3 form a github.

Take a look at OWIN and Katana. You can use it to set up webapi in your current MVC project. Here is an example How to do it.

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