Summary
In this chapter, you learned the foundation of Docker, pulling, creating, and running Docker images. You used containers that store state with volumes running databases in Docker containers, passed environmental variables and secrets to running Docker containers, and used .NET Aspire to run multiple containers at once.
Using .NET Aspire, you configured orchestration for multiple services – including the configuration of a SQL Server Docker container. Comparing this to the work needed with Docker, this was an easy task – but it’s still useful to understand the foundations.
With native AOT, you reduced startup times and the memory footprint, which you might be able to use with some of your services.
Before moving on to the next chapter, using the bot, you can now easily play thousands of games. The bot uses a simple algorithm to set random moves from a list of possible moves. Using the games query, check the number of moves the bot needs to find...