-
Book Overview & Buying
-
Table Of Contents
ASP.NET Core 5 and Angular - Fourth Edition
By :
As we already know from Chapter 1, Getting Ready, reading data from the database is mostly a matter of having the Angular front-end send HTTP requests to the ASP.NET back-end and fetching the corresponding HTTP responses accordingly; these data transfers will be mostly implemented using JavaScript Object Notation (JSON), a lightweight data-interchange format that is natively supported by both frameworks.
In this section, we'll mostly talk about HTTP requests and responses, see how we can fetch data from the ASP.NET back-end, and lay out some raw UI examples using Angular components that will be further refined throughout the next sections.
Are we ready? Let's start!
Let's start by taking a look at those HTTP requests and responses we'll be dealing with: hit F5 to launch our WorldCities project in debug mode and type the following URL in the browser's address bar: https://localhost:44334/api/Cities/
If...