I've seen many questions on SO and blogs how to configure MVC to not route request calls to favicon.ico file but no one seems to work for me. The lates blog I read was the Phil Haack http://haacked.com/archive/2008/07/14/make-routing-ignore-requests-for-a-file-extension.aspx but I still see the calls to the favicon.ico file resulting in 404 error status code.
I know that there is many workarounds but would like to know why it just doesn't work with that delcaration :
routes.IgnoreRoute("{*favicon}", new { favicon = @"(.*/)?favicon.ico(/.*)?" });
which is at the begining of the route registrations.
I'm working with MVC 3, Chrome and IISExpress
What I'm missing ?