ControllerBase ControllerBase ControllerBase Class

Definition

Represents the base class for all MVC controllers.

public abstract class ControllerBase : System.Web.Mvc.IController
type ControllerBase = class
    interface IController
Public MustInherit Class ControllerBase
Implements IController
Inheritance
ControllerBaseControllerBaseControllerBase
Derived
Implements

Constructors

ControllerBase() ControllerBase() ControllerBase()

Initializes a new instance of the ControllerBase class.

Properties

ControllerContext ControllerContext ControllerContext

Gets or sets the controller context.

TempData TempData TempData

Gets or sets the dictionary for temporary data.

ValidateRequest ValidateRequest ValidateRequest

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

ValueProvider ValueProvider ValueProvider

Gets or sets the value provider for the controller.

ViewBag ViewBag ViewBag

Gets the dynamic view data dictionary.

ViewData ViewData ViewData

Gets or sets the dictionary for view data.

Methods

Execute(RequestContext) Execute(RequestContext) Execute(RequestContext)

Executes the specified request context.

ExecuteCore() ExecuteCore() ExecuteCore()

Executes the request.

Initialize(RequestContext) Initialize(RequestContext) Initialize(RequestContext)

Initializes the specified request context.

Explicit Interface Implementations

IController.Execute(RequestContext) IController.Execute(RequestContext) IController.Execute(RequestContext)

Executes the specified request context.

Applies to