﻿<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developers.de/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>About &amp;quot;KnownTypeAttribute&amp;quot; example</title><link />http://developers.de/blogs/damir_dobric/archive/2009/03/24/about-quot-knowntypeattribute-quot-example.aspx<description>When working with Web Services it is often the case that service utility &amp;quot;svcutil&amp;quot; generates classes which contains attribute KnownTypeAttribute . Because people very often asking about meaning of this attribute, I will give very short example</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: About "KnownTypeAttribute" example</title><link />http://developers.de/blogs/damir_dobric/archive/2009/03/24/about-quot-knowntypeattribute-quot-example.aspx#25899<pubdate>Wed, 22 Sep 2010 06:30:45 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:25899</guid><dc:creator>Madhu</dc:creator><description>&lt;p&gt;Thank you it was timely help for me&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=25899" width="1" height="1"&gt;</description></item><item><title>re: About "KnownTypeAttribute" example</title><link />http://developers.de/blogs/damir_dobric/archive/2009/03/24/about-quot-knowntypeattribute-quot-example.aspx#13078<pubdate>Sat, 10 Jul 2010 08:58:07 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:13078</guid><dc:creator>Damir Dobric</dc:creator><description>&lt;p&gt;When using DataContract-s you do not need SerializableAttribute. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=13078" width="1" height="1"&gt;</description></item><item><title>re: About "KnownTypeAttribute" example</title><link />http://developers.de/blogs/damir_dobric/archive/2009/03/24/about-quot-knowntypeattribute-quot-example.aspx#13047<pubdate>Thu, 08 Jul 2010 09:45:39 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:13047</guid><dc:creator>martin.pm08@gmail.com</dc:creator><description>&lt;p&gt;my BusinessObject is &amp;nbsp;&amp;quot;private RecordSet Insert&amp;quot; i can&amp;#39;t &amp;nbsp;give [SerializableAttribute()] ,if i will give one error is comming&lt;/p&gt;
&lt;p&gt;Attribute &amp;#39;SerializableAttribute&amp;#39; is not valid on this declaration type. It is only valid on &amp;#39;class, struct, enum, delegate&amp;#39; declarations.&lt;/p&gt;
&lt;p&gt;I also getting &amp;quot;the underlying connection was closed the connection was closed unexpectedly&amp;quot; &lt;/p&gt;
&lt;p&gt;CAN U PLS GIVE A SOLUTION&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=13047" width="1" height="1"&gt;</description></item><item><title>re: About "KnownTypeAttribute" example</title><link />http://developers.de/blogs/damir_dobric/archive/2009/03/24/about-quot-knowntypeattribute-quot-example.aspx#8956<pubdate>Mon, 09 Nov 2009 13:10:49 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:8956</guid><dc:creator>Jigar</dc:creator><description>&lt;p&gt;Yes, there is a typo in defining BusinessObject1. Actually I was also confused while reading the article but when I came to comment by Tilak, my doubt was cleared.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=8956" width="1" height="1"&gt;</description></item><item><title>re: About "KnownTypeAttribute" example</title><link />http://developers.de/blogs/damir_dobric/archive/2009/03/24/about-quot-knowntypeattribute-quot-example.aspx#4649<pubdate>Thu, 26 Mar 2009 12:31:32 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:4649</guid><dc:creator>Tilak</dc:creator><description>&lt;p&gt;Hi Damir,&lt;/p&gt;
&lt;p&gt;Thank you very much for putting such a nice example for KnownTypeAttribute.&lt;/p&gt;
&lt;p&gt;I feel there is a typo in the definition of BusinessObject1 in the 2nd rectangle.&lt;/p&gt;
&lt;p&gt;if feel it should be&lt;/p&gt;
&lt;p&gt; &amp;nbsp;public class BusinessObject1:BusinessObjectBase&lt;/p&gt;
&lt;p&gt;instead of &lt;/p&gt;
&lt;p&gt; &amp;nbsp;public class BusinessObject1&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Tilak&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tilak&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=4649" width="1" height="1"&gt;</description></item><item><title>re: About "KnownTypeAttribute" example</title><link />http://developers.de/blogs/damir_dobric/archive/2009/03/24/about-quot-knowntypeattribute-quot-example.aspx#4648<pubdate>Thu, 26 Mar 2009 12:28:20 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:4648</guid><dc:creator>Tilak</dc:creator><description>&lt;p&gt;Hi Damir,&lt;/p&gt;
&lt;p&gt;Thank you very much for putting such a nice example for KnownTypeAttribute.&lt;/p&gt;
&lt;p&gt;I think there is a typo in the definition, of BussinesObject1.&lt;/p&gt;
&lt;p&gt;in the second rectangle&lt;/p&gt;
&lt;p&gt;it is defined as&lt;/p&gt;
&lt;p&gt; public class BusinessObject1&lt;/p&gt;
&lt;p&gt;i feel the intent is in the following way&lt;/p&gt;
&lt;p&gt; public class BusinessObject1:BusinessObjectBase&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tilak&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=4648" width="1" height="1"&gt;</description></item></channel></rss>