Geeks With Blogs

News kaleidoscope 1817, lit. "observer of beautiful forms," coined by its inventor, Sir David Brewster (1781-1868), from Gk. kalos "beautiful" + eidos "shape" (see -oid) + -scope, on model of telescope, etc. Figurative meaning "constantly changing pattern" is first attested 1819 in Lord Byron, whose publisher had sent him one.
Kaleidoscope Everything under the sun, ending in .Net

Worker Role Call Order:

WaWorkerHost process is started.

  1. Worker Role assembly is loaded and surfed for a class that derives from RoleEntryPoint.  This class is instantiated.
  2. RoleEntryPoint.OnStart() is called.
  3. RoleEntryPoint.Run() is called. 
  4. If the RoleEntryPoint.Run() method exits, the RoleEntryPoint.OnStop() method is called .
  5. WaWorkerHost process is stopped. The role will recycle and startup again.

Web Role Call Order:

  1. WaWebHost process is started.
  2. Hostable Web Core is activated.
  3. Web role assembly is loaded and RoleEntryPoint.OnStart() is called.
  4. Global.Application_Start() is called.
  5. The web application runs
  6. Global.Application_End() is called.
  7. RoleEntryPoint.OnStop() is called.
  8. Hostable Web Core is deactivated.
  9. WaWebHost process is stopped.

For Further Reference:

http://blogs.msdn.com/jnak/archive/2010/02/11/windows-azure-roleentrypoint-method-call-order.aspx

 

Tinu

Technorati Tags:
Posted on Sunday, March 21, 2010 5:37 PM | Back to top


Comments on this post: Windows Azure RoleEntryPoint Method Call Order

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © kaleidoscope | Powered by: GeeksWithBlogs.net