aspnetcore/test/WebSites/ModelBindingWebSite
Ryan Nowak 96de1dbe4b Remove IExcludeTypeFilter
- Removes IExcludeTypeFilter
- Replaced with a property 'ValidateChildren' on ModelMetadata
- Teach ValidationVisitor to respect 'ValidateChildren' for enumerable
  types.
2015-12-09 12:30:13 -08:00
..
Controllers Replace ActionBindingContext with ControllerContext 2015-11-20 15:32:37 -08:00
Models
Services Limit [FromServices] to apply only to parameters 2015-11-17 16:41:04 -08:00
ViewModels Limit [FromServices] to apply only to parameters 2015-11-17 16:41:04 -08:00
Views/Vehicle
wwwroot
AdditionalValuesMetadataProvider.cs
CaculatorContext.cs Limit [FromServices] to apply only to parameters 2015-11-17 16:41:04 -08:00
DefaultCalculator.cs
DefaultCalculatorContext.cs
FromNonExistantBinderAttribute.cs
FromTestAttribute.cs
ICalculator.cs
ITestService.cs Limit [FromServices] to apply only to parameters 2015-11-17 16:41:04 -08:00
ModelBindingWebSite.xproj
ModelMetadataExtensions.cs
Result.cs
Startup.cs Remove IExcludeTypeFilter 2015-12-09 12:30:13 -08:00
TestBindingSourceModelBinder.cs
TestService.cs Limit [FromServices] to apply only to parameters 2015-11-17 16:41:04 -08:00
project.json
readme.md

readme.md

ModelBindingWebSite

This web site illustrates how to use and configure various knobs of model binding to let the model binding system bind action parameters to the values which are present in the request. The website also uses model validation to validate the models created using model binding.