Tag Archives: RoleEnvironmentChanging event

Bulb Flash: Update Configuration without restarting your webrole

Recently started working on an azure project where we frequently updated a setting in our Service configuration file. Only every time we did that  our web role got restarted… Then came across this event which can be hooked on to decide if the webrole should be restarted or not. RoleEnvironment.Changing += RoleEnvironmentChanging; RoleEnvironment.Changed += RoleEnvironmentChanged; […]