title: When to use TaskFactory in Asp.Net Web applications (webform or mvc)?
body: <p>I am working in WPF now...here we use Background_Worker,TaskFactory.StartNew functions and async/await.</p>
  
  <p>In web apps I know that we have AJAX, MVC partial views etc.</p>
  
  <p>My question is do we really use above mentioned async methods (Tasks, sync/await) in Web apps ? If we use, could you give me some examples ?</p>
  
  <p>I have a document generation module in my web app in which I have to fetch data from DB and create documents out of it. Is it a good scenario for async calls? (to call the function and throw..and never care about it).</p>