Building a CRUD Application with Angular & ASP.Net Core - Services in Angular GET

Your turn to implement GET


Your turn to implement GET

Here are the steps to follow to create your own GET call for your application.

  1. Use constructor injection to bring in the HttpClient into your service
  2. Using the HttpClient make a GET request to your .NET backend API
  3. Use constructor injection again but this time to bring your service into your component
  4. Your component should then call your services get to get the data from the backend

Challenge: Use an *ngFor to display all of the data that you get back from you API in the HTML