Skip to content

Coding Practice

Docker & .Net 4.8: An Endless Obstacle Course

The more complex an application becomes, the greater is the benefit of Docker. If everything runs in containers, we can use a tool like docker-compose and start all the parts with one single command. No need to install all the tools, services, and frameworks - just run docker-compose and the magic happens automatically. We can go from nothing to the full running application in a few minutes.

Since I saw the talk "Dev and Test Agility for your Database with Docker" by Julie Lerman at NDC Oslo 2019 I wanted to port her solution for .Net Core to the .Net Full Framework. How hard could it be? As it turns out, it is an awful lot of work and a few weeks ago Microsoft made it even harder.

Clear Your Windows Terminal With cls

In a Linux console we can use the clear command to get rid of all text output in that windows. This is a great help to quickly get an empty terminal without opening another console.

If we try to run the same command in the CMD on Windows, we get an error about a missing command. For a long time, I accepted this behaviour as a lack of functionality in the Windows terminal. However, recently I wondered if I just missed a command and started looking for a solution.