title: C# solution design to display web content from a complex calculation?
body: <p>I need to process a complex calculation to generate a report and display as a webpage.  It has to be run periodically to recalculate the formula based on new input.</p>
  
  <p>I have a few ideas:
  1. Create a web service to process and cache the content and then create a web application to request the content via HTTP periodically.
  2. Create a service to output a file periodically and then create a web application to read the file.
  3. Create a web application which has a task in there running periodically to generate the output and then create a webpage to display it.</p>
  
  <p>I have read some of the old threads but I want to know which is the better approach, the pros and cons or if there are a newer way of implementing this?</p>