title: Simple example for c# aspx threading
body: <p>I'm searching for days a very simple example of using <code>threads</code> for aspx sites with c#. Found some for vb.net but can't get them work with c#.</p>
  
  <p>I need a <code>thread</code> or <code>backgroundworker</code> for my aspx site with queries a database and do some calculation with the responded values. It takes very long and I want to update my site while calculating to inform the user.</p>
  
  <p>I tried it with an <code>ajax update panel</code> but get a timeout error (think the calculation takes too long). Also tried <a href="https://msdn.microsoft.com/de-de/library/wkays279.aspx" rel="nofollow">https://msdn.microsoft.com/de-de/library/wkays279.aspx</a> but get an error that asynch threading not allowed.</p>
  
  <p>So has someone a link or a simple example? Thank you!</p>