title: Custom HttpHandler not firing, returning 404 in ASP.NET MVC Application
body: <p>I don't know if it is relevant that this is happening in an MVC website but thought I'd mention it anyway.</p>
  
  <p>In my web.config I have these lines:</p>
  
  <pre><code>&lt;add verb="*" path="*.imu" type="Website.Handlers.ImageHandler, Website, Version=1.0.0.0, Culture=neutral" /&gt;
  </code></pre>
  
  <p>in the Website project I have a folder named Handlers which contains my ImageHandler class. It looks like this (I have removed the processrequest code)</p>
  
  <pre><code>using System;
  using System.Globalization;
  using System.IO;
  using System.Web;
  
  namespace Website.Handlers
  {
      public class ImageHandler : IHttpHandler
      {
          public virtual void ProcessRequest(HttpContext context)
          {
              //the code here never gets fired
          }
  
          public virtual bool IsReusable
          {
              get { return true; }
          }
      }
  }
  </code></pre>
  
  <p>If I run my website and go to /something.imu it just returns a 404 error.</p>
  
  <p>I am using Visual Studio 2008 and trying to run this on the ASP.Net development server.</p>
  
  <p>I've been looking for several hours and had it working in a seperate empty website. So I don't understand why it won't work inside an existing website. There are no other references to the *.imu path btw.</p>