<?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/"
	>

<channel>
	<title>Amar Galla&#039;s Weblog &#187; dotNet</title>
	<atom:link href="http://amargalla.com/category/Blog/dotnet/feed" rel="self" type="application/rss+xml" />
	<link>http://amargalla.com</link>
	<description>Business, Life and SharePoint</description>
	<lastBuildDate>Fri, 29 Jul 2011 12:49:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>.NET Adoption in Startups</title>
		<link>http://amargalla.com/Blog/dotnet/170-net-adoption-startups</link>
		<comments>http://amargalla.com/Blog/dotnet/170-net-adoption-startups#comments</comments>
		<pubDate>Tue, 06 Jul 2010 06:53:11 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[dotNet]]></category>

		<guid isPermaLink="false">http://amargalla.com/?p=170</guid>
		<description><![CDATA[A very interesting article over at Aaronontheweb about .NET Adoption in Startups. Some really excellent comments also giving very different viewpoints. Quite an interesting read.]]></description>
			<content:encoded><![CDATA[<p>A very interesting article over at <a href="http://www.aaronstannard.com/post/2010/07/03/NET-Culture-Shock-Why-NET-Adoption-Lags-Among-Startups.aspx" target="_blank">Aaronontheweb about .NET Adoption in Startups</a>. Some really excellent comments also giving very different viewpoints. Quite an interesting read.</p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/dotnet/170-net-adoption-startups/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML 5 with Visual Studio 2010</title>
		<link>http://amargalla.com/Blog/general/169-html-5-with-visual-studio-2010</link>
		<comments>http://amargalla.com/Blog/general/169-html-5-with-visual-studio-2010#comments</comments>
		<pubDate>Thu, 01 Jul 2010 11:55:04 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[dotNet]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://amargalla.com/Blog/general/169-html-5-with-visual-studio-2010</guid>
		<description><![CDATA[If you have tried to create / edit an HTML 5 document in Visual Studio, you must have got a lot of validation errors. The current validator in Visual Studio 2010 supports HTML 4.01 or XHTML 1.1 Transitional as the highest standards. To enable Intellisense to work with HTML 5, perform the following steps: Download [...]]]></description>
			<content:encoded><![CDATA[<p>If you have tried to create / edit an HTML 5 document in Visual Studio, you must have got a lot of validation errors. The current validator in Visual Studio 2010 supports HTML 4.01 or XHTML 1.1 Transitional as the highest standards.</p>
<p>To enable Intellisense to work with HTML 5, perform the following steps:</p>
<ol>
<li>Download the HTML5 support package for Visual Studio 2008 from the <a href="http://blogs.msdn.com/b/webdevtools/archive/2009/11/18/html-5-intellisense-and-validation-schema-for-visual-studio-2008-and-visual-web-developer.aspx" target="_blank">Visual Web Developer team here</a>.</li>
<li>Copy the html_5.xsd in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\schemas\html</li>
<li>Edit the correct registry file and replace 9.0 with 10.0     <br />The file will look like this ( 64 bit VS 2010 Ultimate for me ):</li>
<p>Windows Registry Editor Version 5.00 </p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Packages\{1B437D20-F8FE-11D2-A6AE-00104BCC7269}\Schemas\Schema 23]     <br />&quot;File&quot;=&quot;html\\html_5.xsd&quot;      <br />&quot;Friendly Name&quot;=&quot;HTML 5&quot;      <br />&quot;URI&quot;=&quot;http://schemas.microsoft.com/intellisense/html-5&quot;</p>
<li>Run the registry file to merge it with your registry.</li>
<li>Open Visual Studio 2010</li>
<li>Go to Tools-&gt;Options-&gt;Text Editor-&gt;HTML-&gt;Validation</li>
<li>Select target as HTML 5</li>
</ol>
<p>This would allow you to get Intellisense for your HTML 5 based projects.</p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/general/169-html-5-with-visual-studio-2010/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Typemock ASP.NET Bundle</title>
		<link>http://amargalla.com/Blog/dotnet/124-typemock-aspnet-bundle</link>
		<comments>http://amargalla.com/Blog/dotnet/124-typemock-aspnet-bundle#comments</comments>
		<pubDate>Thu, 21 May 2009 09:30:42 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[dotNet]]></category>

		<guid isPermaLink="false">http://amargalla.com/?p=124</guid>
		<description><![CDATA[Hi everyone. After using Typemock on one of my projects, I can definitely say that it is a fantastic product for your unit testing. Have just heard about a promotion which Typemock is running currently to promote their new produt and giving away licences. See the details below: Unit Testing ASP.NET? ASP.NET unit testing has [...]]]></description>
			<content:encoded><![CDATA[<p>Hi everyone. After using Typemock on one of my projects, I can definitely say that it is a fantastic product for your unit testing. Have just heard about a promotion which Typemock is running currently to promote their new produt and giving away licences. See the details below:</p>
<p><a href="http://www.typemock.com/"><span style="color: #006699;">Unit Testing</span></a> ASP.NET? <a href="http://www.typemock.com/ASP.NET_unit_testing_page.php"><span style="color: #006699;">ASP.NET unit testing</span></a> has never been this easy.</p>
<p>Typemock is launching a new product for ASP.NET developers – the <strong>ASP.NET Bundle</strong> &#8211; and for the launch will be giving out <span style="color: #000000;"><span style="color: #006600;"><strong>FREE licenses</strong></span> to bloggers and their readers.</p>
<p>The ASP.NET Bundle is the ultimate ASP.NET unit testing solution, and offers both </span><a href="http://www.typemock.com/"><span style="color: #006699;">Typemock Isolator</span></a>, a <a href="http://www.typemock.com/"><span style="color: #006699;">unit test</span></a> tool and <a href="http://sm-art.biz/Ivonna.aspx"><span style="color: #006699;">Ivonna</span></a>, the Isolator add-on for <a href="http://sm-art.biz/Ivonna.aspx"><span style="color: #006699;">ASP.NET unit testing</span></a>, for a bargain price.</p>
<p>Typemock Isolator is a leading <a href="http://www.typemock.com/"><span style="color: #006699;">.NET unit testing</span></a> tool (C# and VB.NET) for many ‘hard to test’ technologies such as <a href="http://typemock.com/sharepointpage.php"><span style="color: #006699;">SharePoint</span></a>, <a href="http://www.typemock.com/ASP.NET_unit_testing_page.php"><span style="color: #006699;">ASP.NET</span></a>, <a href="http://www.typemock.com/ASP.NET_unit_testing_page.php"><span style="color: #006699;">MVC</span></a>, <a href="http://www.typemock.com/wcfpage.php"><span style="color: #006699;">WCF</span></a>, WPF, <a href="http://www.typemock.com/Silverlight_unit_testing_page.php"><span style="color: #006699;">Silverlight</span></a> and more. Note that for <a href="http://www.typemock.com/Silverlight_unit_testing_page.php"><span style="color: #006699;">unit testing Silverlight</span></a> there is an open source Isolator add-on called <a href="http://www.typemock.com/Silverlight_unit_testing_page.php"><span style="color: #006699;">SilverUnit</span></a>.</p>
<p>The first 60 bloggers who will blog this text in their blog and <a href="http://blog.typemock.com/2009/05/get-free-typemock-licenses-aspnet.html"><span style="color: #006699;">tell us about it</span></a>, will get a Free Isolator ASP.NET Bundle license (Typemock Isolator + Ivonna). If you post this in an ASP.NET <strong>dedicated</strong> blog, you&#8217;ll get a license automatically (even if more than 60 submit) during the first week of this announcement.</p>
<p>Also 8 bloggers will get an <strong>additional 2 licenses</strong> (each) to give away to their readers / friends.</p>
<p>Go ahead, click the following link for <a href="http://blog.typemock.com/2009/05/get-free-typemock-licenses-aspnet.html"><span style="color: #006699;">more information </span></a>on how to get your free license.</p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/dotnet/124-typemock-aspnet-bundle/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting all XML Key Value pairs in XSL</title>
		<link>http://amargalla.com/Blog/dotnet/120-getting-all-xml-key-value-pairs-in-xsl</link>
		<comments>http://amargalla.com/Blog/dotnet/120-getting-all-xml-key-value-pairs-in-xsl#comments</comments>
		<pubDate>Fri, 30 Jan 2009 09:13:51 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[dotNet]]></category>

		<guid isPermaLink="false">http://amargalla.com/?p=120</guid>
		<description><![CDATA[May times when I try to design a XSL against an unknown data stream, I would like to know what all values are available. Here is a nifty XSL which I have been using for a while. ( I am sure there are many versions out there ). &#60;xsl:for-each select="@*"&#62;     &#60;br/&#62; Name: &#60;xsl:value-of select="name()" [...]]]></description>
			<content:encoded><![CDATA[<p>May times when I try to design a XSL against an unknown data stream, I would like to know what all values are available. Here is a nifty XSL which I have been using for a while. ( I am sure there are many versions out there ).<br />
<code><br />
<span>&lt;xsl:for-each select="@*"&gt;<br />
    &lt;br/&gt; Name: &lt;xsl:value-of select="name()" /&gt; Value:&lt;xsl:value-of select="." /&gt;<br />
&lt;/xsl:for-each&gt;<br />
</span></code><br />
It gives a list of all elements with their values. Quite handy to check if you have got the element name wrong etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/dotnet/120-getting-all-xml-key-value-pairs-in-xsl/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure ASP.NET Websites to output XHTML to W3C Validator</title>
		<link>http://amargalla.com/Blog/dotnet/104-configure-asp-net-websites-to-output-xhtml-to-w3c-validator</link>
		<comments>http://amargalla.com/Blog/dotnet/104-configure-asp-net-websites-to-output-xhtml-to-w3c-validator#comments</comments>
		<pubDate>Wed, 12 Nov 2008 12:15:00 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[dotNet]]></category>

		<guid isPermaLink="false">/blog/archive/2008/11/12/configure-asp-net-websites-to-output-xhtml-to-w3c-validator.aspx</guid>
		<description><![CDATA[In my previous blog entry, I showed how to configure ASP.NET to output XHTML to the browsers. However, when the W3C Validator checks the page, ASP.NET does not know the W3C user agent and hence sends out non compliant code.&#160;The trick is in the w3cvalidator.browser file available on idunno.org. Just drop the file in your [...]]]></description>
			<content:encoded><![CDATA[<p>           <P>In my previous blog entry, I showed how to configure ASP.NET to output XHTML to the browsers. However, when the W3C Validator checks the page, ASP.NET does not know the W3C user agent and hence sends out non compliant code.&nbsp;The trick is in the <A class="" href="http://idunno.org/misc/w3cvalidator.browser.txt" target=_blank>w3cvalidator.browser</A> file available on <A class="" href="http://idunno.org/archive/2005/08/01/216.aspx" target=_blank>idunno.org</A>. Just drop the file in your App_Browsers folder and ASP.NET will&nbsp;send out XHTML compliant code to the Validator.</P></p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/dotnet/104-configure-asp-net-websites-to-output-xhtml-to-w3c-validator/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making ASP.NET XHTML Compliant</title>
		<link>http://amargalla.com/Blog/dotnet/103-making-asp-net-xhtml-compliant</link>
		<comments>http://amargalla.com/Blog/dotnet/103-making-asp-net-xhtml-compliant#comments</comments>
		<pubDate>Wed, 12 Nov 2008 08:48:00 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[dotNet]]></category>

		<guid isPermaLink="false">/blog/archive/2008/11/12/making-asp-net-xhtml-compliant.aspx</guid>
		<description><![CDATA[ASP.NET by default does not emit XHTML compliant code. Consider this scenario. You have carefully created an XHTML compliant design. Created your pages using ASP.NET and when you try to validate your page, it fails with the error : Line x, Column y: there is no attribute “name”. &#60;form name="aspnetForm" method="post" action="Default.aspx" id="aspnetForm"&#62; This leaves [...]]]></description>
			<content:encoded><![CDATA[<p>ASP.NET by default does not emit XHTML compliant code. Consider this scenario. You have carefully created an XHTML compliant design. Created your pages using ASP.NET and when you try to validate your page, it fails with the error :</p>
<p><em>Line x, Column y</em>: there is no attribute “name”.</p>
<pre><code>&lt;form name="aspnetForm" method="post" action="Default.aspx" id="aspnetForm"&gt;</code></pre>
<p>This leaves you a bit stunned, as ASP.NET adds the name tag to the form on compile and you don&#8217;t have any control over it. However, don&#8217;t worry. There is a solution.</p>
<p>Just add to following under system.web in your web.config file. <span style="font-size: x-small; color: #0000ff;"></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;"><br />
<font size="2" color="#0000ff"><font size="2" color="#0000ff">&lt;</p>
<p></font></font></span><font size="2" color="#0000ff"> </p>
<p></font></span><span style="font-size: x-small; color: #a31515;"><span style="font-size: x-small; color: #a31515;">xhtmlConformance</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;"> </span></span><span style="font-size: x-small; color: #ff0000;"><span style="font-size: x-small; color: #ff0000;">mode</span></span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">=</span></span><span style="font-size: x-small;">&#8220;</span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">Strict</span></span><span style="font-size: x-small;">&#8221; </span><span style="font-size: x-small; color: #0000ff;"><span style="font-size: x-small; color: #0000ff;">/&gt;</span></span></p>
<p>ASP.NET should generate compliant code now, and you should see the following in your rendered output.</p>
<pre><code>&lt;form method="post" action="default.aspx" id="aspnetForm"&gt;</code></pre>
<p>As you see, it does not render the name tag anymore. Problem solved. Time to display the W3C Validated icons on your page with pride <img src='http://amargalla.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/dotnet/103-making-asp-net-xhtml-compliant/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Analyse your Source Code</title>
		<link>http://amargalla.com/Blog/dotnet/93-analyse-your-source-code</link>
		<comments>http://amargalla.com/Blog/dotnet/93-analyse-your-source-code#comments</comments>
		<pubDate>Fri, 06 Jun 2008 10:51:00 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[dotNet]]></category>

		<guid isPermaLink="false">/blog/archive/2008/06/06/analyse-your-source-code.aspx</guid>
		<description><![CDATA[I recently gave Microsoft Source Analysis a try. It was released sometime ago, and act&#8217;s as an add-in in Visual Studio to check the source code with some coding rules. This is different from FxCop which checks assemblies. This checks your source code before it is compiled right in Visual Studio editor.I did like the [...]]]></description>
			<content:encoded><![CDATA[<p><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">I recently gave <A class="" href="https://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=sourceanalysis" target=_blank mce_href="https://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=sourceanalysis">Microsoft Source Analysis</A> a try. It was released sometime ago, and act&#8217;s as an add-in in Visual Studio to check the source code with some coding rules. This is different from FxCop which checks assemblies. This checks your source code before it is compiled right in Visual Studio editor.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">I did like the tool. Quite handy, but will need a little bit getting used to.</SPAN><br />
<P><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">Some companies may need to change some rules to match their coding standards.&nbsp;For people who don&#8217;t have a particularly though out coding standard in place, and are using something from the ASP / VB / C days, it may be worth changing over the standard based on the Source Analysis rules, as it has been in use for quite a while at some parts of Microsoft, and from an overall look, it does look quite a decent one.</SPAN></P><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">There are a few irritations, but you can turn rules on and off. The most irritating part is that it throws up tons of errors in the Visual Studio generated code. Also, another irritation is that the default rules need a header on every page. However, it is not a bad thing. Either you can toggle the rule off, or write a header. Doh&#8230; Most of you like me will go, how do I write a header which Source Analysis will understand? Well, worry not, help is at hand.</SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">You can use the following header for your code files: </SPAN><br />
<P><SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Arial','sans-serif'">//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<BR>// &lt;copyright file=&#8221;Program.cs&#8221; company=&#8221;Your Company Name&#8221;&gt;<BR>// Copyright (c) Your Company Name. All rights reserved.<BR>// &lt;/copyright&gt;<BR>// &lt;author&gt;Your Name&lt;/author&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;&#8211;</SPAN></P><SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Arial','sans-serif'"></SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">What about the Visual Studio auto-generated files? You don&#8217;t need to worry about Source formatting and coding practices in those files. So how do we exclude them from being checked? Well, there is a simple enough way.<o:p></o:p></SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">Just add the following header in all files you don&#8217;t want checked by Source Analysis.</SPAN> <FONT color=#008000 size=2><br />
<P>// &lt;auto-generated /&gt;</FONT></P><br />
<P>For more details about headers, you can check out the rules documentation on the&nbsp;<A href="http://blogs.msdn.com/sourceanalysis/pages/source-analysis-4-2-documentation-rules.aspx" target=_blank mce_href="http://blogs.msdn.com/sourceanalysis/pages/source-analysis-4-2-documentation-rules.aspx">Source Analysis Blog</A>.</P><o:p></o:p></SPAN><br />
<P mce_keep="true"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">Lastly, now, you are sort of morally forced to document every method. I know it&#8217;s a bit of an effort for all lazy developers like me. So GhostDoc come here to rescue us from our plight. For those of you, who don&#8217;t know about <A href="http://www.roland-weigelt.de/ghostdoc/" target=_blank mce_href="http://www.roland-weigelt.de/ghostdoc/">Ghost Doc</A>, shame on you. Just kidding <img src='http://amargalla.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  It is a cool VS Add-In by Roland Weigelt, which auto generates method descriptions by guessing it from the description. It is not perfect, but definitely a big leap from the Visual Studio way. <A href="http://www.roland-weigelt.de/ghostdoc/" target=_blank mce_href="http://www.roland-weigelt.de/ghostdoc/">Download it</A> and I can assure you that you will seriously get addicted to it. Combine together Ghost Doc and Source Analysis, make coding much clearer, better documented and developer friendly.</SPAN><FONT color=#008000 size=2></P></FONT></p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/dotnet/93-analyse-your-source-code/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging .NET Source Code</title>
		<link>http://amargalla.com/Blog/dotnet/87-debugging-net-source-code</link>
		<comments>http://amargalla.com/Blog/dotnet/87-debugging-net-source-code#comments</comments>
		<pubDate>Thu, 17 Jan 2008 13:01:00 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[dotNet]]></category>

		<guid isPermaLink="false">/blog/archive/2008/01/17/debugging-net-source-code.aspx</guid>
		<description><![CDATA[Shawn Burke has a nice article which explains how to enable Visual Studio to download the symbol files and enable debugging for the .NET Source Code in your project. This is definitely a big help, as we no longer have to treat internal .NET assemblies as a black box, but gives us a the power [...]]]></description>
			<content:encoded><![CDATA[<p><P mce_keep="true">Shawn Burke has a nice article which explains how to enable Visual Studio to download the symbol files and enable debugging for the .NET Source Code in your project. This is definitely a big help, as we no longer have to treat internal .NET assemblies as a black box, but gives us a the power to find out why an error happened and what kind of data the runtime expects?</P><br />
<P mce_keep="true">Have a look at this <A class="" href="http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx" target=_blank mce_href="http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx">excellent article</A> and start configuring your development environment to support it.</P></p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/dotnet/87-debugging-net-source-code/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dotNet 3.5 Namespace Poster</title>
		<link>http://amargalla.com/Blog/dotnet/82-dotnet-3-5-namespace-poster</link>
		<comments>http://amargalla.com/Blog/dotnet/82-dotnet-3-5-namespace-poster#comments</comments>
		<pubDate>Tue, 20 Nov 2007 10:11:00 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[dotNet]]></category>

		<guid isPermaLink="false">/blog/archive/2007/11/20/dotnet-3-5-namespace-poster.aspx</guid>
		<description><![CDATA[Just a quick update. Found this cool poster of .net 1.0 &#8211; 3.5 namespaces. Definitely a must to hang around any developer&#8217;s cubicle &#160;Download it straight from Microsoft.]]></description>
			<content:encoded><![CDATA[<p>           <P>Just a quick update. Found this cool poster of .net 1.0 &#8211; 3.5 namespaces. Definitely a must to hang around any developer&#8217;s cubicle <img src='http://amargalla.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> &nbsp;<A href="http://www.microsoft.com/downloads/details.aspx?familyid=7B645F3A-6D22-4548-A0D8-C2A27E1917F8&amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=7B645F3A-6D22-4548-A0D8-C2A27E1917F8&amp;displaylang=en">Download it straight from Microsoft</A>. </P></p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/dotnet/82-dotnet-3-5-namespace-poster/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>.NET Code Performance</title>
		<link>http://amargalla.com/Blog/dotnet/70-net-code-performance</link>
		<comments>http://amargalla.com/Blog/dotnet/70-net-code-performance#comments</comments>
		<pubDate>Wed, 22 Nov 2006 20:11:00 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[dotNet]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">/blog/archive/2006/11/22/net-code-performance.aspx</guid>
		<description><![CDATA[I recently had been busy performance tuning .NET code, and I was very surprised at some of the findings as I timed and profiled various code modules. I had done a lot of performance tuning with C++ before I migrated to .NET. Had not done any serious performance tuning till now with .NET. While I [...]]]></description>
			<content:encoded><![CDATA[<p><P>I recently had been busy performance tuning .NET code, and I was very surprised at some of the findings as I timed and profiled various code modules. I had done a lot of performance tuning with C++ before I migrated to .NET. Had not done any serious performance tuning till now with .NET. While I was profiling a SharePoint WebPart, these findings would be equally applicable to any .NET code.</P><br />
<P>I was surprised to see that accessing a property off an object had a surprising big hit. e.g.</P><br />
<P>MyObject is an object which has a property say, ID.</P><br />
<P>I have a loop of code which uses the MyObject and tried to compare the ID with something&#8230;</P><br />
<P>for (int i =0; i &lt; 100; i ++)<BR>{</P><br />
<P>if ( MyObject.ID == something)<BR>do something&#8230;<BR>}</P><br />
<P>I observed that there were a few milliseconds being spend whenever I tried to access MyObject.ID. </P><br />
<P>Alternatively the following code ran much faster.</P><br />
<P>int id = MyObject.ID</P><br />
<P>for (int i =0; i &lt; 100; i ++)<BR>{</P><br />
<P>if ( id == something)<BR>do something&#8230;<BR>}</P><br />
<P>I guess the overhead of accessing the object and getting the property value does have a hit and can take up time if say you have a recursive function or an iterative function. Will be careful of such cases in the future.</P><br />
<P>I guess I will spend a bit more time exploring the internals of .NET to profile and find out such cases which can make a difference in our code.</P><br />
<P>P.S. I know I have not been posting to this blog for a bit. I am trying to move my blog to a better host and with better control over it. Yahoo Hosting is not adequate for it, as I cannot do a lot of things I plan to do with my WordPress installation. Hence will mostly be moving this site to a new server which does not have restrictions. So busy evaluating offers and packaged from hundreds of hosting companies to find one which is just right for a geek developer like me, who would like to have enough control when needed from time to time. </P></p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/dotnet/70-net-code-performance/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

