Testing the RESTful WCF service with a C#/XAML client
Next, we will create two clients to test the RESTful WCF service. We will create a C#/XAML client to call the RESTful WCF service from the code behind the C# class and create another client to call the RESTful WCF service in JavaScript with jQuery and WinJS. We will create these two clients as Windows 8.1 apps. If you don't have Windows 8.1, you can create the first client as a WPF application, and the second client as an ASP.NET application in Windows 7.
Creating the C#/XAML client
First, let's create a C#/XAML client to call the RESTful WCF service from the code behind the C# class. You can follow these steps to create this client:
- From the Solution Explorer, right-click on the solution item ...
Get WCF Multi-layer Services Development with Entity Framework Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.