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 ...

Get Pro ASP.NET Web API: HTTP Web Services in ASP.NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.