0

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?

Øyvind
  • 1,600
  • 1
  • 14
  • 33

1 Answers1

0

Uhm, I should've looked a bit further before asking: Custom Controller Factory, Dependency Injection / Structuremap problems with ASP.NET MVC

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

Community
  • 1
  • 1
Øyvind
  • 1,600
  • 1
  • 14
  • 33