mvc: does the favicon.ico also look for a controller?
asp.net, asp.net-mvc, asp.net-mvc-2
Solution
Add this to you global.asax:
routes.IgnoreRoute("favicon.ico");
Problem
I get an error: "The controller for path '/favicon.ico' was not found or does not implement IController" Then I thought: how does the framework know for which files it has to instantiate a controller, because the same thing is true for script, css and other files? (never thought of that, but now the favicon is complaining, I was wondering....) But back to the error, why does that occur?