Sample Application: Building the Wrapper and Web Client
So far, you have created your application’s domain layer and the API application with ASP.NET Web API framework. Because you now have open endpoints, you can build clients around the HTTP API to consume and modify data.
In terms of HTTP APIs, there are lots of client options. You can build a Windows Phone client, a Windows Store App client, or a web client that directly consumes the HTTP API through Ajax requests. In this chapter, you’ll create a .NET wrapper around the HTTP API, which will make it easy to consume with the HttpClient class. Afterward, you’ll use that .NET wrapper ...