How can automatically I stop the development web server when I stop debugging in Visual Studio?
Another trick is to update web.config timestamp on post-build event. You may find detailed instructions how to do that in my answer to the Can Visual Studio restart IIS Express on new debugging session? question.