Mosta
Mosta

Reputation: 157

Stopping debugging doesn't actually stop the site application

When stopping the debug session the application is still running and I can access it from http://localhost:3825/ the only way to stop the application is to close the solution from visual studio

What I want

to stop the application(shut down the application and close http://localhost:3825/) ... So I can test error handling from angular(fronted).

Expected behavior

When I click stop debug (using IIS Express) the application would stop (shutdown)

Environment

I just start visual studio and open solution and click IIS Express with all the default setting, I didn't change anything

My tries

If anyone have an idea of what is that behavior coming from please explain it to me.

Upvotes: 3

Views: 924

Answers (1)

Antoine Thiry
Antoine Thiry

Reputation: 2442

Right click on the IIS Express icon in the taskbar and close the application from there.

OR

Take a look at this question, OP has the same problem that you are facing except it is the inverse.

Right click -> Properties -> Web tab -> Check "Enable Edit and Continue" should do the trick for you.

Another way to go could be : Tools -> Options -> Debugging -> General -> Check "Enable and Continue".

Upvotes: 2

Related Questions