开发者_Python百科I'm about to create an API for a existing .NET application and want to go the RESTful service route. Our backend platform is .NET and MSSQL. I'm hoping for a good blend or scalability combined with clean architecture.
Are there any strong opinions on the best way to implement a RESTful .NET API (WCF, standard ASP.NET, MVC or even HTTP Listener)?
Also any opinions on why NOT to go with .NET or reasons to use something like RoR.
Thanks in advance for any opinions on this topic.
http://www.openrasta.com It is the only .Net framework that will help you learn how to create a REST api. You can do it with other frameworks but unless you have experience building REST apis you will likely be led astray.
One option is WCF Data Services formerly known as ADO.NET Data Services which has some REST qualities to its implemention.
It is easy to create a basic service from an Entity Framework model of the database. From there service operations can be added for additional capabilities.
精彩评论