aspnetcore/test/WebSites/ModelBindingWebSite
James Newton-King de630754bf SerializerSettings refactor
Add SerializerSettings to MvcOptions and pass those options to the JsonInputFormatter and JsonOutputFormatter.
Remove custom contract resolver.

PR feedback
Pass JsonSerializerSettings to JsonPatchInputFormatter

PR feedback
Make DI JsonOutputFormatter formatter use MvcOptions SerializerSettings

Fix JsonPatchInputFormatter using null ContractResolver

Fix tests
2015-05-11 16:43:17 -07:00
..
Controllers SerializerSettings refactor 2015-05-11 16:43:17 -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 Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:27 -07:00
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 Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:56:42 -07:00
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.