Web Development (ASP.NET)

Menu

[ASP.NET MVC ] Controller Factory

The controller factory is responsible for creating instances of controllers in a request pipeline. Usually you might be content with the MVC’s default implementation but you might be interested in how to configure this to control its behavior.

1. IControllerFactory

The base interface is always a good starting point. This time, it’s “System.Web.Mvc.IControllerFactory“.