In the previous chapters, we created a 3-layered WCF service, used LINQ to Entities in the data access layer, then turned on distributed transaction support for the service. In this chapter, we will convert this SOAP WCF service to a RESTful WCF service and create two Windows 8 apps to consume this RESTful WCF service.
In this chapter, we will cover the following topics while creating and testing the RESTful WCF service:
SOAP versus REST
WCF REST versus the ASP.NET Web API
Creating the RESTNorthwind solution
Creating the RESTful service
Defining RESTful service contracts
Implementing the RESTful service
Modifying the configuration file
Testing the RESTful service in a browser
Testing the RESTful WCF service with a C#/XAML client
Testing the RESTful WCF service with a JavaScript