Skip to Main Content
ASP.NET Core 5 and Angular - Fourth Edition
book

ASP.NET Core 5 and Angular - Fourth Edition

by Valerio De Sanctis
January 2021
Intermediate to advanced content levelIntermediate to advanced
746 pages
18h 18m
English
Packt Publishing
Content preview from ASP.NET Core 5 and Angular - Fourth Edition

3

Front-End and Back-End Interactions

Now that we have a minimalistic—yet fully working—ASP.NET Core and Angular web app up and running, we can definitely 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.

Wait a minute... as a matter of fact, we should've already got the gist of how it works, right? We saw this in Chapter 2, Looking Around, before getting rid of 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 ...

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 5 and React - Second Edition

ASP.NET Core 5 and React - Second Edition

Carl Rippon

Publisher Resources

ISBN: 9781800560338Supplemental Content