aspnetcore/test/WebSites/ModelBindingWebSite
Kiran Challa f06007d428 [Fixes #2156] Remove IConfiguration from AddMvc 2015-03-14 00:02:53 -07:00
..
Controllers Clear ModelState errors of model before TryValidateModel or TryUpdateModel 2015-03-11 10:14:28 -07:00
Models Additional functional tests for ElementalValueProvider 2015-02-25 10:22:43 -08:00
Services
ViewModels Add `ModelMetadata.AdditionalValues` property bag 2015-02-09 15:59:34 -08:00
Views/Vehicle
wwwroot Fixing Readme 2015-02-19 10:20:16 -08:00
AdditionalValuesMetadataProvider.cs Refactor of the model metadata provider 2015-03-05 13:19:10 -08:00
CaculatorContext.cs
DefaultCalculator.cs Logging API changes 2015-03-04 21:07:45 -08:00
DefaultCalculatorContext.cs Additional functional tests for ElementalValueProvider 2015-02-25 10:22:43 -08:00
FromNonExistantBinderAttribute.cs
FromTestAttribute.cs
ICalculator.cs
ITestService.cs
ModelBindingWebSite.xproj Update .kproj => .xproj. 2015-03-11 14:01:43 -07:00
ModelMetadataExtensions.cs Add `ModelMetadata.AdditionalValues` property bag 2015-02-09 15:59:34 -08:00
Result.cs Fix for #563 - FromForm, FromQuery and FromValue allow providing a Name which is used as a prefix. Also the name is used for reporting model state errors. 2015-02-18 16:48:12 -08:00
Startup.cs [Fixes #2156] Remove IConfiguration from AddMvc 2015-03-14 00:02:53 -07:00
TestBindingSourceModelBinder.cs Refactor of the model metadata provider 2015-03-05 13:19:10 -08:00
TestService.cs
project.json Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:56:42 -07:00
readme.md Fixing Readme 2015-02-19 10:20:16 -08:00

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.