Operation Not Legal in the Current State
The other evening I was playing around with an ASP.NET Core application. When I started debugging it, I immediately saw an error message pop up that said
Unable to start program ‘http://localhost:59676/’. An operation is not legal in the current state.
It was a bit of a head scratcher, so I decided to restart the debug session and see if the problem resolved itself. This didn’t help and I saw the same error again.
This got me thinking…. if it is a feature, it must be able to be switched off.