DefaultControllerFactory Class

Represents the controller factory that is registered by default.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public class DefaultControllerFactory : IControllerFactory

This class provides a convenient base class for developers who want to make only minor changes to controller creation. This class calls the Dispose method for any controller that implements the IDisposable interface.

System.Object
  System.Web.Mvc.DefaultControllerFactory

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show: