CHAPTER 9

image

Communication Between Front and Back End

In the last two chapters, you learned how to create a back-end application programming interface (API) by using ASP.NET Web API. Once you have a fully operational back end, you will probably want to create the front-end-to-back-end integration, in order to achieve a robust solution. In single page application (SPA) development, the integration between the front end and the back end is particularly crucial.

In most of the solutions, you will use Ajax as your main communication option. Most of the MV* frameworks/libraries include modules to handle Ajax requests, which can simplify the integration ...

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.