Is there a way to define MIME Types in ASP.NET MVC3 while debugging? I read that you have to define them for the IIS 7 config. but I would like to know if the jplayer videos work if I somehow can define the MIME Types while debugging in IE9. The JPlayer videos work for me in all browsers except IE9.
If that was an .ashx handler (which I also recommend to use instead of direct paths, as it will allow you to perform some security checks) you would be able to add whatever headers you want to the Response object in code-behind. Otherwise, I think you can't take control of mime types or whatsoever. That was discussed here.