title: Auto refresh in ASP.NET MVC
body: <p>In webforms I'd do</p>
  
  <pre><code>    &lt;script type="text/JavaScript"&gt;
      function timedRefresh(timeoutPeriod) {
          setTimeout("location.reload(true);", timeoutPeriod);
      }
      &lt;/script&gt;
  
      &lt;body onload="JavaScript:timedRefresh(5000);"&gt;
  </code></pre>
  
  <p>or codebehind Page_Load</p>
  
  <pre><code>Response.AddHeader("Refresh", "5");
  </code></pre>
  
  <p><strong>Question</strong>  How to make the screen refresh every 5 seconds in ASP.NET MVC3</p>