How to Consume WEB API in C# | C# Tutorial for Beginners

This video is about calling an existing WEB API from a C# application.
You will learn to use the HttpClient class to retrieve new releases from Spotify using their Web API.

Source code :
Buy me a coffee:

🕑 Timestamp:
00:00 Introduction
00:49 Register the application with Spotify
01:21 Create an ASP.NET Core MVC app
02:12 Request access token from Spotify Account Service
08:24 Test requesting an access token
08:43 Request new release from Spotify Web API
12:54 Test requesting new releases
13:01 Display new releases in the Home View
14:10 Test the displaying of new releases in Home view
14:16 Outro

Make HTTP requests using IHttpClientFactory in ASP.NET Core :

Use IHttpClientFactory to implement resilient HTTP requests:

This video might interest you :
How to create a Web API with ASP.NET Core:

🌎 Where to find me:
° Github:
° LinkedIn:

#webapi #tutorial

Comments are closed.