This is a multi-project Visual Studio 2010 template for building a REST service using WCF 4. It separates the Service and Entities project from the Web project and also provides a Client project for consuming a RESTful service with LINQ to XML.
This template highlights features of WCF 4 which provide improved support for REST. - Simplified web.config file which configures the standard web http endpoint to include a help page and automatic format selection for XML or JSON based on the HTTP Content-Type and Accept headers. - Integration with ASP.NET Routing with a Global.asax file that routes incoming requests for the "SampleService" uri to the web operations in SampleService.