ASP.NET MVC - Reference Manual
Class
| Class | Description |
|---|---|
| AcceptVerbsAttribute | Represents an attribute that specifies the HTTP verb that an action method will respond to. |
| ActionDescriptor | Provides information about an action method, such as its name, controller, parameters, attributes, and filters. |
| ActionExecutedContext | Provides the context for the ActionExecuted method of the ActionFilterAttribute class. |
| ActionExecutingContext | Provides the context for the ActionExecuting method of the ActionFilterAttribute class. |
| ActionFilterAttribute | Represents the base class for filter attributes. |
| ActionMethodSelectorAttribute | Represents an attribute used to influence the selection of an action method. |
| ActionNameAttribute | Represents an attribute for the name of an action. |
| ActionNameSelectorAttribute | Represents an attribute that can affect the selection of an action method. |
| ActionResult | Encapsulates the result of an action method and is used to perform framework-level operations on behalf of the action method. |
| AdditionalMetadataAttribute | Provides a class that implements the IMetadataAware interface to support additional metadata. |
| AjaxHelper | Represents support for rendering HTML in AJAX scenarios within a view. |
| AjaxHelper(TModel) | Represents support for rendering HTML in AJAX scenarios within a strongly typed view. |
| AjaxRequestExtensions | Represents a class that extends the HttpRequestBase class by adding functionality to determine whether an HTTP request is an AJAX request. |
| AllowHtmlAttribute | Allows a request to include HTML markup during model binding by skipping request validation for a property. (It is strongly recommended that applications explicitly check all models that disable request validation to prevent script attacks.) |
| AreaRegistration | Provides a way to register one or more areas within an ASP.NET MVC application. |
| AreaRegistrationContext | Encapsulates the information required for registering an area within an ASP.NET MVC application. |
| AssociatedMetadataProvider | Provides an abstract class for implementing metadata providers. |
| AssociatedValidatorProvider | Provides an abstract class for classes used to implement validation providers. |
| AsyncController | Provides the base class for asynchronous controllers. |
| AsyncTimeoutAttribute | Represents an attribute used to set the timeout value, in milliseconds, for an asynchronous method. |
| AuthorizationContext | Encapsulates the information required when using the AuthorizeAttribute. |
| AuthorizeAttribute | Represents an attribute used to restrict access to an action method by callers. |
| BindAttribute | Represents an attribute used to provide detailed information about how model binding should be performed for a parameter. |
| BuildManagerCompiledView | Represents the base class for views compiled by the BuildManager class before the view engine renders the view. |
| BuildManagerViewEngine | Provides a base class for view engines. |
| ByteArrayModelBinder | Maps a browser request to a byte array. |
| ChildActionOnlyAttribute | Represents an attribute used to indicate that an action method should be called only as a child action. |
| ChildActionValueProvider | Represents a value provider for values in a child action. |
| ChildActionValueProviderFactory | Represents a factory used to create value provider objects for child actions. |
| ClientDataTypeModelValidatorProvider | Returns the client data type model validator. |
| CompareAttribute | Provides an attribute used to compare two properties of a model. |
| ContentResult | Represents a user-defined content type that is the result of an action method. |
| Controller | Provides methods for responding to HTTP requests made to an ASP.NET MVC website. |
| ControllerActionInvoker | Represents a class responsible for invoking the action methods of a controller. |
| ControllerBase | Represents the base class for all MVC controllers. |
| ControllerBuilder | Represents a class responsible for dynamically generating controllers. |
| ControllerContext | Encapsulates information about an HTTP request that matches the specified RouteBase and ControllerBase instances. |
| ControllerDescriptor | Encapsulates information describing a controller, such as its name, type, and actions. |
| ControllerInstanceFilterProvider | Adds a controller to the FilterProviderCollection instance. |
| CustomModelBinderAttribute | Represents an attribute that invokes a custom model binder. |
| DataAnnotationsModelMetadata | Provides a container for common metadata, the DataAnnotationsModelMetadataProvider class, and the DataAnnotationsModelValidator class of data models. |
| DataAnnotationsModelMetadataProvider | Implements the default model metadata provider for ASP.NET MVC. |
| DataAnnotationsModelValidator | Provides model validators. |
| DataAnnotationsModelValidator(TAttribute) | Provides model validators for a specified validation type. |
| DataAnnotationsModelValidatorProvider | Implements the default validation provider for ASP.NET MVC. |
| DataErrorInfoModelValidatorProvider | Provides a container for error message model validators. |
| DefaultControllerFactory | Indicates that a controller factory is registered by default. |
| DefaultModelBinder | Maps browser requests to data objects. This class provides a concrete implementation of the model binder. |
| DefaultViewLocationCache | Represents an in-memory cache of view locations. |
| DependencyResolver | Provides a registration point for dependency resolvers that implement the IDependencyResolver interface or the common service locator IServiceLocator interface. |
| DependencyResolverExtensions | Provides type-safe implementations of GetService and GetServices. |
| DictionaryValueProvider(TValue) | Represents the base class for value providers whose values come from a collection that implements the IDictionary(TKey, TValue) interface. |
| EmptyModelMetadataProvider | Provides an empty metadata provider for data models that do not require metadata. |
| EmptyModelValidatorProvider | Provides an empty validation provider for models that do not require validators. |
| EmptyResult | Represents a result that performs no operation, such as a controller action method that returns nothing. |
| ExceptionContext | Provides the context for using the HandleErrorAttribute class. |
| ExpressionHelper | Provides a helper class for obtaining model names from expressions. |
| FieldValidationMetadata | Provides a container for client-side field validation metadata. |
| FileContentResult | Sends the contents of a binary file to the response. |
| FilePathResult | Sends the contents of a file to the response. |
| FileResult | Represents a base class for sending binary file content to the response. |
| FileStreamResult | Sends binary content to the response using a Stream instance. |
| Filter | Represents a metadata class that contains references to implementations of one or more filter interfaces, filter order, and filter scope. |
| FilterAttribute | Represents the base class for action and result filter attributes. |
| FilterAttributeFilterProvider | Defines the filter provider for filter attributes. |
| FilterInfo | Encapsulates information about available action filters. |
| FilterProviderCollection | Represents a collection of filter providers for the application. |
| FilterProviders | Provides a registration point for filters. |
| FormCollection | Contains the form value providers for the application. |
| FormContext | Encapsulates the information needed to validate and process input data from an HTML form. |
| FormValueProvider | Represents a value provider for form values contained in a NameValueCollection object. |
| FormValueProviderFactory | Represents a class that is responsible for creating new instances of form value provider objects. |
| GlobalFilterCollection | Represents a class that contains all global filters. |
| GlobalFilters | Represents the global filter collection. |
| HandleErrorAttribute | Represents an attribute that is used to handle exceptions raised by action methods. |
| HandleErrorInfo | Encapsulates information about handling errors raised by action methods. |
| HiddenInputAttribute | Represents an attribute that is used to indicate whether a property value or field value should be rendered as a hidden input element. |
| HtmlHelper | Represents support for rendering HTML controls in views. |
| HtmlHelper(TModel) | Represents support for rendering HTML controls in strongly typed views. |
| HttpDeleteAttribute | Represents an attribute that is used to restrict an action method so that it handles only HTTP DELETE requests. |
| HttpFileCollectionValueProvider | Represents a value provider to be used for values from an HTTP file collection. |
| HttpFileCollectionValueProviderFactory | Represents a class that is responsible for creating new instances of HTTP file collection value provider objects. |
| HttpGetAttribute | Represents an attribute that is used to restrict an action method so that it handles only HTTP GET requests. |
| HttpNotFoundResult | Defines an object that indicates that the requested resource was not found. |
| HttpPostAttribute | Represents an attribute that is used to restrict an action method so that it handles only HTTP POST requests. |
| HttpPostedFileBaseModelBinder | Binds a model to a posted file. |
| HttpPutAttribute | Represents an attribute that is used to restrict an action method so that it handles only HTTP PUT requests. |
| HttpRequestExtensions | Extends the HttpRequestBase class, which contains the HTTP values sent by the client in a web request. |
| HttpStatusCodeResult | Provides a method for returning an action result with a specific HTTP response status code and description. |
| HttpUnauthorizedResult | Represents the result of an unauthorized HTTP request. |
| JavaScriptResult | Sends JavaScript content to the response. |
| JsonResult | Represents a class that is used to send content in JSON format to the response. |
| JsonValueProviderFactory | Enables action methods to send and receive text in JSON format and to pass the JSON text to action method parameters via model binding. |
| LinqBinaryModelBinder | Maps browser requests to LINQ Binary objects. |
| ModelBinderAttribute | Represents an attribute that is used to associate a model type with a model builder type. |
| ModelBinderDictionary | Represents a class that contains all model binders for the application, listed by binder type. |
| ModelBinderProviderCollection | Provides a container for model binder providers. |
| ModelBinderProviders | Provides a container for model binder providers. |
| ModelBinders | Provides global access to the application's model binder. |
| ModelBindingContext | Provides context for running the model binder. |
| ModelClientValidationEqualToRule | Provides a container for equality validation rules sent to the browser. |
| ModelClientValidationRangeRule | Provides a container for range validation rules sent to the browser. |
| ModelClientValidationRegexRule | Provides a container for regular expression client-side validation rules sent to the browser. |
| ModelClientValidationRemoteRule | Provides a container for remote validation rules sent to the browser. |
| ModelClientValidationRequiredRule | Provides a container for client-side validation of required fields. |
| ModelClientValidationRule | Provides a base container for client-side validation rules sent to the browser. |
| ModelClientValidationStringLengthRule | Provides a container for string length validation rules sent to the browser. |
| ModelError | Represents an error that occurs during model binding. |
| ModelErrorCollection | A collection of ModelError instances. |
| ModelMetadata | Provides a container for common metadata, the ModelMetadataProvider class, and the ModelValidator class for the data model. |
| ModelMetadataProvider | Provides an abstract base class for custom metadata providers. |
| ModelMetadataProviders | Provides a container for the current ModelMetadataProvider instance. |
| ModelState | Encapsulates the state of model binding to an action method parameter or the action method parameter itself. |
| ModelStateDictionary | Represents the state of an attempt to bind a posted form to an action method, including validation information. |
| ModelValidationResult | Provides a container for validation results. |
| ModelValidator | Provides a base class for implementing validation logic. |
| ModelValidatorProvider | Provides a list of validators for a model. |
| ModelValidatorProviderCollection | Provides a container for a list of validation providers. |
| ModelValidatorProviders | Provides a container for the current validation provider. |
| MultiSelectList | Represents a list of items from which a user can select multiple items. |
| MvcFilter | When implemented in a derived class, provides a metadata class that contains references to implementations of one or more filter interfaces, filter order, and filter scope. |
| MvcHandler | Selects the controller that will handle an HTTP request. |
| MvcHtmlString | Represents an HTML-encoded string that should not be encoded again. |
| MvcHttpHandler | Validates and processes an HTTP request. |
| MvcRouteHandler | Creates an object that implements the IHttpHandler interface and passes request context to the object. |
| MvcWebRazorHostFactory | Creates an instance of the MvcWebPageRazorHost class. |
| NameValueCollectionExtensions | Extends a NameValueCollection object so that the collection can be copied to a specified dictionary. |
| NameValueCollectionValueProvider | Represents the base class for value providers whose values come from a NameValueCollection object. |
| NoAsyncTimeoutAttribute | Provides a convenience wrapper for the AsyncTimeoutAttribute attribute. |
| NonActionAttribute | Represents an attribute that is used to indicate that a controller method is not an action method. |
| OutputCacheAttribute | Represents an attribute that is used to mark an action method whose output will be cached. |
| ParameterBindingInfo | Encapsulates information related to binding action method parameters to a data model. |
| ParameterDescriptor | Contains information that describes a parameter. |
| PartialViewResult | Represents a base class for sending a partial view to the response. |
| PreApplicationStartCode | Provides a registration point for pre-start code in ASP.NET Razor applications. |
| QueryStringValueProvider | Represents a value provider for the query string contained in a NameValueCollection object. |
| QueryStringValueProviderFactory | Represents a class that is responsible for creating new instances of query string value provider objects. |
| RangeAttributeAdapter | Provides an adapter for the RangeAttribute attribute. |
| RazorView | Represents a class used to create views with Razor syntax. |
| RazorViewEngine | Represents a view engine for rendering web pages that use ASP.NET Razor syntax. |
| RedirectResult | Controls the processing of application actions by redirecting to a specified URI. |
| RedirectToRouteResult | Represents a result that performs a redirect using a specified route value dictionary. |
| ReflectedActionDescriptor | Contains information that describes an action method using reflection. |
| ReflectedControllerDescriptor | Contains information that describes a controller using reflection. |
| ReflectedParameterDescriptor | Contains information that describes an action method parameter using reflection. |
| RegularExpressionAttributeAdapter | Provides an adapter for the RegularExpressionAttribute attribute. |
| RemoteAttribute | Provides an attribute for remote validation using the jQuery validation plugin. |
| RequiredAttributeAdapter | Provides an adapter for the RequiredAttributeAttribute attribute. |
| RequireHttpsAttribute | Represents an attribute that is used to force an insecure HTTP request to be resent over HTTPS. |
| ResultExecutedContext | Provides context for the OnResultExecuted method of the ActionFilterAttribute class. |
| ResultExecutingContext | Provides context for the OnResultExecuting method of the ActionFilterAttribute class. |
| RouteCollectionExtensions | Extends the RouteCollection object for MVC routing. |
| RouteDataValueProvider | Represents a value provider for route data contained in an object that implements the IDictionary(TKey, TValue) interface. |
| RouteDataValueProviderFactory | Represents a factory used to create route data value provider objects. |
| SelectList | Represents a list from which a user can select an item. |
| SelectListItem | Represents a selected item in an instance of the SelectList class. |
| SessionStateAttribute | Specifies the session state of a controller. |
| SessionStateTempDataProvider | Provides session-state data for the current TempDataDictionary object. |
| StringLengthAttributeAdapter | Provides an adapter for the StringLengthAttribute attribute. |
| TempDataDictionary | Represents a set of data that persists only from one request to the next. |
| TemplateInfo | Encapsulates information about the current template context. |
| UrlHelper | Contains methods that are used to generate URLs for ASP.NET MVC within an application. |
| UrlParameter | Represents optional parameters used by the MvcHandler class during routing. |
| ValidatableObjectAdapter | Provides a validatable object adapter. |
| ValidateAntiForgeryTokenAttribute | Represents an attribute used to prevent request forgery. |
| ValidateInputAttribute | Represents an attribute that is used to mark action methods whose input must be validated. |
| ValueProviderCollection | Represents a collection of value provider objects for the application. |
| ValueProviderDictionary | Obsolete.Represents a dictionary of value providers for the application. |
| ValueProviderFactories | Represents a container for value provider factory objects. |
| ValueProviderFactory | Represents a factory used to create value provider objects. |
| ValueProviderFactoryCollection | Represents a collection of value provider factories for the application. |
| ValueProviderResult | Represents the result of binding a value (such as a value sent from a form or a value in a query string) to an action method parameter property or to the parameter itself. |
| ViewContext | Encapsulates information related to rendering a view. |
| ViewDataDictionary | Represents a container that is used to pass data between a controller and a view. |
| ViewDataDictionary(TModel) | Represents a container that is used to pass strongly typed data between a controller and a view. |
| ViewDataInfo | Encapsulates information about the current template content used by development templates and about HTML helpers that interact with templates. |
| ViewEngineCollection | Represents a collection of view engines that are available to the application. |
| ViewEngineResult | Represents the result of locating a view engine. |
| ViewEngines | Represents a collection of view engines that are available to the application. |
| ViewMasterPage | Represents information that is required to generate a master view page. |
| ViewMasterPage(TModel) | Represents information that is required to generate a strongly typed master view page. |
| ViewPage | Represents properties and methods that are required to render a view as a Web Forms page. |
| ViewPage(TModel) | Represents information that is required to render a strongly typed view as a Web Forms page. |
| ViewResult | Represents a class that is used to render a view using an IView instance returned by an IViewEngine object. |
| ViewResultBase | Represents a base class that is used to provide a model to a view and to render the view to the response. |
| ViewStartPage | Provides an abstract class that can be used to implement a view start (master) page. |
| ViewTemplateUserControl | Provides a container for TemplateInfo objects. |
| ViewTemplateUserControl(TModel) | Provides a container for TemplateInfo objects. |
| ViewType | Represents the type of a view. |
| ViewUserControl | Represents information that is required to generate a user control. |
| ViewUserControl(TModel) | Represents information that is required to generate a strongly typed user control. |
| VirtualPathProviderViewEngine | Represents an abstract base class implementation of the IViewEngine interface. |
| WebFormView | Represents information that is required when generating a Web Forms page in ASP.NET MVC. |
| WebFormViewEngine | Represents a view engine that is used to render a Web Forms page to the response. |
| WebViewPage | Represents properties and methods that are required to render a view that uses the ASP.NET Razor syntax. |
| WebViewPage(TModel) | Represents properties and methods that are required to render a view that uses the ASP.NET Razor syntax. |
Interfaces
| Interface | Description |
|---|---|
| IActionFilter | Defines methods that are used in action filters. |
| IActionInvoker | Defines the contract for an action invoker, which is used to invoke an action in response to an HTTP request. |
| IAuthorizationFilter | Defines methods that are required for an authorization filter. |
| IClientValidatable | Provides a method for the ASP.NET MVC validation framework to discover at run time whether a validator supports client-side validation. |
| IController | Defines methods that are required by a controller. |
| IControllerActivator | Provides fine-grained control over how controllers are instantiated using dependency injection. |
| IControllerFactory | Defines methods that are required by a controller factory. |
| IDependencyResolver | Defines methods that simplify service location and dependency resolution. |
| IExceptionFilter | Defines methods that are required by an exception filter. |
| IFilterProvider | Provides an interface for finding filters. |
| IMetadataAware | Provides an interface for exposing attributes to the AssociatedMetadataProvider class. |
| IModelBinder | Defines the methods required by a model binder. |
| IModelBinderProvider | Defines methods for dynamically implementing model binding for classes that implement the IModelBinder interface. |
| IMvcFilter | Defines members for specifying filter order and whether multiple filters are allowed. |
| IResultFilter | Defines the methods required by a result filter. |
| IRouteWithArea | Associates a route with an area in an ASP.NET MVC application. |
| ITempDataProvider | Defines the contract for temp data providers, which store data for viewing in the next request. |
| IUnvalidatedValueProvider | Represents an IValueProvider interface that can skip request validation. |
| IValueProvider | Defines the methods required by value providers in ASP.NET MVC. |
| IView | Defines the methods required by a view. |
| IViewDataContainer | Defines the methods required by the view data dictionary. |
| IViewEngine | Defines the methods required by a view engine. |
| IViewLocationCache | Defines the methods required to cache view locations in memory. |
| IViewPageActivator | Provides fine-grained control over how view pages are created using dependency injection. |
Other extensions