<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Unit testing WCF data contract serialization.</title><link>http://msmvps.com/blogs/peterritchie/archive/2009/05/04/unit-testing-wcf-data-contract-serialization.aspx</link><description>WCF service define &amp;quot;data contracts&amp;quot; for their interfaces. These contracts are often defined in an XML schema document and used to generated WCF data contract code. This process effectively creates a .NET type that will serialize to a chunk of</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Unit testing WCF data contract serialization.</title><link>http://msmvps.com/blogs/peterritchie/archive/2009/05/04/unit-testing-wcf-data-contract-serialization.aspx#1723204</link><pubDate>Mon, 14 Sep 2009 09:37:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1723204</guid><dc:creator>riezebosch</dc:creator><description>&lt;p&gt;The DataContractSerializer will throw an exception when for example required fields are empty. Wouldn&amp;#39;t it therefore be enough to just call the WriteObject and return nothing?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1723204" width="1" height="1"&gt;</description></item></channel></rss>