title: ASP.NET MVC : how do I return 304 "Not Modified" status?
body: <p>ASP.NET MVC 3.0, IIS 7, .NET 4</p>
  
  <p>I have an action that returns data that seldom changes (almost static).</p>
  
  <p>Is there an easy way to:  </p>
  
  <ol>
  <li>return 304 "Not Modified" from action;  </li>
  <li>include "Last-Modified" time stamp in the response.</li>
  </ol>
  
  <p>I use <code>return Content('my data');</code> for action result.</p>
  
  <p>Basically I want an easy way to do what is talked about in this article : <a href="http://weblogs.asp.net/jeff/archive/2009/07/01/304-your-images-from-a-database.aspx" rel="noreferrer">http://weblogs.asp.net/jeff/archive/2009/07/01/304-your-images-from-a-database.aspx</a></p>