<?xml version="1.0" encoding="UTF-8"?>
<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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Nishant Rana&#039;s Weblog &#187; .NET Framework</title>
	<atom:link href="http://nishantrana.wordpress.com/category/net-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://nishantrana.wordpress.com</link>
	<description>Everything related to Microsoft .NET technology</description>
	<lastBuildDate>Tue, 08 Dec 2009 09:08:15 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='nishantrana.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/7096194784cd6b5dc462bb0515e43296?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Nishant Rana&#039;s Weblog &#187; .NET Framework</title>
		<link>http://nishantrana.wordpress.com</link>
	</image>
			<item>
		<title>The &#8216;System.ServiceModel/ServiceHostingEnvironment&#8217; configuration section cannot be created. The Machine.config file is missing information error on opening CRM</title>
		<link>http://nishantrana.wordpress.com/2009/09/01/the-system-servicemodelservicehostingenvironment-configuration-section-cannot-be-created-the-machine-config-file-is-missing-information-error-on-opening-crm/</link>
		<comments>http://nishantrana.wordpress.com/2009/09/01/the-system-servicemodelservicehostingenvironment-configuration-section-cannot-be-created-the-machine-config-file-is-missing-information-error-on-opening-crm/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 06:16:29 +0000</pubDate>
		<dc:creator>Nishant Rana</dc:creator>
				<category><![CDATA[.NET Framework]]></category>
		<category><![CDATA[Microsoft Dynamics CRM]]></category>
		<category><![CDATA[CRM]]></category>
		<category><![CDATA[CRM 4.0]]></category>

		<guid isPermaLink="false">http://nishantrana.wordpress.com/2009/09/01/the-system-servicemodelservicehostingenvironment-configuration-section-cannot-be-created-the-machine-config-file-is-missing-information-error-on-opening-crm/</guid>
		<description><![CDATA[Hi,
I got this error while opening CRM 4 !
The solution was to run the following command 
ServiceModelReg.exe –i
which could be found at 
C:Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation.
Followed by an IISReset.
However in few cases to resolve it, it requires reinstallation of IIS.
ServiceModel Registration tool with -i option
Registers this version of WCF and update scriptmaps at the Internet Information [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nishantrana.wordpress.com&blog=1794554&post=781&subd=nishantrana&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hi,</p>
<p>I got this error while opening CRM 4 !</p>
<p>The solution was to run the following command </p>
<p>ServiceModelReg.exe –i</p>
<p>which could be found at </p>
<p>C:Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation.</p>
<p>Followed by an IISReset.</p>
<p>However in few cases to resolve it, it requires reinstallation of IIS.</p>
<p>ServiceModel Registration tool with -i option</p>
<p>Registers this version of WCF and update scriptmaps at the Internet Information Services (IIS) metabase root and for all scriptmaps under the root. Existing scriptmaps of lower versions are upgraded to this version.</p>
<p>&#160;</p>
<p>Bye.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nishantrana.wordpress.com/781/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nishantrana.wordpress.com/781/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nishantrana.wordpress.com/781/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nishantrana.wordpress.com/781/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nishantrana.wordpress.com/781/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nishantrana.wordpress.com/781/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nishantrana.wordpress.com/781/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nishantrana.wordpress.com/781/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nishantrana.wordpress.com/781/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nishantrana.wordpress.com/781/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nishantrana.wordpress.com&blog=1794554&post=781&subd=nishantrana&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nishantrana.wordpress.com/2009/09/01/the-system-servicemodelservicehostingenvironment-configuration-section-cannot-be-created-the-machine-config-file-is-missing-information-error-on-opening-crm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/110b603cfbecdae6ba10459409a7f1cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nishu</media:title>
		</media:content>
	</item>
		<item>
		<title>Sort SPFolder in SharePoint</title>
		<link>http://nishantrana.wordpress.com/2009/05/13/sort-spfolder-in-sharepoint/</link>
		<comments>http://nishantrana.wordpress.com/2009/05/13/sort-spfolder-in-sharepoint/#comments</comments>
		<pubDate>Wed, 13 May 2009 10:45:45 +0000</pubDate>
		<dc:creator>Nishant Rana</dc:creator>
				<category><![CDATA[.NET Framework]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://nishantrana.wordpress.com/2009/05/13/sort-spfolder-in-sharepoint/</guid>
		<description><![CDATA[We developed a web part showing the folders hierarchy using tree view control. However the folders were not getting displayed in the tree view node in the order they are visible inside the document library i.e. sorted on name.
Creating a tree view
http://www.davehunter.co.uk/Blog/Lists/Posts/Post.aspx?List=f0e16a1a-6fa9-4130-bcab-baeb97ccc4ff&#38;ID=115
So finally used the following code to sort the folders

List&#60;SPFolder&#62; folderList = new List&#60;SPFolder&#62;();
foreach [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nishantrana.wordpress.com&blog=1794554&post=631&subd=nishantrana&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>We developed a web part showing the folders hierarchy using tree view control. However the folders were not getting displayed in the tree view node in the order they are visible inside the document library i.e. sorted on name.</p>
<p>Creating a tree view</p>
<p><a href="http://www.davehunter.co.uk/Blog/Lists/Posts/Post.aspx?List=f0e16a1a-6fa9-4130-bcab-baeb97ccc4ff&amp;ID=115">http://www.davehunter.co.uk/Blog/Lists/Posts/Post.aspx?List=f0e16a1a-6fa9-4130-bcab-baeb97ccc4ff&amp;ID=115</a></p>
<p>So finally used the following code to sort the folders</p>
<p></p>
<p>List&lt;SPFolder&gt; folderList = new List&lt;SPFolder&gt;();</p>
<p>foreach (SPFolder myFolder in folder.SubFolders){</p>
<p>folderList.Add(myFolder);</p>
<p>}</p>
<p>folderList.Sort(delegate(SPFolder p1, SPFolder p2) { return p1.Name.CompareTo(p2.Name); });</p>
<p>For more information on sorting</p>
<p><a href="http://www.developerfusion.com/code/5513/sorting-and-searching-using-c-lists/">http://www.developerfusion.com/code/5513/sorting-and-searching-using-c-lists/</a></p>
<p>Bye..</p>
<p></p>
<p></p>
<p></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nishantrana.wordpress.com/631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nishantrana.wordpress.com/631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nishantrana.wordpress.com/631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nishantrana.wordpress.com/631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nishantrana.wordpress.com/631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nishantrana.wordpress.com/631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nishantrana.wordpress.com/631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nishantrana.wordpress.com/631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nishantrana.wordpress.com/631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nishantrana.wordpress.com/631/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nishantrana.wordpress.com&blog=1794554&post=631&subd=nishantrana&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nishantrana.wordpress.com/2009/05/13/sort-spfolder-in-sharepoint/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/110b603cfbecdae6ba10459409a7f1cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nishu</media:title>
		</media:content>
	</item>
		<item>
		<title>Nice reference card for quick revision</title>
		<link>http://nishantrana.wordpress.com/2009/04/24/nice-reference-card-for-quick-revision/</link>
		<comments>http://nishantrana.wordpress.com/2009/04/24/nice-reference-card-for-quick-revision/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 05:26:09 +0000</pubDate>
		<dc:creator>Nishant Rana</dc:creator>
				<category><![CDATA[.NET Framework]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://nishantrana.wordpress.com/2009/04/24/nice-reference-card-for-quick-revision/</guid>
		<description><![CDATA[Hi,
Yesterday while browsing encountered the following site
http://refcardz.dzone.com/
The site has got nice reference material written by experts.
Do check out this site !!
Bye &#8230;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nishantrana.wordpress.com&blog=1794554&post=607&subd=nishantrana&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hi,</p>
<p>Yesterday while browsing encountered the following site</p>
<p><a title="Refzcard" href="http://refcardz.dzone.com/" target="_blank">http://refcardz.dzone.com/</a></p>
<p>The site has got nice reference material written by experts.</p>
<p>Do check out this site !!</p>
<p>Bye &#8230;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nishantrana.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nishantrana.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nishantrana.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nishantrana.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nishantrana.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nishantrana.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nishantrana.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nishantrana.wordpress.com/607/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nishantrana.wordpress.com/607/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nishantrana.wordpress.com/607/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nishantrana.wordpress.com&blog=1794554&post=607&subd=nishantrana&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nishantrana.wordpress.com/2009/04/24/nice-reference-card-for-quick-revision/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/110b603cfbecdae6ba10459409a7f1cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nishu</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Hyperlink in WPF application</title>
		<link>http://nishantrana.wordpress.com/2009/03/26/using-hyperlink-in-wpf-application/</link>
		<comments>http://nishantrana.wordpress.com/2009/03/26/using-hyperlink-in-wpf-application/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 16:06:30 +0000</pubDate>
		<dc:creator>Nishant Rana</dc:creator>
				<category><![CDATA[.NET Framework]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://nishantrana.wordpress.com/2009/03/26/using-hyperlink-in-wpf-application/</guid>
		<description><![CDATA[To user hyperlink in WPF application we could do something like this
 
&#60;TextBlock&#62;
&#60;Hyperlink NavigateUri=&#8221;http://www.google.co.in&#8221;&#62;
            Click here 
&#60;/Hyperlink&#62;
&#60;/TextBlock&#62;
 
However the NavigateUri works only if we are placing the hyperlink within a page. To use it within a windows-based application we need to hanlde the RequestNavigate event and write the code ourselves.
 
Something like this
 
&#60;TextBlock&#62;            
&#60;Hyperlink NavigateUri=&#8221;http://www.google.co.in&#8221; RequestNavigate=&#8221;Hyperlink_RequestNavigate&#8221;&#62;
 Click here 
&#60;/Hyperlink&#62;             [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nishantrana.wordpress.com&blog=1794554&post=584&subd=nishantrana&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;">To user hyperlink in WPF application we could do something like this</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">&lt;</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">TextBlock&gt;</span><span style="font-size:10pt;font-family:Georgia;"></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">&lt;</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">Hyperlink</span><span style="font-size:10pt;color:red;font-family:Georgia;"> NavigateUri</span><span style="font-size:10pt;color:blue;font-family:Georgia;">=&#8221;http://www.google.co.in&#8221;&gt;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:#a31515;font-family:Georgia;"><span>            </span>Click here </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">&lt;/</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">Hyperlink</span><span style="font-size:10pt;color:blue;font-family:Georgia;">&gt;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">&lt;/</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">TextBlock</span><span style="font-size:10pt;color:blue;font-family:Georgia;">&gt;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;">However the NavigateUri works only if we are placing the hyperlink within a page. To use it within a windows-based application we need to hanlde the RequestNavigate event and write the code ourselves.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;">Something like this</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:red;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">&lt;</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">TextBlock</span><span style="font-size:10pt;color:blue;font-family:Georgia;">&gt;</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;"><span>            </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">&lt;</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">Hyperlink</span><span style="font-size:10pt;color:red;font-family:Georgia;"> NavigateUri</span><span style="font-size:10pt;color:blue;font-family:Georgia;">=&#8221;http://www.google.co.in&#8221;</span><span style="font-size:10pt;color:red;font-family:Georgia;"> RequestNavigate</span><span style="font-size:10pt;color:blue;font-family:Georgia;">=&#8221;Hyperlink_RequestNavigate&#8221;&gt;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:#a31515;font-family:Georgia;"><span> </span>Click here </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">&lt;/</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">Hyperlink</span><span style="font-size:10pt;color:blue;font-family:Georgia;">&gt;</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;"><span>             </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">&lt;/</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">TextBlock</span><span style="font-size:10pt;color:blue;font-family:Georgia;">&gt;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">private</span><span style="font-size:10pt;font-family:Georgia;"> <span style="color:blue;">void</span> Hyperlink_RequestNavigate(<span style="color:blue;">object</span> sender, <span style="color:#2b91af;">RequestNavigateEventArgs</span> e)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>  </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span><span style="color:#2b91af;">Process</span>.Start(<span style="color:blue;">new</span> <span style="color:#2b91af;">ProcessStartInfo</span>(e.Uri.AbsoluteUri));</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>e.Handled = <span style="color:blue;">true</span>;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>  </span>}</span></p>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;">While using hyperlink we could also provide handler for Application.NavigationFailed event in case if navigation fails.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;">That’s it ….</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nishantrana.wordpress.com/584/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nishantrana.wordpress.com/584/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nishantrana.wordpress.com/584/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nishantrana.wordpress.com/584/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nishantrana.wordpress.com/584/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nishantrana.wordpress.com/584/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nishantrana.wordpress.com/584/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nishantrana.wordpress.com/584/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nishantrana.wordpress.com/584/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nishantrana.wordpress.com/584/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nishantrana.wordpress.com&blog=1794554&post=584&subd=nishantrana&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nishantrana.wordpress.com/2009/03/26/using-hyperlink-in-wpf-application/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/110b603cfbecdae6ba10459409a7f1cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nishu</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Custom Configuration Section and Configuration Manager class in .NET – 2</title>
		<link>http://nishantrana.wordpress.com/2009/03/26/using-custom-configuration-section-and-configuration-manager-class-in-net-%e2%80%93-2/</link>
		<comments>http://nishantrana.wordpress.com/2009/03/26/using-custom-configuration-section-and-configuration-manager-class-in-net-%e2%80%93-2/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 07:46:54 +0000</pubDate>
		<dc:creator>Nishant Rana</dc:creator>
				<category><![CDATA[.NET Framework]]></category>

		<guid isPermaLink="false">http://nishantrana.wordpress.com/2009/03/26/using-custom-configuration-section-and-configuration-manager-class-in-net-%e2%80%93-2/</guid>
		<description><![CDATA[Suppose we  want to create a custom config section in this following manner
 
&#60;queryTypes&#62;
    &#60;queryType name=&#8220;qt1&#8220; value=&#8220;qt1 value&#8220;&#62;&#60;/queryType&#62;
    &#60;queryType name=&#8220;qt2&#8220; value=&#8220;qt2 value&#8220;&#62;&#60;/queryType&#62; 
&#60;/queryTypes&#62;
 
For implementing the above custom section we need to first define a class inheriting from ConfigurationSection class
 
Add reference to System.Configuration dll. 
 
Create a new config section class in the following manner 
 
    // implement [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nishantrana.wordpress.com&blog=1794554&post=583&subd=nishantrana&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;">Suppose we<span>  </span>want to create a custom config section in this following manner</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">&lt;</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">queryTypes</span><span style="font-size:10pt;color:blue;font-family:Georgia;">&gt;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;"><span>    </span>&lt;</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">queryType</span><span style="font-size:10pt;color:blue;font-family:Georgia;"> </span><span style="font-size:10pt;color:red;font-family:Georgia;">name</span><span style="font-size:10pt;color:blue;font-family:Georgia;">=</span><span style="font-size:10pt;font-family:Georgia;">&#8220;<span style="color:blue;">qt1</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">qt1 value</span>&#8220;<span style="color:blue;">&gt;&lt;/</span><span style="color:#a31515;">queryType</span><span style="color:blue;">&gt;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;"><span>    </span>&lt;</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">queryType</span><span style="font-size:10pt;color:blue;font-family:Georgia;"> </span><span style="font-size:10pt;color:red;font-family:Georgia;">name</span><span style="font-size:10pt;color:blue;font-family:Georgia;">=</span><span style="font-size:10pt;font-family:Georgia;">&#8220;<span style="color:blue;">qt2</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">value</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">qt2 value</span>&#8220;<span style="color:blue;">&gt;&lt;/</span><span style="color:#a31515;">queryType</span><span style="color:blue;">&gt; </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">&lt;/</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">queryTypes</span><span style="font-size:10pt;color:blue;font-family:Georgia;">&gt;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;">For implementing the above custom section we need to first define a class inheriting from <span style="color:#2b91af;">ConfigurationSection </span>class</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;">Add reference to System.Configuration dll. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;">Create a new config section class in the following manner </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>    </span><span style="color:green;">// implement ConfiguraionSection class</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>    </span><span style="color:blue;">class</span> <span style="color:#2b91af;">QueryTypesSection</span> : <span style="color:#2b91af;">ConfigurationSection</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>    </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span><span style="color:blue;">public</span> QueryTypesSection()</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>[<span style="color:#2b91af;">ConfigurationProperty</span>(<span style="color:#a31515;">""</span>, IsDefaultCollection = <span style="color:blue;">true</span>)]</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span><span style="color:blue;">public</span> <span style="color:#2b91af;">QueryTypesCollection</span> QueryTypes</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span><span style="color:blue;">get</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>                </span><span style="color:blue;">return</span> (<span style="color:#2b91af;">QueryTypesCollection</span>)<span style="color:blue;">base</span>[<span style="color:#a31515;">""</span>];</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>    </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>    </span><span style="color:green;">// Represents a configuration element containing a collection of child elements<span>    </span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>    </span><span style="color:blue;">public</span> <span style="color:blue;">sealed</span> <span style="color:blue;">class</span> <span style="color:#2b91af;">QueryTypesCollection</span> : <span style="color:#2b91af;">ConfigurationElementCollection</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>    </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span><span style="color:blue;">protected</span> <span style="color:blue;">override</span> <span style="color:#2b91af;">ConfigurationElement</span> CreateNewElement()</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span><span style="color:blue;">return</span> <span style="color:blue;">new</span> <span style="color:#2b91af;">QueryTypeElement</span>();</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span><span style="color:blue;">protected</span> <span style="color:blue;">override</span> <span style="color:blue;">object</span> GetElementKey(<span style="color:#2b91af;">ConfigurationElement</span> element)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span><span style="color:blue;">return</span> ((<span style="color:#2b91af;">QueryTypeElement</span>)element).Name;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span><span style="color:blue;">public</span> <span style="color:blue;">override</span> <span style="color:#2b91af;">ConfigurationElementCollectionType</span> CollectionType</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span><span style="color:blue;">get</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>                </span><span style="color:blue;">return</span> <span style="color:#2b91af;">ConfigurationElementCollectionType</span>.BasicMap;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span><span style="color:blue;">protected</span> <span style="color:blue;">override</span> <span style="color:blue;">string</span> ElementName</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span><span style="color:blue;">get</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>                </span><span style="color:blue;">return</span> <span style="color:#a31515;">&#8220;queryType&#8221;</span>;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>    </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>    </span><span style="color:green;">// Defining QueryTypeElement with name and value attribute</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>    </span><span style="color:blue;">public</span> <span style="color:blue;">sealed</span> <span style="color:blue;">class</span> <span style="color:#2b91af;">QueryTypeElement</span> : <span style="color:#2b91af;">ConfigurationElement</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>    </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span><span style="color:green;">// defining name attribute </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>[<span style="color:#2b91af;">ConfigurationProperty</span>(<span style="color:#a31515;">"name"</span>, IsRequired = <span style="color:blue;">true</span>)]</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span><span style="color:blue;">public</span> <span style="color:blue;">string</span> Name</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span><span style="color:blue;">get</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>                </span><span style="color:blue;">return</span> (<span style="color:blue;">string</span>)<span style="color:blue;">this</span> [<span style="color:#a31515;">"name"</span>];</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span><span style="color:blue;">set</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>                </span><span style="color:blue;">this</span>[<span style="color:#a31515;">"name"</span>] = <span style="color:blue;">value</span>;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span><span style="color:green;">// defining value attribute </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>[<span style="color:#2b91af;">ConfigurationProperty</span>(<span style="color:#a31515;">"value"</span>, IsRequired = <span style="color:blue;">true</span>)]</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span><span style="color:blue;">public</span> <span style="color:blue;">string</span> Value</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span><span style="color:blue;">get</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>                </span><span style="color:blue;">return</span> (<span style="color:blue;">string</span>)<span style="color:blue;">this</span>[<span style="color:#a31515;">"value"</span>];</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span><span style="color:blue;">set</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>                </span><span style="color:blue;">this</span>[<span style="color:#a31515;">"value"</span>] = <span style="color:blue;">value</span>;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>        </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>    </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;">Now to register your custom section do the following </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">&lt;</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">configSections</span><span style="font-size:10pt;color:blue;font-family:Georgia;">&gt;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">&lt;</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">section</span><span style="font-size:10pt;color:blue;font-family:Georgia;"> </span><span style="font-size:10pt;color:red;font-family:Georgia;">name</span><span style="font-size:10pt;color:blue;font-family:Georgia;">=</span><span style="font-size:10pt;font-family:Georgia;">&#8220;<span style="color:blue;">queryTypes</span>&#8220;<span style="color:blue;"> </span><span style="color:red;">type</span><span style="color:blue;">=</span>&#8220;<span style="color:blue;">namespace.QueryTypesSection, namespace</span> &#8220;<span style="color:blue;"> /&gt;</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:Georgia;">&lt;/</span><span style="font-size:10pt;color:#a31515;font-family:Georgia;">configSections</span><span style="font-size:10pt;color:blue;font-family:Georgia;">&gt;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;">And to use it within the application </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>  </span><span style="color:#2b91af;">QueryTypesSection</span> queryTypeSection = (<span style="color:#2b91af;">QueryTypesSection</span>)<span style="color:#2b91af;">ConfigurationManager</span>.GetSection(<span style="color:#a31515;">&#8220;queryTypes&#8221;</span>);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span><span style="color:#2b91af;">QueryTypesCollection</span><span>  </span>queryTypeCollection = queryTypeSection.QueryTypes;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span><span style="color:blue;">foreach</span> (<span style="color:#2b91af;">QueryTypeElement</span> se <span style="color:blue;">in</span> queryTypeCollection)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>                </span><span style="color:blue;">string</span> name=se.Name;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>                </span><span style="color:blue;">string</span> value = se.Value;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"><span>            </span>}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Georgia;">That’s it…</span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nishantrana.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nishantrana.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nishantrana.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nishantrana.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nishantrana.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nishantrana.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nishantrana.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nishantrana.wordpress.com/583/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nishantrana.wordpress.com/583/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nishantrana.wordpress.com/583/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nishantrana.wordpress.com&blog=1794554&post=583&subd=nishantrana&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nishantrana.wordpress.com/2009/03/26/using-custom-configuration-section-and-configuration-manager-class-in-net-%e2%80%93-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/110b603cfbecdae6ba10459409a7f1cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nishu</media:title>
		</media:content>
	</item>
	</channel>
</rss>