aspnetcore/test/WebSites/FormatterWebSite
jacalvar 7cbb263edb [Fixes #3874] Null passed as arguments to controller method parameters when no InputFormatter matches
* Add an UnsupportedContentType to the ModelState dictionary when no formatter can read the body.
* Add a filter to the pipeline that searches for that specific exception and transforms the response into 415.
2016-01-28 15:46:17 -08:00
..
Controllers [Fixes #3874] Null passed as arguments to controller method parameters when no InputFormatter matches 2016-01-28 15:46:17 -08:00
Filters
Models
wwwroot
FormatterWebSite.xproj
Startup.cs
StringInputFormatter.cs
ValidateBodyParameterAttribute.cs
hosting.json
project.json Update ASP.NET 5 versions for ASP.NET Core. 2016-01-22 12:40:26 -08:00
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.