aspnetcore/test/WebSites/ContentNegotiationWebSite
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
Models
wwwroot
ContentNegotiationWebSite.xproj
CustomFormatter.cs Fix #2330 - Reimagine *FormatterContext 2015-05-12 11:05:56 -07:00
PlainTextFormatter.cs Fix #2330 - Reimagine *FormatterContext 2015-05-12 11:05:56 -07:00
Startup.cs
VCardFormatter_V3.cs Fix #2330 - Reimagine *FormatterContext 2015-05-12 11:05:56 -07:00
VCardFormatter_V4.cs Fix #2330 - Reimagine *FormatterContext 2015-05-12 11:05:56 -07:00
project.json
readme.md

readme.md

ContentNegotiationWebSite

This web site illustrates in depth how MVC performs output content negotiation based on the input headers and content. It also demonstrates various options available to participate in content negotiation process.