Tuesday, April 23, 2019

.Net Core with Docker, very slow exceptions when debugging

Asp.Net Core 2.2, with Windows Docker containers. Any time an exception is thrown during a request with the Visual Studio debugger attached, the request is extremely slow. We're talking 3-3.5 seconds minimum. When you run the same project without the debugger attached (directly through Docker or "start without debugging"), the same error paths take about as long as you'd expect, maybe 50-60 ms on average. Has anyone experienced this before? Can we tweak some debugger settings or something to avoid the horrible performance?

.Net Core with Docker, very slow exceptions when debugging Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team