title: Returning 404 Error ASP.NET MVC 3
body: <p>I have tried the following 2 things to have a page return a 404 error:</p>
  
  <pre><code>public ActionResult Index()
  {
      return new HttpStatusCodeResult(404);
  }
  
  public ActionResult NotFound()
  {
      return HttpNotFound();
  }
  </code></pre>
  
  <p>but both of them just render a blank page.  How can I manually return a 404 error from within ASP.NET MVC 3?</p>