title: ASP.NET MVC VirtualPathProvider not working under IIS 6
body: <p>By ASP.NET MVC plugin architecture, <a href="https://stackoverflow.com/questions/340183/plug-in-architecture-for-asp-net-mvc">Plug-in architecture for ASP.NET MVC</a></p>
  
  <p>I have separated DLL(plugin) which contains the views, css and javascript files in the resources. So my own VirtualPathProvider will load the content out from the DLL if that is for the plugin. It works all fine during development. But It appears not working once I deployed it in IIS. (I mapped the whidcard in IIS 6 and the views are showing)</p>
  
  <p>I have registered my VirtualPathProvider in global.asax as</p>
  
  <pre><code>protected void Application_Start()
  {
      RegisterRoutes(RouteTable.Routes);
      HostingEnvironment.RegisterVirtualPathProvider(new MyVirtualPathProvider());
  }
  </code></pre>
  
  <p>For example.
  <a href="http://localhost/Plugin/MyPlugin.dll/Styles.MyStyles.css" rel="nofollow noreferrer">http://localhost/Plugin/MyPlugin.dll/Styles.MyStyles.css</a></p>
  
  <p>This should be loaded from the plugin.dll but IIS returns 404. </p>
  
  <p>I guess the static files are all handled by the IIS and not went through asp.net and my VirtualPathProvider ? Is there way to get around this? Please shed some light.</p>
  
  <p>Thanks in advance.</p>