O'Reilly logo

Pro Single Page Application Development: Using Backbone.js and ASP.NET by Ido Flatow, Gil Fink

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required