Kiran Challa
489fc52df8
[ Fixes #2108 ] StringOutputFormatter fails when HttpNotAcceptableOutputFormatter is used
2015-03-17 11:04:46 -07:00
Hao Kung
c290e897b0
React to DI
2015-03-04 19:26:54 -08:00
Ajay Bhargav Baaskaran
ac6a1a6a80
Replaced status code number with constants
2015-02-05 16:43:59 -08:00
Harsh Gupta
8e91c1ada6
[Fix for #1850 ]Produces, Consumes and ObjectResult throw if there is a match all content type.
2015-01-30 15:54:58 -08:00
Ajay Bhargav Baaskaran
17aa21dc25
Added StatusCode property to OutputFormatterContext
...
- Fixes issue #1809
- Added relevant tests
2015-01-26 17:32:04 -08:00
Kiran Challa
5c2dc5db11
[Fixes#1792]Separate XML serializers to Microsoft.AspNet.Mvc.Xml
2015-01-22 15:09:20 -08:00
Kiran Challa
0e9091f0eb
[ Fixes #1841 ] Change XML DCS and XmlSerializer output formatters to not derive from the base XmlOutputFormatter
2015-01-20 17:22:04 -08:00
Yishai Galatzer
9ac37fbc7a
Rename TextPlainFormatter and remove other minor warnings
...
#1631
2015-01-16 12:09:53 -08:00
Kiran Challa
02f4ca9f05
[ Fixes #1791 ]Remove XML formatter from defaults
2015-01-15 15:46:49 -08:00
Chris Ross
9aff289dfe
Handle PipelineCore rename.
2015-01-15 15:25:17 -08:00
Chris Ross
91d7e382d1
Consume new strongly typed headers. Remove temp implementations.
2015-01-14 15:51:34 -08:00
Doug Bunting
315908af5f
Apply VS' FormatDocument and RemoveAndSort to all *.cs files
...
- #EngineeringDay
- VS does not yet format auto-properties nicely; reverted what it did
Also revert changes under
- test/Microsoft.AspNet.Mvc.Razor.Host.Test/TestFiles
2014-11-20 21:15:46 -08:00
Doug Bunting
5e067cdb9e
Delete trailing whitespace
...
- #EngineeringDay
- Total replaced: 660 Matching files: 270 in *.cs
- Total replaced: 250 Matching files: 32 in all other files
- Total replaced: 22 Matching files: 8 in a few stragglers
Did not change files under following directories
- test\Microsoft.AspNet.Mvc.Razor.Host.Test\TestFiles\Output
- test\Microsoft.AspNet.Mvc.FunctionalTests\compiler\resources
- test\WebSites\TagHelpersWebSite
(Razor generates trailing whitespace in a case or two)
2014-11-20 16:18:09 -08:00
Kiran Challa
e985c22528
[ Fixes #1216 ] Provide a property on JsonOutputFormatter to set serializer settings
...
[Fixes #1221 ] Rename OutputFormatter's WriteResponseContentHeaders to WriteResponseHeaders
[Fixes #932 ] Setting Json Serializer Settings
2014-10-15 09:27:09 -07:00
Hao Kung
448ac5a0dc
React to options and hosting changes
2014-10-14 19:20:28 -07:00
Hao Kung
6dfcfaa7eb
React to options changes
2014-10-08 12:56:53 -07:00
sornaks
0d8a7368d9
Issue #1141 - When Accept header or Accept-Charset header has invalid QualityFactor we throw.
...
Fix: Imitating the same behavior as it is in WebApi. We ignore the entire header even if one part of it is invalid.
2014-10-03 16:25:51 -07:00
harshgMSFT
7a3dc352c9
1. Moving the HttpNotAcceptableOutputFormatter to product code.
...
2. Renaming the NoContentFormatter to HttpNoContentOutputFormatter.
3. Updating the test to use mock.
2014-09-12 14:14:44 -07:00
harshgMSFT
e884a476e9
Responding to comments
2014-09-12 13:56:33 -07:00
harshgMSFT
abf27d883f
GetSupportedContentTypes to take in declared and runtime type.
2014-09-12 13:56:30 -07:00
harshgMSFT
7448bf2843
Responding to comments
2014-09-12 13:56:22 -07:00
harshgMSFT
33173d3031
Fix for Content negotiation should fallback to the first formatter that can write the type #1033
...
- Includes functional and unit tests.
2014-09-12 13:56:14 -07:00