aspnetcore/test/WebSites/FormatterWebSite
Steve Sanderson 90acd055fe Make [FromBody] treat empty request bodies as invalid (#4750) 2017-04-10 16:55:14 +01:00
..
Controllers Make [FromBody] treat empty request bodies as invalid (#4750) 2017-04-10 16:55:14 +01:00
Filters
Models
FormatterWebSite.csproj Remove net451 as a cross-compile target 2017-03-22 06:32:50 -07:00
Program.cs [Fixes #4945] Simple string returned by controller action is not a valid JSON! 2017-01-25 13:29:18 -08:00
Startup.cs [Fixes #4945] Simple string returned by controller action is not a valid JSON! 2017-01-25 13:29:18 -08:00
StartupWithRespectBrowserAcceptHeader.cs [Fixes #4945] Simple string returned by controller action is not a valid JSON! 2017-01-25 13:29:18 -08:00
StringInputFormatter.cs
ValidateBodyParameterAttribute.cs
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.