6
Fetching and Displaying Data
In the previous chapter, we created a new WorldCities
solution containing a WorldCities
project (our Angular app) and a WorldCitiesAPI
project (our ASP.NET Web API) and made a considerable effort to empower the latter with a DBMS-based data provider, built upon Entity Framework Core using the Code-First approach. Now that we have data persistence, we’re ready to entrust our users with the ability to interact with our application; this means that we can switch to the Angular app and implement some much-needed stuff, such as the following:
- Fetching data: Querying the data provider from the client side using HTTP requests and getting structured results back from the server side
- Displaying data: Populating typical ...
Get ASP.NET Core 6 and Angular - Fifth Edition 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.