Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ControllerBase Class

 

Represents the base class for all MVC controllers.

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

System.Object
  System.Web.Mvc.ControllerBase
    System.Web.Mvc.Controller

[<AbstractClass>]
type ControllerBase = 
    class
        interface IController
    end

NameDescription
System_CAPS_protmethodControllerBase()

Initializes a new instance of the ControllerBase class.

NameDescription
System_CAPS_pubpropertyControllerContext

Gets or sets the controller context.

System_CAPS_pubpropertyTempData

Gets or sets the dictionary for temporary data.

System_CAPS_pubpropertyValidateRequest

Gets or sets a value that indicates whether request validation is enabled for this request.

System_CAPS_pubpropertyValueProvider

Gets or sets the value provider for the controller.

System_CAPS_pubpropertyViewBag

Gets the dynamic view data dictionary.

System_CAPS_pubpropertyViewData

Gets or sets the dictionary for view data.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodExecute(RequestContext)

Executes the specified request context.

System_CAPS_protmethodExecuteCore()

Executes the request.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodInitialize(RequestContext)

Initializes the specified request context.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIController.Execute(RequestContext)

Executes the specified request context.

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

Return to top
Show:
© 2015 Microsoft