title: What's the ASP.NET Webservice request lifecycle?
body: <p>On a regular <code>aspx</code> page, I have events such as <code>Page_Init</code>, <code>Page_Unload</code>, etc., which occur <a href="http://msdn.microsoft.com/en-us/library/ms178472.aspx" rel="noreferrer">in a well-defined order</a>.</p>
  
  <p>I have an <code>asmx</code> page providing <code>[WebMethod()]</code>s. Do similar events exist? In particular, some events that allow me to initialize some data (like <code>Page_Load</code>) and do some clean-up (like <code>Page_Unload</code>) would be extremely useful.</p>
  
  <p>(As far as I can tell, the constructor of the <code>asmx</code> code-behind class seems to be called on every WebMethod request, i.e., a new instance is created for every WebMethod request, but this is just an observation and not something I've found documented somewhere...)</p>