CHAPTER 8

image

Implementing HTTP Concepts with ASP.NET Web API

ASP.NET Web API provides a complete solution for building HTTP services. As such, it offers support for content negotiation, response caching, and streaming content to and from the client.

In this chapter, you will learn how to create a more efficient back-end service for our SPA, by implementing those HTTP concepts.

Content Negotiation

Serialization and deserialization are common tasks when creating and consuming services. Over the years, the .NET Framework offered a variety of serialization mechanisms supporting different formats, such as XML and JSON. However, when creating HTTP-based ...

Get Pro Single Page Application Development: Using Backbone.js and 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.