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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -