System.Web.ModelBinding Namespace

.NET Framework (current version)
 

The System.Web.ModelBinding namespace provides classes that enable you to bind data objects to ASP.NET Web Forms server controls.

ClassDescription
System_CAPS_pubclassArrayModelBinder<TElement>

Maps a browser request to an array.

System_CAPS_pubclassArrayModelBinderProvider

Provides a model binder for arrays.

System_CAPS_pubclassAssociatedMetadataProvider

Provides an abstract class to implement a metadata provider.

System_CAPS_pubclassAssociatedValidatorProvider

Provides an abstract class for classes that implement a validation provider.

System_CAPS_pubclassBinaryDataModelBinderProvider

Gets a model binder for binary data.

System_CAPS_pubclassBindingBehaviorAttribute

Provides a base class for model-binding behavior attributes.

System_CAPS_pubclassBindNeverAttribute

Provides an attribute that specifies that model binding should exclude a property.

System_CAPS_pubclassBindRequiredAttribute

Provides an attribute that specifies that a property is required for model binding.

System_CAPS_pubclassCollectionModelBinder<TElement>

Maps a browser request to a collection.

System_CAPS_pubclassCollectionModelBinderProvider

Provides a model binder for a collection.

System_CAPS_pubclassComplexModel

Describes a complex model, using a collection rather than individual properties as the data store.

System_CAPS_pubclassComplexModelBinder

Maps a browser request to a complex data model.

System_CAPS_pubclassComplexModelBinderProvider

Provides a model binder for a complex model.

System_CAPS_pubclassComplexModelResult

Provides a container for data that is stored by the ComplexModel class.

System_CAPS_pubclassControlAttribute

Represents an attribute that specifies that values for model binding are provided by a control.

System_CAPS_pubclassControlValueProvider

Represents a value provider for control values.

System_CAPS_pubclassCookieAttribute

Represents an attribute that specifies that the values for model binding are provided by a cookie.

System_CAPS_pubclassCookieValueProvider

Represents a value provider for cookie values.

System_CAPS_pubclassDataAnnotationsModelMetadata

Provides a container for common metadata, for the DataAnnotationsModelMetadataProvider class, and for the DataAnnotationsModelValidator class for a data model.

System_CAPS_pubclassDataAnnotationsModelMetadataProvider

Implements the default model metadata provider.

System_CAPS_pubclassDataAnnotationsModelValidator

Provides a model validator.

System_CAPS_pubclassDataAnnotationsModelValidator<TAttribute>

Provides a model validator for a specified validation type.

System_CAPS_pubclassDataAnnotationsModelValidatorProvider

Implements the default validator provider.

System_CAPS_pubclassDefaultModelBinder

Maps a browser request to a data object. This class provides a concrete implementation of a model binder.

System_CAPS_pubclassDictionaryModelBinder<TKey, TValue>

Maps a browser request to a dictionary data object.

System_CAPS_pubclassDictionaryModelBinderProvider

Provides a model binder for a dictionary.

System_CAPS_pubclassDictionaryValueProvider<TValue>

Represents the base class for value providers whose values come from a collection that implements the IDictionary<TKey, TValue> interface.

System_CAPS_pubclassEmptyModelMetadataProvider

Provides an empty metadata provider for data models that do not require metadata.

System_CAPS_pubclassExtensibleModelBinderAttribute

Specifies the binder type for a model type.

System_CAPS_pubclassFormAttribute

Represents an attribute that specifies that values for model binding are provided by a form field.

System_CAPS_pubclassFormValueProvider

Represents a value provider for form values.

System_CAPS_pubclassGenericModelBinderProvider

Gets a model binder for a generic type.

System_CAPS_pubclassKeyValuePairModelBinder<TKey, TValue>

Maps a browser request to a key/value pair data object.

System_CAPS_pubclassKeyValuePairModelBinderProvider

Provides a model binder for a collection of key/value pairs.

System_CAPS_pubclassMaxLengthAttributeAdapter

Provides an adapter for the MaxLengthAttribute attribute.

System_CAPS_pubclassMinLengthAttributeAdapter

Provides an adapter for the MinLengthAttribute attribute.

System_CAPS_pubclassModelBinderDictionary

Provides a container for all model binders for the application, listed by binder type.

System_CAPS_pubclassModelBinderErrorMessageProviders

Provides a container for model-binder error message providers.

System_CAPS_pubclassModelBinderProvider

Provides an abstract base class for model binder providers.

System_CAPS_pubclassModelBinderProviderCollection

Provides a container for a collection of model binder providers.

System_CAPS_pubclassModelBinderProviderOptionsAttribute

Represents an attribute that specifies options for a model-binder provider.

System_CAPS_pubclassModelBinderProviders

Provides a container for model binder providers for the application.

System_CAPS_pubclassModelBinders

Provides global access to the model binders for the application.

System_CAPS_pubclassModelBindingContext

Provides the context in which a model binder functions.

System_CAPS_pubclassModelBindingExecutionContext

Encapsulates all of the information that is external to the model binding system that the model binding system needs.

System_CAPS_pubclassModelError

Represents an error that occurs during model binding.

System_CAPS_pubclassModelErrorCollection

Provides a container for model validation errors.

System_CAPS_pubclassModelMetadata

Provides a container for metadata for a model.

System_CAPS_pubclassModelMetadataProvider

Provides an abstract base class for a custom metadata provider.

System_CAPS_pubclassModelMetadataProviders

Provides a container for the current ModelMetadataProvider instance.

System_CAPS_pubclassModelState

Encapsulates the state of model binding.

System_CAPS_pubclassModelStateDictionary

Represents the state of model binding.

System_CAPS_pubclassModelValidatedEventArgs

Provides data for the ModelValidationNode.Validated event.

System_CAPS_pubclassModelValidatingEventArgs

Provides data for the ModelValidationNode.Validating event.

System_CAPS_pubclassModelValidationNode

Provides a container for model validation information.

System_CAPS_pubclassModelValidationResult

Provides a container for a validation result.

System_CAPS_pubclassModelValidator

Provides a base class for implementing validation logic.

System_CAPS_pubclassModelValidatorProvider

Provides a collection of model validators.

System_CAPS_pubclassModelValidatorProviderCollection

Provides a container for a collection of validation providers.

System_CAPS_pubclassModelValidatorProviders

Provides a container for the current validation provider.

System_CAPS_pubclassMutableObjectModelBinder

Maps a browser request to a mutable data object.

System_CAPS_pubclassMutableObjectModelBinderProvider

Provides a model binder for mutable objects.

System_CAPS_pubclassNameValueCollectionValueProvider

Represents the base class for value providers whose values come from a name/value collection.

System_CAPS_pubclassProfileAttribute

Represents an attribute that specifies that values for model binding are provided by a profile.

System_CAPS_pubclassProfileValueProvider

Represents a value provider for profile values.

System_CAPS_pubclassQueryStringAttribute

Represents an attribute that specifies that model binding values are provided by a query string value.

System_CAPS_pubclassQueryStringValueProvider

Represents a value provider for query-string values.

System_CAPS_pubclassRangeAttributeAdapter

Provides an adapter for the RangeAttribute attribute.

System_CAPS_pubclassRegularExpressionAttributeAdapter

Provides an adapter for the RegularExpressionAttribute attribute.

System_CAPS_pubclassRequiredAttributeAdapter

Provides an adapter for the RequiredAttribute attribute.

System_CAPS_pubclassRouteDataAttribute

Represents an attribute that specifies that values for model binding are provided by route data.

System_CAPS_pubclassRouteDataValueProvider

Represents a value provider for route data.

System_CAPS_pubclassSessionAttribute

Represents an attribute that specifies that values for model binding are provided by session state.

System_CAPS_pubclassSimpleModelBinderProvider

Provides a model binder for a simple type.

System_CAPS_pubclassSimpleValueProvider

Represents a value provider for single key/value lookups.

System_CAPS_pubclassStringLengthAttributeAdapter

Provides an adapter for the StringLengthAttribute attribute.

System_CAPS_pubclassTypeConverterModelBinder

Maps a browser request to a data object. This type is used when model binding requires conversions using a .NET Framework type converter.

System_CAPS_pubclassTypeConverterModelBinderProvider

Provides a model binder for a model that requires type conversion.

System_CAPS_pubclassTypeMatchModelBinder

Maps a browser request to a data object. This class is used when model binding does not require type conversion.

System_CAPS_pubclassTypeMatchModelBinderProvider

Provides a model binder for a model that does not require type conversion.

System_CAPS_pubclassUserProfileAttribute

Represents an attribute that specifies that values for model binding are provided by a user profile.

System_CAPS_pubclassUserProfileValueProvider

Represents a value provider for user profiles.

System_CAPS_pubclassValidatableObjectAdapter

Provides an adapter for objects that implement the IValidatableObject interface.

System_CAPS_pubclassValueProviderCollection

Represents the collection of value-provider objects for the application.

System_CAPS_pubclassValueProviderResult

Represents the result of retrieving a value from a value provider.

System_CAPS_pubclassValueProviderSourceAttribute

Provides a base class for value-provider attributes that can be used in method parameters to specify the source of values for model binding, such as FormAttribute, QueryStringAttribute, and ViewStateAttribute.

System_CAPS_pubclassViewStateAttribute

Represents an attribute that specifies that values for model binding are provided by view state.

System_CAPS_pubclassViewStateValueProvider

Represents a value provider for view state values.

InterfaceDescription
System_CAPS_pubinterfaceIMetadataAware

Defines a method that must be implemented by classes that are metadata-aware.

System_CAPS_pubinterfaceIModelBinder

Defines the method that is required for a model binder.

System_CAPS_pubinterfaceIModelNameProvider

Provides a way to specify an alternate name to use for model binding instead of using the parameter name.

System_CAPS_pubinterfaceIUnvalidatedValueProvider

Defines the method that is required for an unvalidated value provider.

System_CAPS_pubinterfaceIUnvalidatedValueProviderSource

Defines the methods that are required for a value provider that supports skipping request validation.

System_CAPS_pubinterfaceIValueProvider

Defines the methods that are required for a value provider.

System_CAPS_pubinterfaceIValueProviderSource

Defines the method that is required for a value provider source.

DelegateDescription
System_CAPS_pubdelegateDataAnnotationsModelValidationFactory

Represents the method that creates a DataAnnotationsModelValidatorProvider instance.

System_CAPS_pubdelegateDataAnnotationsValidatableObjectAdapterFactory

Represents a factory for validators that are based on the IValidatableObject interface.

System_CAPS_pubdelegateModelBinderErrorMessageProvider

Represents a method that provides a model-binding error message.

EnumerationDescription
System_CAPS_pubenumBindingBehavior

Enumerates model-binding behavior options.

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Return to top
Show: