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