Skip to Main Content
ASP.NET Core 6 and Angular - Fifth Edition
book

ASP.NET Core 6 and Angular - Fifth Edition

by Valerio De Sanctis
April 2022
Intermediate to advanced content levelIntermediate to advanced
780 pages
19h 39m
English
Packt Publishing
Content preview from ASP.NET Core 6 and Angular - Fifth Edition

4

Front-End and Back-End Interactions

Now that we have a minimalistic—yet fully working—Angular web app up, running, and connected with our ASP.NET Core API, we can start to build some stuff. In this chapter, we’re going to learn the basics of client-side and server-side interactions: in other words, how the front-end (Angular) can fetch some relevant data from the back-end (ASP.NET Core) and display it on screen, in a readable fashion.

As a matter of fact, we should’ve already got the gist of how it works in Chapter 3, Looking Around, when we worked with Angular’s FetchDataComponent and ASP.NET Core’s WeatherForecastController.cs classes and files. The Angular component (front-end) pulls data from the ASP.NET controller (back-end) and then ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

ASP.NET Core 8 and Angular - Sixth Edition

ASP.NET Core 8 and Angular - Sixth Edition

Valerio De Sanctis

Publisher Resources

ISBN: 9781803239705Supplemental Content