aspnetcore/test/WebSites/ModelBindingWebSite
Harsh Gupta adeb1ba194 Adding support for model binding specifically marked controller properties. 2015-03-20 17:37:09 -07:00
..
Controllers Adding support for model binding specifically marked controller properties. 2015-03-20 17:37:09 -07:00
Models Bind POCO model correctly; fallback to empty prefix despite exact name match 2015-03-20 13:18:42 -07:00
Services
ViewModels
Views/Vehicle
wwwroot
AdditionalValuesMetadataProvider.cs
CaculatorContext.cs
DefaultCalculator.cs
DefaultCalculatorContext.cs
FromNonExistantBinderAttribute.cs Removing ModelMetadataProvider.GetModelMetadataForParameters 2015-03-19 16:42:54 -07:00
FromTestAttribute.cs
ICalculator.cs
ITestService.cs Adding support for model binding specifically marked controller properties. 2015-03-20 17:37:09 -07:00
ModelBindingWebSite.xproj
ModelMetadataExtensions.cs
Result.cs
Startup.cs
TestBindingSourceModelBinder.cs
TestService.cs Adding support for model binding specifically marked controller properties. 2015-03-20 17:37:09 -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.