<?xml version="1.0" encoding="ISO-8859-1"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Serializing Enums in WCF</title>
	<atom:link href="http://zianet.dk/blog/2007/11/24/serializing-enums-in-wcf/feed/" rel="self" type="application/rss+xml" />
	<link>http://zianet.dk/blog/2007/11/24/serializing-enums-in-wcf/</link>
	<description></description>
	<lastBuildDate>Thu, 02 Jun 2011 02:44:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Ken</title>
		<link>http://zianet.dk/blog/2007/11/24/serializing-enums-in-wcf/comment-page-1/#comment-158885</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Thu, 24 Jan 2008 15:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://zianet.dk/blog/2007/11/24/serializing-enums-in-wcf/#comment-158885</guid>
		<description>I was having a problem where the enum was not deserializing at all.  The default (0) was always read no matter what was passed.  I was about to go through and set the Value for all of my EnumMember attribs.  I then had an idea.  What if I set the DataMember using the enum to IsRequired? &lt;i&gt;

Well, NOW IT WORKS!  No having to set the enum values or specify them in the EnumMember attrib.

Weird though.

Now I have to figure out why several other Datamembers are not being deserialized (notably my Int64 and DateTime typed members)

Ken&lt;/i&gt;</description>
		<content:encoded><![CDATA[<p>I was having a problem where the enum was not deserializing at all.  The default (0) was always read no matter what was passed.  I was about to go through and set the Value for all of my EnumMember attribs.  I then had an idea.  What if I set the DataMember using the enum to IsRequired? <i></p>
<p>Well, NOW IT WORKS!  No having to set the enum values or specify them in the EnumMember attrib.</p>
<p>Weird though.</p>
<p>Now I have to figure out why several other Datamembers are not being deserialized (notably my Int64 and DateTime typed members)</p>
<p>Ken</i></p>
]]></content:encoded>
	</item>
</channel>
</rss>

