views:

227

answers:

3

Looking for alternatives to the WCF REST start kit, ideally OSS frameworks.

Anyone got a list?

Cheers

Ollie

+2  A: 

ASP.NET MVC is a good alternative when it comes to generating REST XML and JSON feeds.

Maurice
+1  A: 

To build a rest architecture in .net you can use GenericHandlers. You can create a GenericHandler that will receive a HTTP message (POST, GET or..) and return a message of the content-type you specify.

For example I create a generic handler on the url:

http://site/getpeople.ashx?gender=female

And call it with the parmeter gender=female, as above the handler will return the following

<people>

<person>...</person>
...
<people>

And the content type would be text/xml.

This is the simplest way to implement REST web services in .NET

Nikola Stjelja
Using text/xml is not recommended, hasn't been for years. Using application/xhtml+xml is frowned upon in rest architectures. Not worth a downvote, but not worth the original upvote I think.
serialseb
Could you, please, specify why is frowned upon?
Nikola Stjelja
Sorry for the slip, should've read application/xml. Its frowned upon because it doesn't expose the actual media type to the UA processor, only some vague notion that it's xml, which doesn't help determine what to do with the content.
serialseb
+6  A: 

OpenRASTA is the most mature

Krzysztof Koźmic