En . Net podemos utilizar estos 3 comandos:
Console.WriteLine, Debug.WriteLine, y ILoggerConsole.WriteLine no se ve?Porque tu app no es una app de consola, es un Web API, y no tiene una terminal asociada.
.exe desde PowerShell o CMD, sí lo verías.¿Quieres que te lo deje en un ejemplo .NET completo para probarlo tú mismo?

I am particularly drawn to developing applications that are not only functional but also visually appealing and easy to use. I accomplish this by implementing SOLID principles and clean architecture, and applying testing to ensure quality.