I have an ASP.Net Core 3.1 solution that uses a Docker Compose file as its startup project. Calling the method Directory.GetCurrentDirectory() from anywhere in
Directory.GetCurrentDirectory()