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

Get ASP.NET Web API 2 Recipes: A Problem Solution Approach now with O’Reilly online learning.

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