aspnetcore/test/WebSites/FormatterWebSite
Ryan Nowak 39fe063aee Fix #2330 - Reimagine *FormatterContext
This change simplifies InputFormatterContext/OutputFormatterContext by
swapping ActionContext for HttpContext.

This change is important especially for InputFormatterContext as it
decouples ModelState from ActionContext - allowing us to fix a
related bug where the _wrong_ ModelState can be passed in for a
TryUpdateModel operation.
2015-05-12 11:05:56 -07:00
..
Controllers Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Filters Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Models Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
wwwroot
FormatterWebSite.xproj
Startup.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
StringInputFormatter.cs Fix #2330 - Reimagine *FormatterContext 2015-05-12 11:05:56 -07:00
ValidateBodyParameterAttribute.cs Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
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.