The new Angular HttpClient

Being able to efficiently send and receive JSON data from our .NET Core Controllers is probably the most important requirement for our SPA. We chose to do that using the brand new Angular HttpClient, first introduced in Angular 4.3.0-RC.0, which is among the best answers the framework can give to get the job done. For this very reason, we will use it a lot throughout the whole book; however, before doing that, it might be advisable to properly understand what it is, why is it better than the former implementation, and how to properly implement it.

Get ASP.NET Core 2 and Angular 5 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.