Categories
.netcore Docker Visual Studio

A solution to Visual Studio Tools for Docker debugging problem

I you have problems with debugging your .net core application using Visual Studio Tools for Docker – the app simply stops at start and you see a lot of Trying to connect to http://localhost (N/120) messages (where N = [1,120]) – then you might be interested in the workaround.
Which, as it turns out, is quite simple.
Open docker-compose.debug.yml file and simply remove the volumes section:
    volumes:
      – .:/app

Then you can debug it normally.

See the original solution post named Trying to connect to http://localhost/ (1/XXX) in Q and A section.

Categories
.netcore Docker Presentation

Content for my Cxncel “docker for developers” presentation (Slovene)

I’ve uploaded all the sources and slides of my Cxncel presentation to GitHub. Enjoy.