title: Where should I save files dynamically generated by the ASP.NET Web API?
body: <p>My ASP.NET Web API service dynamically generates files for users to download.</p>
  
  <p>The remote application sends a request to the API which:</p>
  
  <ol>
  <li>Generates the file and saves it ----> where?? &lt;-----</li>
  <li>Returns the URL of the file location so it can be downloaded.</li>
  </ol>
  
  <p>Nothing fancy there, but my question is <strong>what are the best practices for where to save these files?</strong>
  Some digging around suggests that App_Data might be the appropriate place but I haven't seen anything definitive.</p>
  
  <p>Some considerations:</p>
  
  <ul>
  <li>This all happens on a company intranet so security isn't really a big deal.</li>
  <li>The files are essentially temporary. Is there a simple way to delete the file once it's downloaded? Not a big deal - I can set up a scheduled task to clean out whatever the destination folder is.</li>
  </ul>
  
  <p>Thanks!</p>