Iβm pretty sure that after SDK 1.3 itβs not childish. An attempt to time from something from one to another will simply end in a racing state.
Prior to 1.3, the Hosted Worker Core (HWC) core was hosted in RoleEntryPoint, so a deterministic launch was installed (OnStart, Application_OnStart, IIRC). However, now that IIS hosts the website, IISConfigurator.exe creates the application pool, etc., and ultimately w3wp.exe hosts your website. This is a different process than your RoleEntryPoint, so you can start over.
dunnry
source share