ControllerBase Class
Represents the base class for all MVC controllers.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | ControllerBase() | Initializes a new instance of the ControllerBase class. |
| Name | Description | |
|---|---|---|
![]() | ControllerContext | Gets or sets the controller context. |
![]() | TempData | Gets or sets the dictionary for temporary data. |
![]() | ValidateRequest | Gets or sets a value that indicates whether request validation is enabled for this request. |
![]() | ValueProvider | Gets or sets the value provider for the controller. |
![]() | ViewBag | Gets the dynamic view data dictionary. |
![]() | ViewData | Gets or sets the dictionary for view data. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Execute(RequestContext) | Executes the specified request context. |
![]() | ExecuteCore() | Executes the request. |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Initialize(RequestContext) | Initializes the specified request context. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IController.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.
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)