aspnetcore/test/WebSites/ModelBindingWebSite/Controllers
Doug Bunting 533474d07c Bind POCO model correctly; fallback to empty prefix despite exact name match
- #1865
- change `MutableObjectModelBinder` to ignore exact match in value providers
 - had an incorrect assumption: don't want exact model name to match since
   this binder supports only complex objects
 - also ignored `BinderModelName`, value provider filtering, et cetera
- reduces over-binding e.g. `[Required]` validation within missing properties

also add more tests of #2129 scenarios
2015-03-20 13:18:42 -07:00
..
BindAttributeController.cs Removing ModelMetadataProvider.GetModelMetadataForParameters 2015-03-19 16:42:54 -07:00
CompositeTestController.cs
FileUploadController.cs
FormCollectionController.cs
FromAttributesController.cs
FromFormAttribute_CompanyController.cs
FromHeader_BlogController.cs
FromQueryAttribute_CompanyController.cs
FromRouteAttribute_CompanyController.cs
FromServices_CalculatorController.cs
HomeController.cs Bind POCO model correctly; fallback to empty prefix despite exact name match 2015-03-20 13:18:42 -07:00
ModelBinderAttribute_CompanyController.cs
ModelBinderAttribute_ProductController.cs
ModelMetadataController.cs Refactor of the model metadata provider 2015-03-05 13:19:10 -08:00
Person_CollectionBinderController.cs
PropertiesGetCreatedController.cs
RoundtripController.cs Introducing TempData 2015-03-10 12:04:05 -07:00
TryUpdateModelController.cs Clear ModelState errors of model before TryValidateModel or TryUpdateModel 2015-03-11 10:14:28 -07:00
ValidationController.cs
VehicleController.cs
WithBinderMetadataController.cs
WithoutBinderMetadataController.cs