Archives
-
ASP.Net MVC Framework - Assign a ViewFactory to a Controller
I have seen several posts about how to assign a ViewFactory to a Controller, most of the case the code looks like this:
public class HomeController : Controller
{
public HomeController()
{
this.ViewFactory = new MyViewFactory();
}
}