azure - Can a WebRole be "recycled" programmatically? -
iis7 application pools can recycled programmatically. there equivalent concept web role in azure?
that basic question, background on why ask, include following...
we attempting umbraco installed in azure, , umbraco installation wizard writes it's configuration information , manually restarts application pool (in iis) reread configuration wrote. needs work same way in azure, @ point not able reinitialize scratch (as in iis7).
you can call roleenvironment.requestrecycle() given role instance. has windows server vm restart, re-executes startup scripts, onstart() method, , run() method. when doing this, may want consider type of breadcrumb leave yourself: if find installed upon restart, skip install process; otherwise, install , request recycle.
Comments
Post a Comment