Controller Properties
The Controller type exposes the following members.
| Name | Description | |
|---|---|---|
|
ActionInvoker | Gets the action invoker for the controller. |
|
AsyncManager | Provides asynchronous operations. |
|
Binders | Gets or sets the binder. |
|
ControllerContext | Gets or sets the controller context. (Inherited from ControllerBase.) |
|
DisableAsyncSupport | Disable asynchronous support to provide backward compatibility. |
|
HttpContext | Gets HTTP-specific information about an individual HTTP request. |
|
ModelState | Gets the model state dictionary object that contains the state of the model and of model-binding validation. |
|
Profile | Gets the HTTP context profile. |
|
Request | Gets the HttpRequestBase object for the current HTTP request. |
|
Response | Gets the HttpResponseBase object for the current HTTP response. |
|
RouteData | Gets the route data for the current request. |
|
Server | Gets the HttpServerUtilityBase object that provides methods that are used during Web request processing. |
|
Session | Gets the HttpSessionStateBase object for the current HTTP request. |
|
TempData | Gets or sets the dictionary for temporary data. (Inherited from ControllerBase.) |
|
TempDataProvider | Gets the temporary-data provider object that is used to store data for the next request. |
|
Url | Gets the URL helper object that is used to generate URLs by using routing. |
|
User | Gets the user security information for the current HTTP request. |
|
ValidateRequest | Gets or sets a value that indicates whether request validation is enabled for this request. (Inherited from ControllerBase.) |
|
ValueProvider | Gets or sets the value provider for the controller. (Inherited from ControllerBase.) |
|
ViewBag | Gets the dynamic view data dictionary. (Inherited from ControllerBase.) |
|
ViewData | Gets or sets the dictionary for view data. (Inherited from ControllerBase.) |
|
ViewEngineCollection | Gets the view engine collection. |
Show: