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 Fixes #2464 - Does not add extra skipped entries for model bound from services. 2015-05-15 12:27:43 -07:00
Models SerializerSettings refactor 2015-05-11 16:43:17 -07:00
Services Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ViewModels Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Views/Vehicle
wwwroot
AdditionalValuesMetadataProvider.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
CaculatorContext.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
DefaultCalculator.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
DefaultCalculatorContext.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
FromNonExistantBinderAttribute.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
FromTestAttribute.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ICalculator.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ITestService.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ModelBindingWebSite.xproj
ModelMetadataExtensions.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Result.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Startup.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
TestBindingSourceModelBinder.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
TestService.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07: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.