O'Reilly logo

ASP.NET Web API 2 Recipes: A Problem Solution Approach by Filip Wojcieszyn

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

Cross Domain and Push Communication

In this chapter, you’ll explore how to overcome browser restrictions when it comes to crossing the origin boundaries in AJAX communication. Moreover, since all modern web applications need to have a flavor of real-time to them, you’ll look at how you can facilitate push communication from the Web API to the client and how to integrate real-time duplex communication between the client and your Web API application.

You will learn how to do the following:

  • Use JSONP and CORS for cross-origin communication (Recipes 8-1, 8-2, and 8-3)
  • Support streaming and pushing data from Web API with PushStreamContent ...

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