In this article, I am going to demonstrate how you can easily consume a public web API in your Visual Studio 2019 with ASP.NET Core 5 platform.
I am going to use a Joke API at the link: https://sv443.net/jokeapi/v2/?ref=apilist.fun
Joke API has the following features as per its documentation:
JokeAPI is a REST API that serves uniformly and well formatted jokes.
It can be used without any API token, membership, registration or payment.
It supports a variety of filters that can…