<?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>.Net Trails</title>
	<atom:link href="http://dotnettrails.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnettrails.wordpress.com</link>
	<description>Connecting the dots in .Net</description>
	<lastBuildDate>Tue, 30 Nov 2010 05:24:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dotnettrails.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/01f3e6ed9cbda3b4baf978ad6fb19f94?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>.Net Trails</title>
		<link>http://dotnettrails.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dotnettrails.wordpress.com/osd.xml" title=".Net Trails" />
	<atom:link rel='hub' href='http://dotnettrails.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Blog moved to pooran.in</title>
		<link>http://dotnettrails.wordpress.com/2010/11/30/blog-moved-to-pooran-in/</link>
		<comments>http://dotnettrails.wordpress.com/2010/11/30/blog-moved-to-pooran-in/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 05:23:22 +0000</pubDate>
		<dc:creator>dotnettrails</dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">https://dotnettrails.wordpress.com/2010/11/30/blog-moved-to-pooran-in/</guid>
		<description><![CDATA[Hi all, I am moving my blog to www.pooran.in See you all there! Pooran<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=75&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi all,</p>
<p>I am moving my blog to <a href="http://www.pooran.in">www.pooran.in</a> <img style="border-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://dotnettrails.files.wordpress.com/2010/11/wlemoticon-smile.png?w=655" /></p>
<p>See you all there!</p>
<p>Pooran</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnettrails.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnettrails.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnettrails.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnettrails.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnettrails.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnettrails.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnettrails.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnettrails.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnettrails.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnettrails.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnettrails.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnettrails.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnettrails.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnettrails.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=75&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnettrails.wordpress.com/2010/11/30/blog-moved-to-pooran-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/41eebfeb46839275c8a7f0b5341f85ff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Pooran</media:title>
		</media:content>

		<media:content url="http://dotnettrails.files.wordpress.com/2010/11/wlemoticon-smile.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing log4net log file path via code</title>
		<link>http://dotnettrails.wordpress.com/2010/09/08/changing-log4net-log-file-path-via-code/</link>
		<comments>http://dotnettrails.wordpress.com/2010/09/08/changing-log4net-log-file-path-via-code/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 18:19:35 +0000</pubDate>
		<dc:creator>dotnettrails</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[app.config]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[Log4Net]]></category>
		<category><![CDATA[Simple Things]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Simple settings]]></category>

		<guid isPermaLink="false">https://dotnettrails.wordpress.com/2010/09/08/changing-log4net-log-file-path-via-code/</guid>
		<description><![CDATA[Sometimes we might have to place the log files away from the location where the application is installed. And lo there is an option to do that! In the config file create a variable like below &#60;file type=&#34;log4net.Util.PatternString&#34; value=&#34;%property{SomeVariable}log.txt&#34; /&#62; And in the code, before calling log4net configure, set the new path to the Variable [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=71&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes we might have to place the log files away from the location where the application is installed. And lo there is an option to do that! In the config file create a variable like below</p>
<p><em><strong>&lt;file type=&quot;log4net.Util.PatternString&quot; value=&quot;%property{SomeVariable}log.txt&quot; /&gt;</strong></em></p>
<p>And in the code, before calling log4net configure, set the new path to the Variable</p>
<p><em><strong>log4net.GlobalContext.Properties[&quot;SomeVariable&quot;] = YourNewPath;       <br />log4net.Config.XmlConfigurator.Configure();</strong></em></p>
<p><font>Simple isn’t it <img style="border-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://dotnettrails.files.wordpress.com/2010/09/wlemoticonsmile.png?w=655" /></font></p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:306592da-d6ff-49da-9817-df90ed2f9a94" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/Log4Net" rel="tag">Log4Net</a>,<a href="http://technorati.com/tags/.Net" rel="tag">.Net</a>,<a href="http://technorati.com/tags/C%23" rel="tag">C#</a>,<a href="http://technorati.com/tags/Configuration" rel="tag">Configuration</a>,<a href="http://technorati.com/tags/Fix" rel="tag">Fix</a>,<a href="http://technorati.com/tags/Simple+settings" rel="tag">Simple settings</a>,<a href="http://technorati.com/tags/Simple+Things" rel="tag">Simple Things</a>,<a href="http://technorati.com/tags/Steps" rel="tag">Steps</a>,<a href="http://technorati.com/tags/app.config" rel="tag">app.config</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnettrails.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnettrails.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnettrails.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnettrails.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnettrails.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnettrails.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnettrails.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnettrails.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnettrails.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnettrails.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnettrails.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnettrails.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnettrails.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnettrails.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=71&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnettrails.wordpress.com/2010/09/08/changing-log4net-log-file-path-via-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/41eebfeb46839275c8a7f0b5341f85ff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Pooran</media:title>
		</media:content>

		<media:content url="http://dotnettrails.files.wordpress.com/2010/09/wlemoticonsmile.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>
	</item>
		<item>
		<title>System.ArgumentException: The provided URI scheme &#8216;file&#8217; is invalid; expected &#8216;http&#8217;.</title>
		<link>http://dotnettrails.wordpress.com/2010/08/03/system-argumentexception-the-provided-uri-scheme-file-is-invalid-expected-http/</link>
		<comments>http://dotnettrails.wordpress.com/2010/08/03/system-argumentexception-the-provided-uri-scheme-file-is-invalid-expected-http/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 06:38:13 +0000</pubDate>
		<dc:creator>dotnettrails</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[RIA Services]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">https://dotnettrails.wordpress.com/2010/08/03/system-argumentexception-the-provided-uri-scheme-file-is-invalid-expected-http/</guid>
		<description><![CDATA[If you are using Silverlight RIA Services application, you might get this error sometimes. Simple reason is you have set the Silverlight application as a Startup project. When Silverlight project is startup project it will generate a test html page and loads it from file system rather than in http mode. So simple fix is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=69&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are using Silverlight RIA Services application, you might get this error sometimes. Simple reason is you have set the Silverlight application as a Startup project. When Silverlight project is startup project it will generate a test html page and loads it from file system rather than in http mode. So simple fix is to set the Website that hosts the RIA context as startup project!</p>
<p>Simple isn’t it <img style="border-style:none;" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://dotnettrails.files.wordpress.com/2010/08/wlemoticonsmile.png?w=655" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnettrails.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnettrails.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnettrails.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnettrails.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnettrails.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnettrails.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnettrails.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnettrails.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnettrails.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnettrails.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnettrails.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnettrails.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnettrails.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnettrails.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=69&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnettrails.wordpress.com/2010/08/03/system-argumentexception-the-provided-uri-scheme-file-is-invalid-expected-http/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/41eebfeb46839275c8a7f0b5341f85ff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Pooran</media:title>
		</media:content>

		<media:content url="http://dotnettrails.files.wordpress.com/2010/08/wlemoticonsmile.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>
	</item>
		<item>
		<title>Silverlight 4 + wpf + RIa services + M-V-VM &#8230; deadly mix :)</title>
		<link>http://dotnettrails.wordpress.com/2010/07/03/silverlight-4-wpf-ria-services-m-v-vm-deadly-mix/</link>
		<comments>http://dotnettrails.wordpress.com/2010/07/03/silverlight-4-wpf-ria-services-m-v-vm-deadly-mix/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 09:54:04 +0000</pubDate>
		<dc:creator>dotnettrails</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>
		<category><![CDATA[M-V-VM]]></category>
		<category><![CDATA[RIA Services]]></category>

		<guid isPermaLink="false">https://dotnettrails.wordpress.com/2010/07/03/silverlight-4-wpf-ria-services-m-v-vm-deadly-mix/</guid>
		<description><![CDATA[Working on a prototype that uses Silverlight 4, WPF, RIA services and&#160; MVVM pattern for UI interactions .. looking forward to share some cool findings Technorati Tags: Silverlight 4,WPF 4,RIA services,MVVM<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=66&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Working on a prototype that uses Silverlight 4, WPF, RIA services and&#160; MVVM pattern for UI interactions .. looking forward to share some cool findings <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:68c3e02a-ab49-4431-84bc-d3932526eec4" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/Silverlight+4" rel="tag">Silverlight 4</a>,<a href="http://technorati.com/tags/WPF+4" rel="tag">WPF 4</a>,<a href="http://technorati.com/tags/RIA+services" rel="tag">RIA services</a>,<a href="http://technorati.com/tags/MVVM" rel="tag">MVVM</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnettrails.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnettrails.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnettrails.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnettrails.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnettrails.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnettrails.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnettrails.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnettrails.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnettrails.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnettrails.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnettrails.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnettrails.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnettrails.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnettrails.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=66&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnettrails.wordpress.com/2010/07/03/silverlight-4-wpf-ria-services-m-v-vm-deadly-mix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/41eebfeb46839275c8a7f0b5341f85ff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Pooran</media:title>
		</media:content>
	</item>
		<item>
		<title>Team foundation server 2010 RTM installation steps, errors and workarounds</title>
		<link>http://dotnettrails.wordpress.com/2010/04/20/team-foundation-server-2010-rtm-installation-steps-errors-and-workarounds/</link>
		<comments>http://dotnettrails.wordpress.com/2010/04/20/team-foundation-server-2010-rtm-installation-steps-errors-and-workarounds/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 04:16:08 +0000</pubDate>
		<dc:creator>dotnettrails</dc:creator>
				<category><![CDATA[Simple Things]]></category>
		<category><![CDATA[Error Handling]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[Collation]]></category>
		<category><![CDATA[Power Tools]]></category>
		<category><![CDATA[Team Foundation Server 2010]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[Steps]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[Workarounds]]></category>
		<category><![CDATA[R2]]></category>
		<category><![CDATA[SP2]]></category>
		<category><![CDATA[Latin1_General_CI_AS]]></category>
		<category><![CDATA[accent sensitive]]></category>
		<category><![CDATA[case insensitive]]></category>
		<category><![CDATA[databases]]></category>

		<guid isPermaLink="false">http://dotnettrails.wordpress.com/2010/04/20/team-foundation-server-2010-rtm-installation-steps-errors-and-workarounds/</guid>
		<description><![CDATA[Technorati Tags: Installation,Errors,Steps,Workarounds,R2,SP2,Collation,Latin1_General_CI_AS,accent sensitive,case insensitive,reporting services,databases,power tools,Team Foundation Server 2010 If you are planning to install Team Foundation Server on fresh Windows Server 2008 machine follow these steps which I was able to achieve after good number of trail and errors Make sure you have installed Windows Server 2008 R2/SP2. If not download it from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=63&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div style="display:inline;float:left;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:3e8f0320-a662-4cd9-9ce4-f4c01cf35014" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/Installation" rel="tag">Installation</a>,<a href="http://technorati.com/tags/Errors" rel="tag">Errors</a>,<a href="http://technorati.com/tags/Steps" rel="tag">Steps</a>,<a href="http://technorati.com/tags/Workarounds" rel="tag">Workarounds</a>,<a href="http://technorati.com/tags/R2" rel="tag">R2</a>,<a href="http://technorati.com/tags/SP2" rel="tag">SP2</a>,<a href="http://technorati.com/tags/Collation" rel="tag">Collation</a>,<a href="http://technorati.com/tags/Latin1_General_CI_AS" rel="tag">Latin1_General_CI_AS</a>,<a href="http://technorati.com/tags/accent+sensitive" rel="tag">accent sensitive</a>,<a href="http://technorati.com/tags/case+insensitive" rel="tag">case insensitive</a>,<a href="http://technorati.com/tags/reporting+services" rel="tag">reporting services</a>,<a href="http://technorati.com/tags/databases" rel="tag">databases</a>,<a href="http://technorati.com/tags/power+tools" rel="tag">power tools</a>,<a href="http://technorati.com/tags/Team+Foundation+Server+2010" rel="tag">Team Foundation Server 2010</a></div>
<p>If you are planning to install Team Foundation Server on fresh Windows Server 2008 machine follow these steps which I was able to achieve after good number of trail and errors</p>
<ul>
<li>Make sure you have installed Windows Server 2008 R2/SP2. If not download it from following URL</li>
<ul>
<li><a href="http://www.microsoft.com/downloads/details.aspx?familyid=891AB806-2431-4D00-AFA3-99FF6F22448D&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=891AB806-2431-4D00-AFA3-99FF6F22448D&amp;displaylang=en</a></li>
</ul>
<li>Install SQL Server 2008 </li>
<ul>
<li>Make sure you choose collation settings properly in the server configuration page, collation tab. You have to select Accent Sensitive checkbox.</li>
<ul>
<li>TFS requires Latin1_General_CI_AS to run properly</li>
<li>If you have missed it, follow the instructions as explained in following URL</li>
<ul>
<li><a href="http://blogs.microsoft.co.il/blogs/srlteam/archive/2007/08/10/Team-Foundation-Server-and-SQL-Server-Collation.aspx">http://blogs.microsoft.co.il/blogs/srlteam/archive/2007/08/10/Team-Foundation-Server-and-SQL-Server-Collation.aspx</a></li>
</ul>
</ul>
<li>Install Reporting Services with Share point support</li>
</ul>
<li>Delete default Reporting services databases if you get this following error and rerun the reporting services configuration and create the same databases again</li>
<ul>
<li>The following Web service for SQL Server Reporting Services could not be accessed: &lt;url&gt;/ReportService2005.asmx</li>
<li>Steps are explained in following URL</li>
<ul>
<li><a href="http://blogs.msdn.com/habibh/archive/2009/07/06/troubleshooting-team-foundation-server-2010-beta-1-error-tf255275.aspx">http://blogs.msdn.com/habibh/archive/2009/07/06/troubleshooting-team-foundation-server-2010-beta-1-error-tf255275.aspx</a></li>
</ul>
</ul>
<li>Install Team Foundation Server Power Tools 2010 Release Candidate which work well with RTM or wait till RTM version of the same is available</li>
<ul>
<li><a href="http://visualstudiogallery.msdn.microsoft.com/en-us/a4f8a47e-1f6b-49d6-8f6e-34f705a2001b">http://visualstudiogallery.msdn.microsoft.com/en-us/a4f8a47e-1f6b-49d6-8f6e-34f705a2001b</a></li>
</ul>
</ul>
<p>Hope it saves somebody few frustrating hours <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnettrails.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnettrails.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnettrails.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnettrails.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnettrails.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnettrails.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnettrails.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnettrails.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnettrails.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnettrails.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnettrails.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnettrails.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnettrails.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnettrails.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=63&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnettrails.wordpress.com/2010/04/20/team-foundation-server-2010-rtm-installation-steps-errors-and-workarounds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/41eebfeb46839275c8a7f0b5341f85ff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Pooran</media:title>
		</media:content>
	</item>
		<item>
		<title>remove objects from an Enumerable collection in a loop</title>
		<link>http://dotnettrails.wordpress.com/2010/03/24/remove-objects-from-an-enumerable-collection-in-a-loop/</link>
		<comments>http://dotnettrails.wordpress.com/2010/03/24/remove-objects-from-an-enumerable-collection-in-a-loop/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 11:49:46 +0000</pubDate>
		<dc:creator>dotnettrails</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Simple Things]]></category>
		<category><![CDATA[Error Handling]]></category>
		<category><![CDATA[Tweak]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[Code Sample]]></category>

		<guid isPermaLink="false">http://dotnettrails.wordpress.com/2010/03/24/remove-objects-from-an-enumerable-collection-in-a-loop/</guid>
		<description><![CDATA[If you are trying to remove an object from a list that you are currently iterating through like below, foreach (MyObject myObject in MyListOfMyObjects) { &#160;&#160;&#160;&#160; if (condition) MyListOfMyObjects.Remove(myObject); } you will get an error message that you cannot do it. Best alternative is to create a copy of the object and loop through it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=60&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are trying to remove an object from a list that you are currently iterating through like below,</p>
<blockquote><p>foreach (MyObject myObject in MyListOfMyObjects)     <br />{      <br />&#160;&#160;&#160;&#160; if (condition) MyListOfMyObjects.Remove(myObject);      <br />}</p>
</blockquote>
<p>you will get an error message that you cannot do it.</p>
<p>Best alternative is to create a copy of the object and loop through it and remove from main object</p>
<blockquote><p>foreach (MyObject myObject in new List&lt;MyObject&gt;(MyListOfMyObjects))     <br />{      <br />&#160;&#160;&#160;&#160; if (condition) MyListOfMyObjects.Remove(myObject);      <br />}</p>
</blockquote>
<p>Simple isn’t it <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Source : <a href="http://http://stackoverflow.com/questions/404557/how-to-remove-objects-from-an-enumerable-collection-in-a-loop" target="_blank">StackOverflow</a></p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:030b5d8a-9c51-4df5-99ba-2135c9edfd5c" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/C%23" rel="tag">C#</a>,<a href="http://technorati.com/tags/Code+Sample" rel="tag">Code Sample</a>,<a href="http://technorati.com/tags/.Net" rel="tag">.Net</a>,<a href="http://technorati.com/tags/Error+Handling" rel="tag">Error Handling</a>,<a href="http://technorati.com/tags/Fix" rel="tag">Fix</a>,<a href="http://technorati.com/tags/Simple+Things" rel="tag">Simple Things</a>,<a href="http://technorati.com/tags/Tweak" rel="tag">Tweak</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnettrails.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnettrails.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnettrails.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnettrails.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnettrails.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnettrails.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnettrails.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnettrails.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnettrails.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnettrails.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnettrails.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnettrails.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnettrails.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnettrails.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=60&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnettrails.wordpress.com/2010/03/24/remove-objects-from-an-enumerable-collection-in-a-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/41eebfeb46839275c8a7f0b5341f85ff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Pooran</media:title>
		</media:content>
	</item>
		<item>
		<title>xml schema generation, serialization &amp; deserialization explained</title>
		<link>http://dotnettrails.wordpress.com/2010/03/12/xml-schema-generation-serialization-deserialization-explained/</link>
		<comments>http://dotnettrails.wordpress.com/2010/03/12/xml-schema-generation-serialization-deserialization-explained/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 10:13:31 +0000</pubDate>
		<dc:creator>dotnettrails</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Code Sample]]></category>
		<category><![CDATA[File dialog]]></category>
		<category><![CDATA[Observable Collection]]></category>
		<category><![CDATA[Serialization]]></category>
		<category><![CDATA[Simple Things]]></category>
		<category><![CDATA[Tweak]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XML Schema]]></category>

		<guid isPermaLink="false">http://dotnettrails.wordpress.com/2010/03/12/xml-schema-generation-serialization-deserialization-explained/</guid>
		<description><![CDATA[Lets consider a simple xml named as sample.xml. This can be an xml that you are getting as a output of webservice, a function or just a plain file that you might read in your application. &#60;users&#62; &#160;&#160;&#160; &#60;user&#62; &#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;id&#62;1&#60;/id&#62; &#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;name&#62;asdf&#60;/name&#62; &#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;fullname&#62;asdf,asdf&#60;/fullname&#62; &#160;&#160;&#160; &#60;/user&#62; &#160;&#160;&#160; &#60;user&#62; &#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;id&#62;2&#60;/id&#62; &#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;name&#62;qwer&#60;/name&#62; &#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;fullname&#62;qwer,qwer&#60;/fullname&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=58&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lets consider a simple xml named as sample.xml. This can be an xml that you are getting as a output of webservice, a function or just a plain file that you might read in your application.</p>
<blockquote><p>&lt;users&gt;      <br />&#160;&#160;&#160; &lt;user&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;id&gt;1&lt;/id&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;name&gt;asdf&lt;/name&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;fullname&gt;asdf,asdf&lt;/fullname&gt;       <br />&#160;&#160;&#160; &lt;/user&gt;       <br />&#160;&#160;&#160; &lt;user&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;id&gt;2&lt;/id&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;name&gt;qwer&lt;/name&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;fullname&gt;qwer,qwer&lt;/fullname&gt;       <br />&#160;&#160;&#160; &lt;/user&gt;       <br />&lt;/users&gt;</p>
</blockquote>
<p>Lets create a XML Schema aka XSD file</p>
<p>Open ‘Visual Studio 2008 Command Prompt’ and type in</p>
<blockquote><p>xsd sample.xml</p>
</blockquote>
<p>This will generate sample.xsd file in the folder where you are currently running this command from. Below is how it looks.</p>
<blockquote><p align="left">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;      <br />&lt;xs:schema id=&quot;users&quot; xmlns=&quot;&quot; xmlns:xs=&quot;<a href="http://www.w3.org/2001/XMLSchema&quot;">http://www.w3.org/2001/XMLSchema&quot;</a> xmlns:msdata=&quot;urn:schemas-microsoft-com:xml-msdata&quot;&gt;       <br />&#160; &lt;xs:element name=&quot;users&quot; msdata:IsDataSet=&quot;true&quot; msdata:UseCurrentLocale=&quot;true&quot;&gt;       <br />&#160;&#160;&#160; &lt;xs:complexType&gt;       <br />&#160;&#160;&#160;&#160;&#160; &lt;xs:choice minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xs:element name=&quot;user&quot;&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xs:complexType&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xs:sequence&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xs:element name=&quot;id&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xs:element name=&quot;name&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xs:element name=&quot;fullname&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/xs:sequence&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/xs:complexType&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/xs:element&gt;       <br />&#160;&#160;&#160;&#160;&#160; &lt;/xs:choice&gt;       <br />&#160;&#160;&#160; &lt;/xs:complexType&gt;       <br />&#160; &lt;/xs:element&gt;       <br />&lt;/xs:schema&gt;</p>
</blockquote>
<p>Lets create a class for serialization of xml file</p>
<blockquote><p>xsd sample.xsd /classes /language:cs</p>
</blockquote>
<p>This will generate sample.cs file. By default in the generated file, the collection used is Array. </p>
<blockquote><p>private usersUser[] itemsField;</p>
</blockquote>
<p>Lets use ObservableCollection as it is a generic dynamic data collection that provides notifications (using an interface &quot;INotifyCollectionChanged&quot;) when items get added, removed, or when the whole collection is refreshed. </p>
<p>Below is how the modified class file looks like.</p>
<blockquote><p align="left">//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;      <br />// &lt;auto-generated&gt;       <br />//&#160;&#160;&#160;&#160; This code was generated by a tool.       <br />//&#160;&#160;&#160;&#160; Runtime Version:2.0.50727.3607       <br />//       <br />//&#160;&#160;&#160;&#160; Changes to this file may cause incorrect behavior and will be lost if       <br />//&#160;&#160;&#160;&#160; the code is regenerated.       <br />// &lt;/auto-generated&gt;       <br />//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; </p>
<p align="left">using System.Xml.Serialization;      <br />using System.Collections.ObjectModel; </p>
<p align="left">//      <br />// This source code was auto-generated by xsd, Version=2.0.50727.1432.       <br />// </p>
<p align="left">/// &lt;remarks/&gt;      <br />[System.CodeDom.Compiler.GeneratedCodeAttribute(&quot;xsd&quot;, &quot;2.0.50727.1432&quot;)]       <br />[System.SerializableAttribute()]       <br />[System.Diagnostics.DebuggerStepThroughAttribute()]       <br />[System.ComponentModel.DesignerCategoryAttribute(&quot;code&quot;)]       <br />[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]       <br />[System.Xml.Serialization.XmlRootAttribute(Namespace=&quot;&quot;, IsNullable=false)]       <br />public partial class users { </p>
<p align="left">&#160;&#160;&#160; private ObservableCollection&lt;usersUser&gt; itemsField;      <br />&#160;&#160;&#160; /// &lt;remarks/&gt;       <br />&#160;&#160;&#160; [System.Xml.Serialization.XmlElementAttribute(&quot;user&quot;, Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]       <br />&#160;&#160;&#160; public ObservableCollection&lt;usersUser&gt; Items       <br />&#160;&#160;&#160; {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; get {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return this.itemsField;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; set {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.itemsField = value;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }       <br />&#160;&#160;&#160; }       <br />} </p>
<p align="left">/// &lt;remarks/&gt;      <br />[System.CodeDom.Compiler.GeneratedCodeAttribute(&quot;xsd&quot;, &quot;2.0.50727.1432&quot;)]       <br />[System.SerializableAttribute()]       <br />[System.Diagnostics.DebuggerStepThroughAttribute()]       <br />[System.ComponentModel.DesignerCategoryAttribute(&quot;code&quot;)]       <br />[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]       <br />public partial class usersUser {       <br />&#160;&#160;&#160; private string idField;       <br />&#160;&#160;&#160; private string nameField;       <br />&#160;&#160;&#160; private string fullnameField;       <br />&#160;&#160;&#160; /// &lt;remarks/&gt;       <br />&#160;&#160;&#160; [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]       <br />&#160;&#160;&#160; public string id {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; get {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return this.idField;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; set {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.idField = value;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }       <br />&#160;&#160;&#160; }       <br />&#160;&#160;&#160; /// &lt;remarks/&gt;       <br />&#160;&#160;&#160; [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]       <br />&#160;&#160;&#160; public string name {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; get {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return this.nameField;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; set {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.nameField = value;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }       <br />&#160;&#160;&#160; }       <br />&#160;&#160;&#160; /// &lt;remarks/&gt;       <br />&#160;&#160;&#160; [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]       <br />&#160;&#160;&#160; public string fullname {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; get {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return this.fullnameField;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; set {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; this.fullnameField = value;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }       <br />&#160;&#160;&#160; }       <br />}</p>
</blockquote>
<p>Lets read a file from file system [ Serialization ]. Below is the sample code for doing so</p>
<blockquote><p>System.Windows.Forms.OpenFileDialog ofd = new System.Windows.Forms.OpenFileDialog();      <br />ofd.Multiselect = false;       <br />ofd.Filter = &quot;XML File|*.xml&quot;;       <br />if (ofd.ShowDialog() == System.Windows.Forms.DialogResult.OK)       <br />{       <br />&#160;&#160;&#160; try       <br />&#160;&#160;&#160; {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (File.Exists(ofd.FileName))       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; XmlSerializer deserializer = new XmlSerializer(typeof(users));       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; TextReader textReader = new StreamReader(ofd.FileName);       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; objUsers = new users();       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; objUsers = (users)deserializer.Deserialize(textReader);       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; textReader.Close();&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }       <br />&#160;&#160;&#160; }       <br />&#160;&#160;&#160; catch       <br />&#160;&#160;&#160; {       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; MessageBox.Show(&quot;Not a valid file&quot;);       <br />&#160;&#160;&#160; }       <br />}</p>
</blockquote>
<p>To add a new user, below is the sample code</p>
<blockquote><p>usersUser newuser = new usersUser();      <br />newuser.id = &quot;3&quot;;       <br />newuser.name = &quot;zxcv&quot;;       <br />newuser.fullname = &quot;zxcv,zxcv&quot;;       <br />if (objUsers == null)       <br />&#160;&#160;&#160; objUsers= new users();       <br />objUsers.Items.Add(newuser);</p>
</blockquote>
<p>Lets write a xml file from the objects that we have created [ Deserialization ]. Below is the sample code for doing so</p>
<blockquote><p>if (objUsers == null)      <br />&#160;&#160;&#160; objUsers = new users();       <br />SaveFileDialog dlg = new SaveFileDialog();       <br />dlg.FileName = &quot;New&quot;;       <br />dlg.DefaultExt = &quot;.xml&quot;;       <br />dlg.Filter = &quot;XML file|*.xml&quot;;       <br />Nullable&lt;bool&gt; result = dlg.ShowDialog();       <br />if (result == true)       <br />{       <br />&#160;&#160;&#160; string filepath = dlg.FileName;       <br />&#160;&#160;&#160; XmlSerializer serializer = new XmlSerializer(typeof(users));       <br />&#160;&#160;&#160; TextWriter textWriter = new StreamWriter(filepath);       <br />&#160;&#160;&#160; serializer.Serialize(textWriter, objUsers);       <br />&#160;&#160;&#160; textWriter.Close();       <br />}&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p>
</blockquote>
<p>Simple isn’t it <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Sample code explained in this post is available <a href="http://cid-8f83691dd01b3d44.skydrive.live.com/self.aspx/Blog%20Artifacts/Barcode.zip#resId/8F83691DD01B3D44!201" target="_blank">here</a></p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:516c7f8e-5570-41d8-8d9b-50cc853a7acd" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/.Net" rel="tag">.Net</a>,<a href="http://technorati.com/tags/C%23" rel="tag">C#</a>,<a href="http://technorati.com/tags/Code+Sample" rel="tag">Code Sample</a>,<a href="http://technorati.com/tags/XML" rel="tag">XML</a>,<a href="http://technorati.com/tags/Serialization" rel="tag">Serialization</a>,<a href="http://technorati.com/tags/File+dialog" rel="tag">File dialog</a>,<a href="http://technorati.com/tags/XML+Schema" rel="tag">XML Schema</a>,<a href="http://technorati.com/tags/Tweak" rel="tag">Tweak</a>,<a href="http://technorati.com/tags/Observable+Collection" rel="tag">Observable Collection</a>,<a href="http://technorati.com/tags/Simple+Things" rel="tag">Simple Things</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnettrails.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnettrails.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnettrails.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnettrails.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnettrails.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnettrails.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnettrails.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnettrails.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnettrails.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnettrails.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnettrails.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnettrails.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnettrails.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnettrails.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=58&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnettrails.wordpress.com/2010/03/12/xml-schema-generation-serialization-deserialization-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/41eebfeb46839275c8a7f0b5341f85ff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Pooran</media:title>
		</media:content>
	</item>
		<item>
		<title>capturing Barcode scan using C#</title>
		<link>http://dotnettrails.wordpress.com/2010/03/11/capturing-barcode-scan-using-c/</link>
		<comments>http://dotnettrails.wordpress.com/2010/03/11/capturing-barcode-scan-using-c/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 10:04:50 +0000</pubDate>
		<dc:creator>dotnettrails</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Barcode]]></category>
		<category><![CDATA[Code Sample]]></category>
		<category><![CDATA[Scan]]></category>

		<guid isPermaLink="false">http://dotnettrails.wordpress.com/2010/03/11/capturing-barcode-scan-using-c/</guid>
		<description><![CDATA[Technorati Tags: Barcode,C#,Code Sample,Scan It is know that barcode when scanned, it prints one letter at a time when it is scanning and once scan is complete, it inserts an carriage return at the end. So barcode scan can be handled via 2 events 1. As it is scanning Define public variables public System.Windows.Forms.Timer tmrDelay; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=56&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:ee01ced1-8483-4d73-b09f-356c164c5648" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/Barcode" rel="tag">Barcode</a>,<a href="http://technorati.com/tags/C%23" rel="tag">C#</a>,<a href="http://technorati.com/tags/Code+Sample" rel="tag">Code Sample</a>,<a href="http://technorati.com/tags/Scan" rel="tag">Scan</a></div>
<p>It is know that barcode when scanned, it prints one letter at a time when it is scanning and once scan is complete, it inserts an carriage return at the end.</p>
<p>So barcode scan can be handled via 2 events</p>
<h4>1. As it is scanning</h4>
<p>Define public variables</p>
<blockquote><p>public System.Windows.Forms.Timer tmrDelay;     </p>
</blockquote>
<p>On window Loaded function initialize variables</p>
<blockquote><p>tmrDelay = new System.Windows.Forms.Timer();     <br />tmrDelay.Interval = 1000;      <br />tmrDelay.Enabled = false;</p>
</blockquote>
<p>As we know that barcode when scanned, it prints one letter at a time when it is scanning. So when first letter is entered, start a timer during which the complete barcode will be scanned to the textbox. Once timer is off, you can process it or queue it for processing later. </p>
<p>So, On TextChanged event of the textbox where barcode will be entered, add the following code</p>
<blockquote><p>private void txtBarcode_TextChanged(object sender, TextChangedEventArgs e)     <br />{      <br />&#160;&#160;&#160; try      <br />&#160;&#160;&#160; {      <br />&#160;&#160;&#160; if (txtBarcode.Text.Trim().Length == 1)      <br />&#160;&#160;&#160; {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; tmrDelay.Enabled = true;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; tmrDelay.Start();      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; tmrDelay.Tick += new EventHandler(tmrDelay_Tick);      <br />&#160;&#160;&#160; }      <br />&#160;&#160;&#160; }      <br />&#160;&#160;&#160; catch (Exception ex)      <br />&#160;&#160;&#160; {      <br />&#160;&#160;&#160; MessageBox.Show(ex.Message);      <br />&#160;&#160;&#160; }      <br />} </p>
<p>void tmrDelay_Tick(object sender, EventArgs e)     <br />{      <br />&#160;&#160;&#160; try      <br />&#160;&#160;&#160; {      <br />&#160;&#160;&#160; tmrDelay.Stop();      <br />&#160;&#160;&#160; string strCurrentString = txtBarcode.Text.Trim().ToString();      <br />&#160;&#160;&#160; if (strCurrentString != &quot;&quot;)      <br />&#160;&#160;&#160; {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; //Do something with the barcode entered      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; txtBarcode.Text = &quot;&quot;;      <br />&#160;&#160;&#160; }      <br />&#160;&#160;&#160; txtBarcode.Focus();      <br />&#160;&#160;&#160; }      <br />&#160;&#160;&#160; catch (Exception ex)      <br />&#160;&#160;&#160; {      <br />&#160;&#160;&#160; MessageBox.Show(ex.Message);      <br />&#160;&#160;&#160; }      <br />}</p>
</blockquote>
<h4>2. After scan is complete</h4>
<p>As we also know that once barcode once scan is complete, it inserts an carriage return at the end.</p>
<p>So, you can look for enter key on KeyUp event of the textbox where barcode will be entered, add the following code</p>
<blockquote><p>private void txtBarcode_KeyUp(object sender, KeyEventArgs e)     <br />{      <br />&#160;&#160;&#160; if (e.Key == Key.Enter)      <br />&#160;&#160;&#160; {      <br />&#160;&#160;&#160; string strCurrentString = txtBarcode.Text.Trim().ToString();      <br />&#160;&#160;&#160; if (strCurrentString != &quot;&quot;)      <br />&#160;&#160;&#160; {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; //Do something with the barcode entered      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; txtBarcode.Text = &quot;&quot;;      <br />&#160;&#160;&#160; }      <br />&#160;&#160;&#160; txtBarcode.Focus();      <br />&#160;&#160;&#160; }      <br />}</p>
</blockquote>
<p>Choose the one that suits you <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Simple isn’t it <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Sample code is available <a href="http://cid-8f83691dd01b3d44.skydrive.live.com/self.aspx/Blog%20Artifacts/Barcode.zip" target="_blank">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnettrails.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnettrails.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnettrails.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnettrails.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnettrails.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnettrails.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnettrails.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnettrails.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnettrails.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnettrails.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnettrails.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnettrails.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnettrails.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnettrails.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=56&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnettrails.wordpress.com/2010/03/11/capturing-barcode-scan-using-c/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/41eebfeb46839275c8a7f0b5341f85ff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Pooran</media:title>
		</media:content>
	</item>
		<item>
		<title>Switching between Https and http while accessing wcf/asmx service</title>
		<link>http://dotnettrails.wordpress.com/2010/02/15/switching-between-https-and-http-while-accessing-wcfasmx-service/</link>
		<comments>http://dotnettrails.wordpress.com/2010/02/15/switching-between-https-and-http-while-accessing-wcfasmx-service/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 10:50:45 +0000</pubDate>
		<dc:creator>dotnettrails</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[clickonce]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[Function]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[Tweak]]></category>
		<category><![CDATA[WCF]]></category>
		<category><![CDATA[Web Service]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[webservice]]></category>

		<guid isPermaLink="false">http://dotnettrails.wordpress.com/2010/02/15/switching-between-https-and-http-while-accessing-wcfasmx-service/</guid>
		<description><![CDATA[Technorati Tags: WPF,clickonce,WCF,webservice,tweak,c#,Fix,SSL,Function There may be an instance where we might have to test the clickonce application on production on SSL and stage on port 80, change the url of the wcf/asmx service dynamically etc. Here is how I fixed the issue public static MyService.MyServiceSoapClient GetSoapClient() &#160;&#160;&#160;&#160;&#160;&#160; { &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; MyService.MyServiceSoapClient objClient = new MyService.MyServiceSoapClient(); &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=54&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:e0769a1a-17b2-484e-ac8f-4ad3d42a999c" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/WPF" rel="tag">WPF</a>,<a href="http://technorati.com/tags/clickonce" rel="tag">clickonce</a>,<a href="http://technorati.com/tags/WCF" rel="tag">WCF</a>,<a href="http://technorati.com/tags/webservice" rel="tag">webservice</a>,<a href="http://technorati.com/tags/tweak" rel="tag">tweak</a>,<a href="http://technorati.com/tags/c%23" rel="tag">c#</a>,<a href="http://technorati.com/tags/Fix" rel="tag">Fix</a>,<a href="http://technorati.com/tags/SSL" rel="tag">SSL</a>,<a href="http://technorati.com/tags/Function" rel="tag">Function</a></div>
<p>There may be an instance where we might have to test the clickonce application on production on SSL and stage on port 80, change the url of the wcf/asmx service dynamically etc. </p>
<p>Here is how I fixed the issue</p>
<p>public static MyService.MyServiceSoapClient GetSoapClient()   <br />&#160;&#160;&#160;&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; MyService.MyServiceSoapClient objClient = new MyService.MyServiceSoapClient();    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong> //sets the endpoint address dynamically     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; objClient.Endpoint.Address = new System.ServiceModel.EndpointAddress(strURLRoot + &quot;services/myservice.asmx&quot;); </strong></p>
<p><strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //sets the security mode dynamically     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.ServiceModel.BasicHttpBinding bhbBinding = (System.ServiceModel.BasicHttpBinding)objClient.Endpoint.Binding;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (SharedData.strURLRoot.Contains(&quot;https:&quot;))      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; bhbBinding.Security.Mode = System.ServiceModel.BasicHttpSecurityMode.Transport;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; else      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; bhbBinding.Security.Mode = System.ServiceModel.BasicHttpSecurityMode.None;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; objClient.Endpoint.Binding = bhbBinding;      <br /></strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return objClient;    <br />&#160;&#160;&#160;&#160;&#160;&#160; }</p>
<p>Simple isn’t it?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnettrails.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnettrails.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnettrails.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnettrails.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnettrails.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnettrails.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnettrails.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnettrails.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnettrails.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnettrails.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnettrails.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnettrails.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnettrails.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnettrails.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=54&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnettrails.wordpress.com/2010/02/15/switching-between-https-and-http-while-accessing-wcfasmx-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/41eebfeb46839275c8a7f0b5341f85ff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Pooran</media:title>
		</media:content>
	</item>
		<item>
		<title>Dependency graph for assembly in Vs 2010 beta 2</title>
		<link>http://dotnettrails.wordpress.com/2010/01/14/dependency-graph-for-assembly-in-vs-2010-beta-2/</link>
		<comments>http://dotnettrails.wordpress.com/2010/01/14/dependency-graph-for-assembly-in-vs-2010-beta-2/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 10:25:11 +0000</pubDate>
		<dc:creator>dotnettrails</dc:creator>
				<category><![CDATA[Beta 2]]></category>
		<category><![CDATA[Dependency graph]]></category>
		<category><![CDATA[orphan classes]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">http://dotnettrails.wordpress.com/2010/01/14/dependency-graph-for-assembly-in-vs-2010-beta-2/</guid>
		<description><![CDATA[In Visual Studio 2010 beta 2, on opening the application, click on ‘Architecture’ menu, you will find ‘Generate Dependency Graph’. On expanding, you will find ‘by assembly’, ‘by namespace’, ‘by class’ and custom. Select any one that suits your requirement, and explore how your code calls each and every method in the application, how code [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=52&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Visual Studio 2010 beta 2, on opening the application, click on ‘Architecture’ menu, you will find ‘Generate Dependency Graph’. On expanding, you will find ‘by assembly’, ‘by namespace’, ‘by class’ and custom. </p>
<p>Select any one that suits your requirement, and explore how your code calls each and every method in the application, how code is dependent on other blocks in the application etc. Using this diagram, you can find orphan classes, methods and functions and you can easily weed them out.</p>
<p>Simple isn’t it <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a4fadab7-1c1c-44f9-a8ee-f395fa303f13" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/Visual+Studio+2010" rel="tag">Visual Studio 2010</a>,<a href="http://technorati.com/tags/Beta+2" rel="tag">Beta 2</a>,<a href="http://technorati.com/tags/Dependency+graph" rel="tag">Dependency graph</a>,<a href="http://technorati.com/tags/orphan+classes" rel="tag">orphan classes</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotnettrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotnettrails.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotnettrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotnettrails.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotnettrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotnettrails.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotnettrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotnettrails.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotnettrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotnettrails.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotnettrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotnettrails.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotnettrails.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotnettrails.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotnettrails.wordpress.com&amp;blog=9872487&amp;post=52&amp;subd=dotnettrails&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotnettrails.wordpress.com/2010/01/14/dependency-graph-for-assembly-in-vs-2010-beta-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/41eebfeb46839275c8a7f0b5341f85ff?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Pooran</media:title>
		</media:content>
	</item>
	</channel>
</rss>
