- #2722 - make communication of errors from formatters to `BodyModelBinder` explicit - `JsonInputFormatter` now adds errors to `ModelStateDictionary` with correct key - change `InputFormatter.SelectCharacterEncoding()` to add an error and return `null` when it fails - one less `Exception` case and removes some duplicate code nits: - improve some doc comments (more `<inheritdoc/>`, `<paramref/>` and `<see/>`) - add another two `BodyValidationIntegrationTests` tests |
||
|---|---|---|
| .. | ||
| Controllers | ||
| Filters | ||
| Models | ||
| wwwroot | ||
| FormatterWebSite.xproj | ||
| Startup.cs | ||
| StringInputFormatter.cs | ||
| ValidateBodyParameterAttribute.cs | ||
| project.json | ||
| readme.md | ||
readme.md
FormatterWebSite
This web site illustrates how to input formatters operate on the request body. It also demonstrates how custom options can be set for model validation.