How to restart asp.net core application in controller method?
There is an application that reads the configuration from the database at startup. The administrator enters the new settings of the application, saves them in the database and indicates when the application should be restarted to accept the new settings (or immediately restarts). How to crank it if the application works in iis?
Environment.Exitand next. request to your service should raise it. At least, for debugging purposes, it works for me stably. - Monk