简体   繁体   中英

.NET Restful WCF Http Web Service for use w/ ASP.NET MVC3 and anything else

I am building a big ASP.NET MVC3 web site. I am going to hit a big backend database and have lots of webservices. I plan on exposing the webservices publicly down the line as an restful API that will consume/return JSON or XML.

Would it be best to keep my webservices as a completely seperate project and should I use pure WCF for them?

Thanks for any advice.

I would certainly consider keeping the Services project separate from the Web Site Project.

As for which framework to use I would check out the WCF HTTP project , OpenRasta , or straight .NET MVC.

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