asp.net-mvc-controllers

Use RedirectToAction in a JsonResult Action?

Hi, using ASP.NET MVC 1.0 and I have a action that returns a JsonResult and I need to redirect another action that also returns a JsonResult action type. The problem is the RedirectToAction() returns a RedirectToRouteResult class and seems there is no way to convert that to JsonResult class ? This is the error I am getting; Error 124 C...

What to return if a controller cannot be found?

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? ...