Understanding the MVC programming model in ASP. 5th Reference Reference

Source: Internet
Author: User
Tags http post

Class
class Description
Acceptverbsattribute Represents an attribute that specifies the HTTP verb that the action method responds to.
Actiondescriptor Provides information about how to do this, such as the name of the action method, the 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 that is used to influence the selection of an action method.
Actionnameattribute Represents an attribute that is used for the name of an operation.
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 a framework-level operation 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 a view in an AJAX scenario.
Ajaxhelper<tmodel> Represents support for rendering HTML in a strongly-typed view in an AJAX scenario.
Ajaxrequestextensions Represents a class that extends the Httprequestbase class by adding the ability to determine whether an HTTP request is an AJAX request.
Allowanonymousattribute Represents an attribute that is used to mark a controller and an operation to skip authorizeattribute during authorization.
Allowhtmlattribute Allows the request to include HTML markup during model binding by skipping the property's request validation. (It is strongly recommended that the application 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 an abstract class for implementing a metadata provider.
Associatedvalidatorprovider Provides an abstract class for classes that implement validation providers.
Asynccontroller Provides backward compatibility with ASP. NET MVC 3.
Asynctimeoutattribute Represents an attribute that is used to set the time-out value (in milliseconds) for an asynchronous method.
AuthorizationContext Encapsulates the information required to use the Authorizeattribute feature.
Authorizeattribute Represents an attribute that is used to restrict the caller's access to an action method.
Bindattribute Represents an attribute that is used to provide detailed information about how the model should be bound to parameters.
Buildmanagercompiledview Represents the base class for views compiled by the BuildManager class before the view engine renders.
Buildmanagerviewengine Provides a base class for the view engine.
Bytearraymodelbinder Maps a browser request to a byte array.
Cachedassociatedmetadataprovider<tmodelmetadata> Provides an abstract class for implementing a cached metadata provider.
Cacheddataannotationsmetadataattributes Provides a container for caching System.ComponentModel.DataAnnotations attributes.
Cacheddataannotationsmodelmetadata Provides a container for caching dataannotationsmodelmetadata.
Cacheddataannotationsmodelmetadataprovider Implements the default cached model metadata provider for ASP.
Cachedmodelmetadata<tprototypecache> Provides a container for cached metadata.
Cancellationtokenmodelbinder Provides a mechanism for propagating notifications that the model binder action should be canceled.
Childactiononlyattribute Represents an attribute that is used to indicate that an action method should only be called as a child operation.
Childactionvalueprovider Represents a value provider for a value in a child action.
Childactionvalueproviderfactory Represents a factory used to create a value provider object for a child operation.
Clientdatatypemodelvalidatorprovider Returns the client data type model validator.
Compareattribute Provides attributes that are used to compare the two properties of a model.
Contentresult Represents a user-defined content type, which is the result of an action method.
Controller Provides methods for responding to HTTP requests made to an ASP. NET MVC Web site.
Controlleractioninvoker Represents a class that is responsible for invoking the Controller's action method.
Controllerbase Represents the base class for all MVC controllers.
Controllerbuilder Represents a class that is responsible for dynamically generating the controller.
ControllerContext Encapsulates information about HTTP requests that match the specified routebase and Controllerbase instances.
Controllerdescriptor Encapsulates information that describes a controller, such as the name, type, and operation of a controller.
Controllerinstancefilterprovider Add the controller to the Filterprovidercollection instance.
Custommodelbinderattribute Represents an attribute that invokes a custom model binder.
Dataannotationsmodelmetadata Provides a container for the common metadata, dataannotationsmodelmetadataprovider classes, and Dataannotationsmodelvalidator classes of the data model.
Dataannotationsmodelmetadataprovider Implements the default model metadata provider for ASP.
Dataannotationsmodelvalidator Provides a model validator.
Dataannotationsmodelvalidator<tattribute> Provides a model validator for the specified validation type.
Dataannotationsmodelvalidatorprovider Implements the default validation provider for ASP.
Dataerrorinfomodelvalidatorprovider Provides a container for the error message model validator.
Defaultcontrollerfactory Represents a controller factory that is registered by default.
Defaultmodelbinder Maps a browser request to a data object. This class provides a concrete implementation of the model binder.
Defaultviewlocationcache Represents the memory cache for the view location.
Dependencyresolver Provides a registration point for the dependency resolver that implements the Idependencyresolver or public service locator Iservicelocator interface.
Dependencyresolverextensions Provides type-safe implementations of GetService and GetServices.
Dictionaryvalueprovider<tvalue> Represents the base class for value providers, which are derived from a collection of Idictionary<tkey, tvalue> interfaces that implement the value provider.
Emptymodelmetadataprovider Provides an empty metadata provider for data models that do not require metadata.
Emptymodelvalidatorprovider Provides an empty validation provider for a model that does not require a validator.
Emptyresult Represents a result of no action, such as a controller action method that does not return any content.
Exceptioncontext 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 Sends the contents of a binary file to a response.
Filepathresult Sends the contents of the file to the response.
Fileresult Represents a base class that is used to send the contents of a binary file to a response.
Filestreamresult Use the Stream instance to send binary content to the response.
Filter Represents a metadata class that contains references to the implementation, filter order, and filter scope of one or more filter interfaces.
FilterAttribute Represents the base class for action and result filter attributes.
Filterattributefilterprovider A filter provider that defines the filter attributes.
FilterInfo Encapsulates information about the available action filters.
Filterprovidercollection Represents a collection of filter providers for an application.
Filterproviders Provides a registration point for the filter.
FormCollection Contains the form value provider for the application.
Formcontext Encapsulates the information required to validate and process the input data in an HTML form.
Formvalueprovider Represents a value provider for the form values contained in the NameValueCollection object.
Formvalueproviderfactory Represents a class that is responsible for creating a new instance of the form value provider object.
Globalfiltercollection Represents a class that contains all global filters.
Globalfilters Represents a global filter collection.
Handleerrorattribute Represents an attribute that is used to handle an exception that is thrown by an action method.
Handleerrorinfo Encapsulates information about handling errors that are caused by an action method.
Hiddeninputattribute Represents an attribute that is used to indicate whether a property value or a field value should be rendered as a hidden INPUT element.
HtmlHelper Represents support for rendering HTML controls in a view.
Htmlhelper<tmodel> Represents support for rendering HTML controls in strongly-typed views.
Httpdeleteattribute Represents an attribute that is used to restrict the action method so that the method processes only the HTTP DELETE request.
Httpfilecollectionvalueprovider Represents a value provider to use for values from an HTTP file collection.
Httpfilecollectionvalueproviderfactory Represents a class that is responsible for creating a new instance of the HTTP file collection value provider object.
Httpgetattribute Represents an attribute that is used to restrict the action method so that the method processes only HTTP GET requests.
Httpheadattribute Specifies that the HTTP request must be an HTTP HEAD method.
Httpnotfoundresult Defines an object that indicates that the requested resource was not found.
Httpoptionsattribute Represents an attribute that is used to restrict the action method so that the method only processes HTTP OPTIONS requests.
Httppatchattribute Represents an attribute that is used to restrict the action method so that the method only processes HTTP PATCH requests.
Httppostattribute Represents an attribute that is used to restrict the action method so that the method only processes HTTP POST requests.
Httppostedfilebasemodelbinder Binds the model to the published file.
Httpputattribute Represents an attribute that is used to restrict the action method so that the method only processes HTTP PUT requests.
Httprequestextensions Extends the Httprequestbase class, which contains the HTTP values that the client sends in a WEB request.
Httpstatuscoderesult Provides a way to return the result of an operation 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 JSON-formatted content to a response.
Jsonvalueproviderfactory Enables the action method to send and receive JSON-formatted text and to pass the JSON text to the parameters of the action method as a model binding.
Linqbinarymodelbinder Maps a browser request to a LINQ Binary object.
Modelbinderattribute Represents an attribute that is used to associate a model type to a model-generator type.
Modelbinderdictionary Represents a class that contains all the model binders for the application, 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 model binder for the application.
Modelbindingcontext Provides the context for running the model binder.
Modelerror Represents an error that occurs during model binding.
Modelerrorcollection A collection of Modelerror instances.
Modelmetadata Provides a container for the common metadata, modelmetadataprovider classes, and Modelvalidator classes of 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 a model binding to a property of an action method parameter or to an action method parameter itself.
Modelstatedictionary Represents the state of an attempt to bind a sent form to an action method, which 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 the list of validation providers.
Modelvalidatorproviders Provides a container for the current validation provider.
Multiselectlist Represents a list of items from which the user can select multiple items.
Mvcfilter When implemented in a derived class, provides a metadata class that contains references to the implementation, filter order, and filter scope of one or more filter interfaces.
Mvchandler Select the controller that will handle the HTTP request.
Mvchtmlstring Represents an HTML-encoded string that should not be encoded again.
Mvchttphandler Validates and processes the HTTP request.
Mvcroutehandler Creates an object that implements the IHttpHandler interface and passes the request context to the object.
Mvcwebrazorhostfactory Create an instance of the Mvcwebpagerazorhost file.
Namevaluecollectionextensions Extends the NameValueCollection object so that the collection can be copied to the specified dictionary.
Namevaluecollectionvalueprovider Represents the base class for a value provider that values the value of the provider from the NameValueCollection object.
Noasynctimeoutattribute Provides convenient packaging for Asynctimeoutattribute features.
Nonactionattribute Represents an attribute that is used to indicate that the Controller method is not an action method.
Outputcacheattribute Represents an attribute that is used to mark an action method that will cache its output.
Parameterbindinginfo Encapsulates information related to binding an action method parameter to a data model.
Parameterdescriptor Contains information describing the parameter.
Partialviewresult Represents a base class that is used to send a partial view to a response.
Preapplicationstartcode Provides a registration point for the ASP. Razor application Pre-boot code.
Querystringvalueprovider Represents a value provider for the query string contained in the NameValueCollection object.
Querystringvalueproviderfactory Represents a class that is responsible for creating a new instance of the query string value provider object.
Rangeattributeadapter An adapter that provides the Rangeattribute feature.
Razorview Represents a class that is used to create a view with Razor syntax.
Razorviewengine Represents a view engine for rendering Web pages that use the ASP. Razor syntax.
Redirectresult Controls the processing of application operations by redirecting to the specified URI.
Redirecttorouteresult Represents the result of using the specified route value dictionary to perform the redirection.
Reflectedactiondescriptor Contains information that describes the action method for reflection.
Reflectedcontrollerdescriptor Contains information that describes the controller that is reflected.
Reflectedparameterdescriptor Contains information that describes the action method parameters for reflection.
Regularexpressionattributeadapter An adapter that provides the Regularexpressionattribute feature.
Remoteattribute Provides features for validating plug-in remote validators using JQuery.
Requiredattributeadapter An adapter that provides the RequiredAttributeAttribute feature.
Requirehttpsattribute Represents an attribute that is used to force an unsecured HTTP request to be resent over HTTPS.
ResultExecutedContext Provides the context for the onresultexecuted method of the ActionFilterAttribute class.
ResultExecutingContext Provides the context for the Onresultexecuting method of the ActionFilterAttribute class.
Routecollectionextensions Extend the RouteCollection object for MVC routing.
Routedatavalueprovider Represents a value provider that implements the routing data contained in an Idictionary<tkey, Tvalue> interface object.
Routedatavalueproviderfactory Represents a factory used to create a route data value provider object.
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 An adapter that provides the Stringlengthattribute feature.
Tempdatadictionary Represents a dataset that remains only from one request to the next request.
Templateinfo Encapsulates information about the current template context.
Urlhelper Contains methods for generating URLs for ASP. NET MVC within an application.
Urlparameter Represents an optional parameter used by the Mvchandler class during routing.
Validatableobjectadapter Provides an object adapter that can be validated.
Validateantiforgerytokenattribute Represents an attribute that is used to block forged requests.
Validateinputattribute Represents an attribute that is used to mark an action method that must validate its input.
Valueprovidercollection Represents a collection of value provider objects for an application.
Valueproviderdictionary is obsolete. A dictionary that represents the value provider for the application.
Valueproviderfactories Represents a container for a value provider factory object.
Valueproviderfactory Represents a factory used to create a value provider object.
Valueproviderfactorycollection Represents a collection of application value provider factories.
Valueproviderresult Represents a value, such as a value in a form publication or query string, that is bound to the action method parameter property or to the result of binding 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 the development template and the HTML helper that interacts with the template.
Viewenginecollection Represents a collection of view engines that are available to an application.
Viewengineresult Represents the result of locating the view engine.
Viewengines Represents a collection of view engines that are available to an application.
ViewMasterPage Represents the information that is required to generate a master view page.
Viewmasterpage<tmodel> Represents the information required to generate a strongly typed master view page.
ViewPage Represents the properties and methods that are required to render a view as a Web forms page.
Viewpage<tmodel> Represents the information required to render a strongly-typed view as a Web forms page.
ViewResult Represents a class that is used to render a view using the IView instance returned by the Iviewengine object.
Viewresultbase Represents a base class that provides a model for a view and renders a view to the 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 Represents the type of the view.
Viewusercontrol Represents the information required to build a user control.
Viewusercontrol<tmodel> Represents the information required to generate a strongly typed user control.
Virtualpathproviderviewengine Represents an abstract base class implementation of the Iviewengine interface.
Webformview Represents the information that is required to generate a Web forms page in ASP. NET MVC.
Webformviewengine Represents a view engine that is used to render a Web forms page to a response.
Webviewpage Represents the properties and methods required to render a view that uses the ASP. Razor syntax.
Webviewpage<tmodel> Represents the properties and methods required to render a view that uses the ASP. Razor syntax.
Interface
Interface Description
Iactionfilter Defines the methods used in the action filter.
Iactioninvoker Defines the contract for the action Invoker, which is used to invoke an action in response to an HTTP request.
Iauthorizationfilter Defines the methods that are required for authorization filters.
Iclientvalidatable Provides a way for the ASP. NET MVC validation framework to discover whether the validator supports client-side validation at run time.
IController Defines the methods required by the controller.
Icontrolleractivator Fine-grained control over how controllers are instantiated using dependency injection.
Icontrollerfactory Defines the methods required by the Controller factory.
Idependencyresolver Defines a way to simplify service location and dependency resolution.
Ienumerablevalueprovider Represents a special ivalueprovider that has the ability to become an enumerable type.
Iexceptionfilter The method that is required to define the 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 the model binder.
Imodelbinderprovider Defines the method used to dynamically implement model bindings for classes that implement the Imodelbinder interface.
Imvcfilter Defines the members used to specify the filter order and whether to allow multiple filters.
Iresultfilter The method that is required to define the result filter.
Iroutewitharea Associates a route with a zone in an ASP. NET MVC application.
Itempdataprovider Defines the contract for temporary data providers, which are used to store data to be viewed in the next request.
Iunvalidatedvalueprovider Represents a Ivalueprovider interface that can skip request validation.
Ivalueprovider Defines the methods that are required for value providers in ASP.
IView The method that is required to define the view.
Iviewdatacontainer Defines the methods required for the view data dictionary.
Iviewengine Defines the methods required by the view engine.
Iviewlocationcache Defines the methods that are required to cache view locations in memory.
Iviewpageactivator Fine-grained control over how view pages are created using dependency injection.
Commissioned
Delegate Description
Actionselector Represents a delegate that contains the logic that is used to select an action method.
Dataannotationsmodelvalidationfactory Represents a method for creating an Dataannotationsmodelvalidatorprovider instance.
Dataannotationsvalidatableobjectadapterfactory Provides a factory for Ivalidatableobject-based validation procedures.
Enumeration
Enumeration Description
Filterscope Defines the values that specify the order in which the ASP. NET MVC filter runs within the same filter type and filter order.
FormMethod Enumerates the HTTP request types for a form.
Httpverbs Enumerates HTTP verbs.
InputType Enumerates the types of input controls.
Jsonrequestbehavior Specifies whether to allow HTTP GET requests from clients.

Understanding the MVC programming model in ASP. 5th Reference Reference

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.