Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
ASP.NET
ASP.NET MVC 1.0
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
DefaultControllerFactory Class

Represents the controller factory that is registered by default.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
Visual Basic (Declaration)
Public Class DefaultControllerFactory _
    Implements IControllerFactory
Visual Basic (Usage)
Dim instance As DefaultControllerFactory
C#
public class DefaultControllerFactory : IControllerFactory
Visual C++
public ref 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.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker