ASP.NET MVC - Reference Manual
This section provides the ASP.NET MVC Reference Manual, which will provide a relevant reference for your learning.
kind | describe |
---|---|
AcceptVerbsAttribute | Represents an attribute that specifies the HTTP verb to which the action method will respond. |
ActionDescriptor | Provides information about the action method, such as the action method's name, controllers, parameters, properties, and filters. |
ActionExecutedContext | Provides context for the ActionExecuted method of the ActionFilterAttribute class. |
ActionExecutingContext | Provides context for the ActionExecuting method of the ActionFilterAttribute class. |
ActionFilterAttribute | Base class representing filter attributes. |
ActionMethodSelectorAttribute | Represents a property that affects the selection of an operation method. |
ActionNameAttribute | Attribute representing a name to use for the operation. |
ActionNameSelectorAttribute | Represents a characteristic that affects the choice of operation method. |
ActionResult | Encapsulates the results 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 in views. |
AjaxHelper(TModel) | Represents support for rendering HTML in AJAX scenarios in strongly typed views. |
AjaxRequestExtensions | Represents a class that extends the HttpRequestBase class to add functionality to determine whether an HTTP request is an AJAX request. |
AllowHtmlAttribute | Allows requests to contain HTML markup during model binding by skipping request validation of attributes. (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 zones within an ASP.NET MVC application. |
AreaRegistrationContext | Encapsulates the information required to register a zone within an ASP.NET MVC application. |
AssociatedMetadataProvider | Provides abstract classes for implementing metadata providers. |
AssociatedValidatorProvider | Provides an abstract class for the class that implements the authentication provider. |
AsyncController | Provides a base class for asynchronous controllers. |
AsyncTimeoutAttribute | Represents an attribute that sets the timeout value (in milliseconds) for an asynchronous method. |
AuthorizationContext | Encapsulates the information required when using the AuthorizeAttribute attribute. |
AuthorizeAttribute | Represents an attribute used to restrict caller access to an action method. |
BindAttribute | Represents an attribute that provides details about how model binding to parameters should occur. |
BuildManagerCompiledView | A base class that represents a view compiled by the BuildManager class before the view engine renders the view. |
BuildManagerViewEngine | Provides a base class for the view engine. |
ByteArrayModelBinder | Maps browser requests to byte arrays. |
ChildActionOnlyAttribute | Represents an attribute that indicates that an action method should only be called as a sub-action. |
ChildActionValueProvider | A value provider that represents the value in the suboperation. |
ChildActionValueProviderFactory | Represents a factory used to create value provider objects for sub-operations. |
ClientDataTypeModelValidatorProvider | Returns the client data type model validator. |
CompareAttribute | Provides properties for comparing 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 that is responsible for calling the controller's action methods. |
ControllerBase | Represents the base class for all MVC controllers. |
ControllerBuilder | Represents a class that is responsible for dynamically generating controllers. |
ControllerContext | Encapsulates information about HTTP requests that match the specified RouteBase and ControllerBase instances. |
ControllerDescriptor | Encapsulates information that describes the controller, such as the controller's name, type, and operations. |
ControllerInstanceFilterProvider | Add the controller to the FilterProviderCollection instance. |
CustomModelBinderAttribute | Represents an attribute that calls a custom model binder. |
DataAnnotationsModelMetadata | Provides containers for the data model's public metadata, the DataAnnotationsModelMetadataProvider class, and the DataAnnotationsModelValidator class. |
DataAnnotationsModelMetadataProvider | Implements the default model metadata provider for ASP.NET MVC. |
DataAnnotationsModelValidator | Provides model validation procedures. |
DataAnnotationsModelValidator(TAttribute) | Provides a model validator for the specified validation type. |
DataAnnotationsModelValidatorProvider | Implements the default authentication provider for ASP.NET MVC. |
DataErrorInfoModelValidatorProvider | Provides a container for the error message model validator. |
DefaultControllerFactory | Represents a controller factory that is registered by default. |
DefaultModelBinder | Mapping browser requests to data objects. This class provides a concrete implementation of the model binder. |
DefaultViewLocationCache | An in-memory cache representing the view's location. |
DependencyResolver | Provides a registration point for dependency resolvers that implement the IDependencyResolver or public service locator IServiceLocator interface. |
DependencyResolverExtensions | Provides type-safe implementations of GetService and GetServices. |
DictionaryValueProvider(TValue) | Represents a base class for value providers whose values come from a collection that implements the IDictionary(TKey, TValue) interface. |
EmptyModelMetadataProvider | Provide an empty metadata provider for data models that do not require metadata. |
EmptyModelValidatorProvider | Provide an empty validation provider for models that do not require a validator. |
EmptyResult | Represents the result of performing no action, such as a controller action method that returns nothing. |
ExceptionContext | P provides the context for using the HandleErrorAttribute class. |
ExpressionHelper | Provides a helper class for getting the model name from an expression. |
FieldValidationMetadata | Provides a container for client field validation metadata. |
FileContentResult | Send the contents of the binary file to the response. |
FilePathResult | Send the contents of the file to the response. |
FileResult | Represents a base class for sending binary file contents to a response. |
FileStreamResult | Use a Stream instance to send binary content to the response. |
Filter | Represents a metadata class that contains references to implementations of one or more filter interfaces, filter order, and filter scope. |
FilterAttribute | Base class representing operation and result filter attributes. |
FilterAttributeFilterProvider | Filter provider that defines filter properties. |
FilterInfo | Encapsulates information about available action filters. |
FilterProviderCollection | Represents a collection of filter providers for an application. |
FilterProviders | Provides a registration point for the filter. |
FormCollection | Contains the application's form value provider. |
FormContext | Encapsulates the information needed to validate and process input data in an HTML form. |
FormValueProvider | A value provider that represents the 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 a global filter collection. |
HandleErrorAttribute | Represents an attribute used to handle exceptions thrown by action methods. |
HandleErrorInfo | Encapsulates information about handling errors raised by action methods. |
HiddenInputAttribute | Represents an attribute that indicates whether an attribute or field value should be rendered as a hidden input element. |
HtmlHelper | Indicates support for rendering HTML controls in views. |
HtmlHelper(TModel) | Indicates support for rendering HTML controls in strongly typed views. |
HttpDeleteAttribute | Represents an attribute that limits an action method so that it only handles HTTP DELETE requests. |
HttpFileCollectionValueProvider | Represents the value provider to be used for values from the 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 limits an action method so that it only handles HTTP GET requests. |
HttpNotFoundResult | Defines an object used to indicate that the requested resource was not found. |
HttpPostAttribute | Represents an attribute that limits an action method so that it only handles HTTP POST requests. |
HttpPostedFileBaseModelBinder | Bind the model to the published file. |
HttpPutAttribute | Represents an attribute that limits an action method so that it only handles HTTP PUT requests. |
HttpRequestExtensions | Extends the HttpRequestBase class, which contains the HTTP values sent by the client in Web requests. |
HttpStatusCodeResult | Provides a method for returning the results of an operation with a specific HTTP response status code and description. |
HttpUnauthorizedResult | Represents the result of an unauthorized HTTP request. |
JavaScriptResult | Send JavaScript content to the response. |
JsonResult | Represents a class used to send JSON-formatted content to a response. |
JsonValueProviderFactory | Enables action methods to send and receive JSON-formatted text and pass JSON text to the action method's parameters in model binding. |
LinqBinaryModelBinder | Mapping browser requests to LINQ Binary objects. |
ModelBinderAttribute | Represents an attribute used to associate a model type to a model-generator type. |
ModelBinderDictionary | Represents a class that contains all of the application's model binders (listed by binder type). |
ModelBinderProviderCollection | Provides a container for the model binder provider. |
ModelBinderProviders | Provides a container for the model binder provider. |
ModelBinders | Provides global access to the application's model binder. |
ModelBindingContext | Provides a context in which to run the model binder. |
ModelClientValidationEqualToRule | Provides a container for equality validation rules sent to the browser. |
ModelClientValidationRangeRule | Provides a container for scope validation rules to be 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 class container for client-side validation rules sent to the browser. |
ModelClientValidationStringLengthRule | Provides a container for string length validation rules sent to the browser. |
ModelError | Indicates an error that occurred during model binding. |
ModelErrorCollection | A collection of ModelError instances. |
ModelMetadata | Provides containers for the data model's public metadata, the ModelMetadataProvider class, and the ModelValidator class. |
ModelMetadataProvider | Provides an abstract base class for custom metadata providers. |
ModelMetadataProviders | Provides a container for the current ModelMetadataProvider instance. |
ModelState | Encapsulate the state of the model binding into a property of the action method parameter or into the action method parameter itself. |
ModelStateDictionary | Represents the status of an attempt to bind a sent form to an action method that includes 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 the model. |
ModelValidatorProviderCollection | Provides a container for a list of authentication providers. |
ModelValidatorProviders | Provides a container for the current authentication provider. |
MultiSelectList | Represents a list of items from which the user can select multiple items. |
MvcFilter | When implemented in a derived class, provide a metadata class that contains references to implementations of one or more filter interfaces, filter order, and filter scope. |
MvcHandler | Select the controller that will handle HTTP requests. |
MvcHtmlString | An HTML-encoded string representing an HTML-encoded string that should not be encoded again. |
MvcHttpHandler | Authenticate and handle HTTP requests. |
MvcRouteHandler | Create an object that implements the IHttpHandler interface and pass the request context to the object. |
MvcWebRazorHostFactory | Create an instance of the MvcWebPageRazorHost file. |
NameValueCollectionExtensions | Extends the NameValueCollection object to enable copying the collection to the specified dictionary. |
NameValueCollectionValueProvider | Represents the base class for value providers whose values come from NameValueCollection objects. |
NoAsyncTimeoutAttribute | Provides a convenience wrapper for the AsyncTimeoutAttribute attribute. |
NonActionAttribute | Represents an attribute used to indicate that a controller method is not an action method. |
OutputCacheAttribute | Represents an attribute used to mark action methods whose output will be cached. |
ParameterBindingInfo | Encapsulates information related to binding action method parameters to the data model. |
ParameterDescriptor | Contains information describing the parameters. |
PartialViewResult | Represents a base class for sending partial views to responses. |
PreApplicationStartCode | Provides a registration point for ASP.NET Razor application pre-launch code. |
QueryStringValueProvider | A value provider that represents 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 | Adapter that provides the RangeAttribute attribute. |
RazorView | Represents a class for creating views with Razor syntax. |
RazorViewEngine | Represents a view engine for rendering Web pages using ASP.NET Razor syntax. |
RedirectResult | Controls the handling of application operations by redirecting to a specified URI. |
RedirectToRouteResult | Represents the result of performing a redirect using the specified route value dictionary. |
ReflectedActionDescriptor | Contains information describing how reflection operates. |
ReflectedControllerDescriptor | Contains information describing the reflected controller. |
ReflectedParameterDescriptor | Contains information describing the operation method parameters of reflection. |
RegularExpressionAttributeAdapter | Adapter that provides the RegularExpressionAttribute attribute. |
RemoteAttribute | Provides features for remote validators using the jQuery validation plug-in. |
RequiredAttributeAdapter | Adapter that provides the RequiredAttributeAttribute attribute. |
RequireHttpsAttribute | Represents a feature used to force insecure HTTP requests 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 | Extend the RouteCollection object for MVC routing. |
RouteDataValueProvider | A value provider that represents 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 the user can select an item. |
SelectListItem | Represents the selected item in an instance of the SelectList class. |
SessionStateAttribute | Specifies the session state of the controller. |
SessionStateTempDataProvider | Provides session state data for the current TempDataDictionary object. |
StringLengthAttributeAdapter | Adapter that provides the StringLengthAttribute attribute. |
TempDataDictionary | Represents a data set that is persisted only from one request to the next. |
TemplateInfo | Encapsulates information about the current template context. |
UrlHelper | Contains methods for generating URLs for ASP.NET MVC within an application. |
UrlParameter | Represents optional parameters used by the MvcHandler class during routing. |
ValidatableObjectAdapter | Provides a verifiable object adapter. |
ValidateAntiForgeryTokenAttribute | Represents features used to prevent forged requests. |
ValidateInputAttribute | Represents an attribute used to mark action methods whose input must be validated. |
ValueProviderCollection | A collection of value provider objects that represents an application. |
ValueProviderDictionary | Outdated. A dictionary representing the application's value providers. |
ValueProviderFactories | A container representing 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 by 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 the rendered view. |
ViewDataDictionary | Represents a container used to pass data between controllers and views. |
ViewDataDictionary(TModel) | Represents a container used to pass strongly typed data between controllers and views. |
ViewDataInfo | Encapsulates information about the current template content used to develop the template and the HTML helpers that interact with the template. |
ViewEngineCollection | Represents the collection of view engines available to the application. |
ViewEngineResult | Represents the results of positioning the view engine. |
ViewEngines | Represents the collection of view engines available to the application. |
ViewMasterPage | Represents the information required to generate the master view page. |
ViewMasterPage(TModel) | Represents the information required to generate a strongly typed master view page. |
ViewPage | Represents the properties and methods required to render a view into a Web Forms page. |
ViewPage(TModel) | Represents the information required to render a strongly typed view into 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 for providing a model for a view and rendering the view in response. |
ViewStartPage | Provides an abstract class that can be used to implement a view launch (master) page. |
ViewTemplateUserControl | Provides a container for TemplateInfo objects. |
ViewTemplateUserControl(TModel) | Provides a container for TemplateInfo objects. |
ViewType | Indicates the type of view. |
ViewUserControl | Represents the information required to generate the user control. |
ViewUserControl(TModel) | Represents the information required to build a strongly typed user control. |
VirtualPathProviderViewEngine | Represents an abstract base class implementation of the IViewEngine interface. |
WebFormView | Represents the information required when generating Web Forms pages in ASP.NET MVC. |
WebFormViewEngine | Represents a view engine used to render Web Forms pages to responses. |
WebViewPage | Represents the properties and methods required to render views using ASP.NET Razor syntax. |
WebViewPage(TModel) | Represents the properties and methods required to render views using ASP.NET Razor syntax. |
interface | describe |
---|---|
IActionFilter | Defines the method used in the action filter. |
IActionInvoker | Defines the contract for an operation caller that invokes an operation in response to an HTTP request. |
IAuthorizationFilter | Define the methods required for authorization filters. |
IClientValidatable | Provides a method for the ASP.NET MVC validation framework to discover at runtime whether a validator supports client-side validation. |
IController | Define the methods required by the controller. |
IControllerActivator | Get fine-grained control over how controllers are instantiated using dependency injection. |
IControllerFactory | Define the methods required by the controller factory. |
IDependencyResolver | Define methods that simplify service location and dependency resolution. |
IExceptionFilter | Define the methods required for exception filters. |
IFilterProvider | Provides an interface for finding filters. |
IMetadataAware | Provides an interface for exposing properties to the AssociatedMetadataProvider class. |
IModelBinder | Defines the methods required by the model binder. |
IModelBinderProvider | Defines methods for dynamically implementing model binding for classes that implement the IModelBinder interface. |
IMvcFilter | Defines members that specify the filter order and whether multiple filters are allowed. |
IResultFilter | Define the methods required for the result filter. |
IRouteWithArea | Associate a route with a zone in an ASP.NET MVC application. |
ITempDataProvider | Contracts that define temporary data providers that store data to be viewed on 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 | Define the methods required by the view. |
IViewDataContainer | Defines the methods required by the view data dictionary. |
IViewEngine | Defines the methods required by the view engine. |
IViewLocationCache | Defines the methods required to cache the view's position in memory. |
IViewPageActivator | Get fine-grained control over how view pages are created using dependency injection. |