Fetching and Displaying Data
In the previous chapter, we created a new WorldCities
web application project and made a considerable effort to empower it 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 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 client-side components such as tables, lists, and so on, ensuring a good user experience for the end user
In this chapter, we'll cover these two topics by adding a number of client-server interactions handled by standard HTTP request/response chains; it goes without saying that Angular will play a major role here, together with a couple...