Reputation: 71111
Does ASP.NET MVC have anything like the RESTful out-of-the-box features like Ruby on Rails 2.0?
For example: cURL and Your Rails 2 App
I think this is the built in REST access to your Models. Since models can be implemented in different ways in ASP.NET MVC is there a feature like this?
Upvotes: 1
Views: 339
Reputation: 18270
Inside the MvcContrib open source project there is a class called SimplyRestfulRouteHandler. Using this class you can add routes to your site that will follow the REST approach.
Here is a good post on how you can use it.
Upvotes: 1
Reputation: 5252
I think the closest you'll come to this that I know of right now is some of the work Rob Conery is doing like this:
http://blog.wekeroad.com/blog/subsonic-mvc-scaffold-addin/
It's not exactly what you're asking for, but it provides what you want via scaffolding instead of the cURL type implementation.
Upvotes: 1