Make containers aware of custom local domains on the host machine using .NET Aspire

In my first job as a developer, we used custom hosts for local development with IIS. This allowed us to get a bit closer to the production configuration. We had to edit our C:\Windows\System32\drivers\etc\hosts file and add an entry for each host mapped to the IP address 127.0.0.1 . Overall, this worked well. Nowadays, the introduction of containers into the local development flow makes this…