aspnetcore/test/WebSites/ModelBindingWebSite
Harsh Gupta d0927bdc75 Fixes #2464 - Does not add extra skipped entries for model bound from services.
Also ensures that when a type is marked as skipped, any sub property which is model bound (and hence a modelstate un validated entry),
is marked as skipped (otherwise it would cause the ModelState to be invalid).
Also fixing a bug in model state dictionary FindKeyWithPrefix was not considering [0] & [0][0] as a valid prefix.
2015-05-15 12:27:43 -07:00
..
Controllers
Models
Services
ViewModels
Views/Vehicle
wwwroot
AdditionalValuesMetadataProvider.cs
CaculatorContext.cs
DefaultCalculator.cs
DefaultCalculatorContext.cs
FromNonExistantBinderAttribute.cs
FromTestAttribute.cs
ICalculator.cs
ITestService.cs
ModelBindingWebSite.xproj
ModelMetadataExtensions.cs
Result.cs
Startup.cs
TestBindingSourceModelBinder.cs
TestService.cs
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.