views:

17

answers:

1

I just encountered an error in an MVC app I'm building because the browser requested /favicon.ico which matches a route, but for which there is no controller.

What is the recommended way of handling a controller request such as this?

A: 

Uhm, I should've looked a bit further before asking: http://stackoverflow.com/questions/719678/custom-controller-factory-dependency-injection-structuremap-problems-with-asp

A simple 'ignore route' entry will do the trick.

Øyvind
Don't forget to checkmark your answer as the correct answer :)
Rob Olmos
Yeah, I will. But I can't until 2 days have passed :)
Øyvind