Summary
In this chapter, we learned how to create an API using Minimal APIs and an API client, which is an important part of most applications. This way, we can get blog posts from our database and show them when we are running on WebAssembly. It is worth mentioning that we can always run our applications using a web API; this is just to show that we can use different ways to access our data depending on what hosting model we are currently using.
In the next chapter, we will add the login functionality to our sites and call our API for the first time.