CHAPTER 7

image

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