<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Media-Type Formatters</title><link>http://asp.net</link><pubDate>Fri, 29 Jun 2012 23:56:32 GMT</pubDate><generator>umbraco</generator><description>Comments for Media-Type Formatters</description><language>en</language><atom:link href="http://asp.net/rss/comments/37652" rel="self" type="application/rss+xml" /><item><title>Comment Posted by meadisu</title><link>http://asp.net/web-api/overview/formats-and-model-binding/media-formatters</link><pubDate>Mon, 12 Mar 2012 16:36:54 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015103</guid><description><![CDATA[ <p>Quite handy example on media formatters!  Anyway to use media formatters to extend the serialization/deserialization of the built in ones.  Such as text/xml, text/json, etc.  Or is there a better route to go?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/meadisu.jpg?forceidenticon=false&amp;dt=635071891200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Puhfista</title><link>http://asp.net/web-api/overview/formats-and-model-binding/media-formatters</link><pubDate>Mon, 18 Jun 2012 11:04:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015798</guid><description><![CDATA[ <p>Mike:</p><p></p><p>Is this line:</p><p>&quot;In this example, the formatter can serialize single Contact objects as well as collections of Contact objects. &quot;</p><p></p><p>suppose to read:</p><p>&quot;In this example, the formatter can serialize single Product objects as well as collections of Product objects. &quot;</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Puhfista.jpg?forceidenticon=false&amp;dt=635071891200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by MikeWasson</title><link>http://asp.net/web-api/overview/formats-and-model-binding/media-formatters</link><pubDate>Wed, 20 Jun 2012 01:34:17 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015808</guid><description><![CDATA[ <p>@Puhfista: Yes, thanks! I changed the example without updating the text. </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/MikeWasson.jpg?forceidenticon=false&amp;dt=635071891200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rrjp</title><link>http://asp.net/web-api/overview/formats-and-model-binding/media-formatters</link><pubDate>Fri, 29 Jun 2012 23:56:32 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015885</guid><description><![CDATA[ <p>I would also be interested in an answer to Meadisu&#39;s question. Can we use this to provide an alternate handler for already supported formats (eg. XML) to add support for object types that the .NET XML serializers don&#39;t support (eg. dynamic / ExpandoObject)?</p><p></p><p>Now that you all are using Json.NET for JSON format, my API can output ExpandoObject as JSON but not as XML (internal server error 500). Was wondering if I could use this to plug in something like JsonFx which says it supports outputting XML and Expando...</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/rrjp.jpg?forceidenticon=false&amp;dt=635071891200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>