Is there a good sample of an REST service implemented in ASP.NET MVC that demonstrates the best practices and easy to understand for a beginner?
-
You're question is very broad. Try narrowing it down by telling us what you've tried so far (and if you haven't tried anything yet, I would suggest trying to code something first and then coming back and asking a question).Justin Niessner– Justin Niessner2011-06-09 18:21:25 +00:00Commented Jun 9, 2011 at 18:21
-
Have you looked at openrasta for ideas?Adam Dymitruk– Adam Dymitruk2011-06-09 18:22:55 +00:00Commented Jun 9, 2011 at 18:22
-
1I tried to rewrote the body of the question, but I cannot really narrow it down. I need some sort of reference implementation of a rest service in asp.net mvcgyurisc– gyurisc2011-06-10 05:19:58 +00:00Commented Jun 10, 2011 at 5:19
Add a comment
|
2 Answers
Although your question is not really clear to me it seems you want some sort of REST based API?
Here's an example returning json or xml: http://omaralzabir.com/create_rest_api_using_asp_net_mvc_that_speaks_both_json_and_plain_xml/
1 Comment
gyurisc
@vdcrijsen Thanks for the link. It seems to be just what I wanted.
http://www.beletsky.net/2011/01/implementation-of-rest-service-with.html
https://github.com/alexanderbeletsky/rest.mvc.example
I think It will help you.