I am new to RESTful web services in WCF, but not new to WCF. I want to develop some simple RESTful web services in WCF which manually be accessed from a browser. Any good samples or documents to recommend? I am using C#.
You can use WCF to build RESTful services in . NET. REST (Representational State Transfer) is an architecture paradigm that conforms to the REST architecture principles. The REST architecture is based on the concept of resources: It uses resources to represent the state and functionality of an application.
WCF is used for developing SOAP-based services whereas Web API is used for both SOAP-based and RESTful services. WCF does not offer any support for MVC features whereas Web API supports MVC features. WCF supports HTTP, UDP, and custom transport protocol whereas Web API supports only HTTP protocol.
By default, Windows Communication Foundation (WCF) makes endpoints available only to SOAP clients.
Aaron Skonnard of PluralSight has a bunch of great little screencasts on Channel9 and is probably the best intro I've seen - you'll probably do well to have some WCF experience first - those coming from the world of SOAP will pick it up easier.
http://channel9.msdn.com/shows/Endpoint/endpointtv-Screencast-Building-RESTful-Services-with-WCF/
Also, stick this in Bing
restful site:msdn.com
UPDATE
This answer still gets votes, so I thought it would be good to update it with recent changes. Basically, the WCF team have joined forces with the ASP.NET MVC community to bring REST to the Microsoft stack via ASP.NET MVC 4 Web API, so I guess the WCF REST stuff will not be developed from 2012 on.
http://wcf.codeplex.com/wikipage?title=WCF%20Web%20API%20is%20now%20ASP.NET%20Web%20API
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With