How to keep IIS live after stopping VS2019 Debug mode?
I tried with Tools-> Debugging -> "unchecked" Enable Edit and Continue, and this approach doesn't work for me.
You can get this working properly by changing these settings:
Tools > Debugging > Edit and Continue should be off
Right click the Project in solution explorer > Properties > Debug > Hosting Model: Out Of Process
As for the consequences of switching to Out Of Process, I don't think there are any as it's only for debugging.