<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://aspadvice.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharpDeveloper.NET (formally .NET Advice)</title><link>http://aspadvice.com/blogs/net_advice/default.aspx</link><description>Sharpen your .NET skills and write high quality professional code with &lt;a href="http://www.sharpdeveloper.net/"&gt;SharpDeveloper&lt;/a&gt;
&lt;a href="http://www.statcounter.com/" target="_blank"&gt;&lt;img src="http://c26.statcounter.com/counter.php?sc_project=2606136&amp;java=0&amp;security=3d13e67d&amp;invisible=0" alt="blog stats" border="0"&gt;&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2.1 (Build: 60809.935)</generator><item><title>.NET Predicates</title><link>http://aspadvice.com/blogs/net_advice/archive/2007/05/28/.NET-Predicates.aspx</link><pubDate>Mon, 28 May 2007 23:59:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:29973</guid><dc:creator>salibhai</dc:creator><slash:comments>1</slash:comments><comments>http://aspadvice.com/blogs/net_advice/comments/29973.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/net_advice/commentrss.aspx?PostID=29973</wfw:commentRss><description>&lt;font size="2"&gt;
&lt;p style="font-weight:bold;"&gt;YourGenericListOfInts.RemoveAll(&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; System.&lt;/font&gt;&lt;font color="#008080" size="2"&gt;Predicate&lt;/font&gt;&lt;font size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;int&lt;/font&gt;&lt;font size="2"&gt;&amp;gt;( &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;delegate&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;int&lt;/font&gt;&lt;font size="2"&gt; val) { &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;return&lt;/font&gt;&lt;font size="2"&gt; (val == r.Index); }));&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font face="Arial"&gt;A &lt;b&gt;predicate &lt;/b&gt;is a function that returns
true or false and can be used for example to filter your results.. For
example your .NET RemoveAll(...) function can actually do things like ...&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://sharpdeveloper.net/content/archive/2007/05/25/predicates.aspx"&gt;Read more at SharpDeveloper&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;a href="http://technorati.com/claim/xdtqvhqwwz" rel="me"&gt;&lt;/a&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/net_advice/archive/2007/05/28/.NET-Predicates.aspx&amp;amp;;subject=.NET+Predicates" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/28/.NET-Predicates.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/28/.NET-Predicates.aspx&amp;amp;;title=.NET+Predicates" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/28/.NET-Predicates.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/28/.NET-Predicates.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/28/.NET-Predicates.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/28/.NET-Predicates.aspx&amp;amp;title=.NET+Predicates" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/28/.NET-Predicates.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/28/.NET-Predicates.aspx&amp;amp;;title=.NET+Predicates" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/28/.NET-Predicates.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/net_advice/archive/2007/05/28/.NET-Predicates.aspx&amp;amp;;title=.NET+Predicates&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/28/.NET-Predicates.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=29973" width="1" height="1"&gt;</description><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/.net/default.aspx">.net</category><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/Predicates/default.aspx">Predicates</category></item><item><title>.NET Advice now SharpDeveloper</title><link>http://aspadvice.com/blogs/net_advice/archive/2007/05/25/.NET-Advice-now-SharpDeveloper.aspx</link><pubDate>Fri, 25 May 2007 13:39:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:29925</guid><dc:creator>salibhai</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/net_advice/comments/29925.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/net_advice/commentrss.aspx?PostID=29925</wfw:commentRss><description>&lt;p&gt;I decided to open up shop at my own domain - &lt;a href="http://www.sharpdeveloper.net/publish/"&gt;SharpDeveloper.NET&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Check it out!&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/net_advice/archive/2007/05/25/.NET-Advice-now-SharpDeveloper.aspx&amp;amp;;subject=.NET+Advice+now+SharpDeveloper" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/25/.NET-Advice-now-SharpDeveloper.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/25/.NET-Advice-now-SharpDeveloper.aspx&amp;amp;;title=.NET+Advice+now+SharpDeveloper" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/25/.NET-Advice-now-SharpDeveloper.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/25/.NET-Advice-now-SharpDeveloper.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/25/.NET-Advice-now-SharpDeveloper.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/25/.NET-Advice-now-SharpDeveloper.aspx&amp;amp;title=.NET+Advice+now+SharpDeveloper" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/25/.NET-Advice-now-SharpDeveloper.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/25/.NET-Advice-now-SharpDeveloper.aspx&amp;amp;;title=.NET+Advice+now+SharpDeveloper" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/25/.NET-Advice-now-SharpDeveloper.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/net_advice/archive/2007/05/25/.NET-Advice-now-SharpDeveloper.aspx&amp;amp;;title=.NET+Advice+now+SharpDeveloper&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/25/.NET-Advice-now-SharpDeveloper.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=29925" width="1" height="1"&gt;</description><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/.net/default.aspx">.net</category><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/C_2300_/default.aspx">C#</category></item><item><title>Creating SqlParameters Best Practices</title><link>http://aspadvice.com/blogs/net_advice/archive/2007/05/16/SqlParameters.aspx</link><pubDate>Wed, 16 May 2007 21:28:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:29764</guid><dc:creator>salibhai</dc:creator><slash:comments>6</slash:comments><comments>http://aspadvice.com/blogs/net_advice/comments/29764.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/net_advice/commentrss.aspx?PostID=29764</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;*NEW*&lt;/b&gt; See the updated post at&amp;nbsp;Sharp Developer: &lt;a href="http://www.sharpdeveloper.net/content/archive/2007/05/25/creating-sqlparameters-best-practices.aspx" title="SQL Parameters Best Practices"&gt;Sql Parameters Best Practices&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This article summarizes some nice ways to create SqlParameter arrays.&amp;nbsp; When we use SqlHelper, or even without SqlHelper when we use SqlCommands directly, and we want to pass an array of SqlParameters to the function.&amp;nbsp; The method I will discuss does not require you to hard-code the number of elements, nor does it require you to create a temporary list of some sort, but it requires you to have all the values up front that you want to insert into the list.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/net_advice/archive/2007/05/16/SqlParameters.aspx&amp;amp;;subject=Creating+SqlParameters+Best+Practices" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/16/SqlParameters.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/16/SqlParameters.aspx&amp;amp;;title=Creating+SqlParameters+Best+Practices" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/16/SqlParameters.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/16/SqlParameters.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/16/SqlParameters.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/16/SqlParameters.aspx&amp;amp;title=Creating+SqlParameters+Best+Practices" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/16/SqlParameters.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/16/SqlParameters.aspx&amp;amp;;title=Creating+SqlParameters+Best+Practices" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/16/SqlParameters.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/net_advice/archive/2007/05/16/SqlParameters.aspx&amp;amp;;title=Creating+SqlParameters+Best+Practices&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/16/SqlParameters.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=29764" width="1" height="1"&gt;</description><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/.net/default.aspx">.net</category><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/SqlParameters/default.aspx">SqlParameters</category><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/SqlHelper/default.aspx">SqlHelper</category></item><item><title>Using ?? and casting To Set Default Values</title><link>http://aspadvice.com/blogs/net_advice/archive/2007/05/16/Using-_3F003F00_-and-casting-To-Set-Default-Values.aspx</link><pubDate>Wed, 16 May 2007 21:23:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:29763</guid><dc:creator>salibhai</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/net_advice/comments/29763.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/net_advice/commentrss.aspx?PostID=29763</wfw:commentRss><description>&lt;p&gt;Often we have some value that may or may not be null, and we want to give it a default value if its null.&lt;/p&gt;&lt;p&gt;An awesome way to do this is to use &lt;strong&gt;??&lt;/strong&gt; (only works in C#) and add your default value, and cast the entire thing, for example as follows:&lt;br /&gt;&lt;br /&gt;&lt;font size="2" color="#0000ff"&gt;string&lt;/font&gt;&lt;font size="2"&gt; strCustomerName = (&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;string&lt;/font&gt;&lt;font size="2"&gt;)(SqlHelper.ExecuteScalar(m_ConnectionString, &lt;/font&gt;&lt;font size="2" color="#008080"&gt;CommandType&lt;/font&gt;&lt;font size="2"&gt;.Text, strQuery, sqlParams) ?? &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;string&lt;/font&gt;&lt;font size="2"&gt;.Empty);&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;strong&gt;Read more about nullables and the ?? operator&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;a href="http://msdn2.microsoft.com/en-us/library/2cf62fcy(VS.80).aspx"&gt;http://msdn2.microsoft.com/en-us/library/2cf62fcy(VS.80).aspx&lt;/a&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/net_advice/archive/2007/05/16/Using-_3F003F00_-and-casting-To-Set-Default-Values.aspx&amp;amp;;subject=Using+%3f%3f+and+casting+To+Set+Default+Values" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/16/Using-_3F003F00_-and-casting-To-Set-Default-Values.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/16/Using-_3F003F00_-and-casting-To-Set-Default-Values.aspx&amp;amp;;title=Using+%3f%3f+and+casting+To+Set+Default+Values" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/16/Using-_3F003F00_-and-casting-To-Set-Default-Values.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/16/Using-_3F003F00_-and-casting-To-Set-Default-Values.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/16/Using-_3F003F00_-and-casting-To-Set-Default-Values.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/16/Using-_3F003F00_-and-casting-To-Set-Default-Values.aspx&amp;amp;title=Using+%3f%3f+and+casting+To+Set+Default+Values" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/16/Using-_3F003F00_-and-casting-To-Set-Default-Values.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/16/Using-_3F003F00_-and-casting-To-Set-Default-Values.aspx&amp;amp;;title=Using+%3f%3f+and+casting+To+Set+Default+Values" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/16/Using-_3F003F00_-and-casting-To-Set-Default-Values.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/net_advice/archive/2007/05/16/Using-_3F003F00_-and-casting-To-Set-Default-Values.aspx&amp;amp;;title=Using+%3f%3f+and+casting+To+Set+Default+Values&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/16/Using-_3F003F00_-and-casting-To-Set-Default-Values.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=29763" width="1" height="1"&gt;</description><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/.net/default.aspx">.net</category><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/Nullables/default.aspx">Nullables</category><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/casting/default.aspx">casting</category></item><item><title>Don't eat exceptions</title><link>http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Don_2700_t-eat-exceptions.aspx</link><pubDate>Tue, 15 May 2007 19:33:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:29736</guid><dc:creator>salibhai</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/net_advice/comments/29736.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/net_advice/commentrss.aspx?PostID=29736</wfw:commentRss><description>&lt;p&gt;This is very bad!&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;br /&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Courier New';"&gt;try&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //do something that will throw an exception, like try to commit data to a database with malformed sql&lt;br /&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&amp;nbsp;&lt;span style="font-size:10pt;color:blue;font-family:'Courier New';"&gt;catch&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //sweep the dirt under the rug ;)&lt;br /&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Consequences/Results &lt;/b&gt;- Your boss will not see any exceptions or code crashes, but it might come back to bite you in the butt when the code doesn&amp;#39;t do what it was supposed to!&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Additional Sources&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Here&amp;#39;s an article by Steven Swafford discussing eating exceptions (among other things)&lt;br /&gt;&lt;a rel="nofollow" target="_new" href="http://aspadvice.com/blogs/sswafford/archive/2007/05/10/Skills-versus-Passion_2C00_-are-they-the-same_3F00_.aspx"&gt;&lt;font color="#176db5"&gt;http://aspadvice.com/blogs/sswafford/archive/2007/05/10/Skills-versus-Passion_2C00_-are-they-the-same_3F00_.aspx&lt;/font&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Don_2700_t-eat-exceptions.aspx&amp;amp;;subject=Don%27t+eat+exceptions" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Don_2700_t-eat-exceptions.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Don_2700_t-eat-exceptions.aspx&amp;amp;;title=Don%27t+eat+exceptions" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Don_2700_t-eat-exceptions.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Don_2700_t-eat-exceptions.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Don_2700_t-eat-exceptions.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Don_2700_t-eat-exceptions.aspx&amp;amp;title=Don%27t+eat+exceptions" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Don_2700_t-eat-exceptions.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Don_2700_t-eat-exceptions.aspx&amp;amp;;title=Don%27t+eat+exceptions" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Don_2700_t-eat-exceptions.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Don_2700_t-eat-exceptions.aspx&amp;amp;;title=Don%27t+eat+exceptions&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Don_2700_t-eat-exceptions.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=29736" width="1" height="1"&gt;</description><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/.net/default.aspx">.net</category><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/exception+handling/default.aspx">exception handling</category></item><item><title>Use .TryParse instead of Try {} Catch {}</title><link>http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-.TryParse-instead-of-Try-_7B007D00_-Catch-_7B007D00_.aspx</link><pubDate>Tue, 15 May 2007 19:25:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:29735</guid><dc:creator>salibhai</dc:creator><slash:comments>1</slash:comments><comments>http://aspadvice.com/blogs/net_advice/comments/29735.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/net_advice/commentrss.aspx?PostID=29735</wfw:commentRss><description>


&lt;div class="Section1"&gt;&lt;p&gt;In certain conditions, we should not be using exceptions.&amp;nbsp; For example, Try Catch blocks can be avoided in certain cases.&amp;nbsp; If you have some .NET 1.0 code, you might not be taking advantage of .NET 2.0 new TryParse functions, which avoid exception handling and are much faster.&lt;br /&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For example:&lt;/p&gt;&lt;p class="msonormalc4"&gt;&lt;span class="c1"&gt;&lt;span style="font-size:10pt;"&gt;try&lt;/span&gt;&lt;/span&gt;&lt;span class="c3"&gt;&lt;span style="font-size:10pt;"&gt;&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iEditMode = &lt;/span&gt;&lt;/span&gt;&lt;span class="c2"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;Convert&lt;/span&gt;&lt;/span&gt;&lt;span class="c3"&gt;&lt;span style="font-size:10pt;"&gt;.ToInt32(strEditMode);&lt;br /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="c1"&gt;&lt;span style="font-size:10pt;"&gt;catch&lt;/span&gt;&lt;/span&gt;&lt;span class="c3"&gt;&lt;span style="font-size:10pt;"&gt;&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iEditMode = 0;&lt;br /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="text-indent:0.5in;"&gt;&amp;nbsp;&lt;br /&gt;In this case, we have &lt;b&gt;TryParse &lt;/b&gt;functions which were added in .NET 2.0&lt;br /&gt;Better to instead do:&lt;span class="c1"&gt;&lt;span style="font-size:10pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;span class="c1"&gt;&lt;span style="font-size:10pt;"&gt;if&lt;/span&gt;&lt;/span&gt; &lt;span class="c3"&gt;&lt;span style="font-size:10pt;"&gt;(!&lt;/span&gt;&lt;/span&gt;&lt;span class="c2"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;Int32&lt;/span&gt;&lt;/span&gt;&lt;span class="c3"&gt;&lt;span style="font-size:10pt;"&gt;.TryParse(strEditMode, &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size:10pt;color:blue;font-family:'Courier New';"&gt;out&lt;/span&gt;&lt;/b&gt;&lt;span class="c3"&gt;&lt;span style="font-size:10pt;"&gt; iEditMode))&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iEditMode = 0;&lt;br /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;span class="c3"&gt;&lt;span style="font-family:'Times New Roman';"&gt;Much better performance, no need to handle clunky exceptions :) Thank you to Brendan for correcting my error above. (missing &lt;/span&gt;&lt;/span&gt;&lt;b&gt;out&lt;/b&gt;&lt;span class="c3"&gt;&lt;span style="font-family:'Times New Roman';"&gt; keyword)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;MSDN in regards to exception handling states, &amp;quot;Do not use exception handling for flow of control, only for failure situations.&amp;quot; 
&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Resources&lt;/b&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/0yd65esw(VS.80).aspx"&gt;try-catch (msdn)&lt;/a&gt; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/f02979c7.aspx"&gt;Int32.TryParse (msdn)&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-.TryParse-instead-of-Try-_7B007D00_-Catch-_7B007D00_.aspx&amp;amp;;subject=Use+.TryParse+instead+of+Try+%7b%7d+Catch+%7b%7d" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-.TryParse-instead-of-Try-_7B007D00_-Catch-_7B007D00_.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-.TryParse-instead-of-Try-_7B007D00_-Catch-_7B007D00_.aspx&amp;amp;;title=Use+.TryParse+instead+of+Try+%7b%7d+Catch+%7b%7d" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-.TryParse-instead-of-Try-_7B007D00_-Catch-_7B007D00_.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-.TryParse-instead-of-Try-_7B007D00_-Catch-_7B007D00_.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-.TryParse-instead-of-Try-_7B007D00_-Catch-_7B007D00_.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-.TryParse-instead-of-Try-_7B007D00_-Catch-_7B007D00_.aspx&amp;amp;title=Use+.TryParse+instead+of+Try+%7b%7d+Catch+%7b%7d" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-.TryParse-instead-of-Try-_7B007D00_-Catch-_7B007D00_.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-.TryParse-instead-of-Try-_7B007D00_-Catch-_7B007D00_.aspx&amp;amp;;title=Use+.TryParse+instead+of+Try+%7b%7d+Catch+%7b%7d" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-.TryParse-instead-of-Try-_7B007D00_-Catch-_7B007D00_.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-.TryParse-instead-of-Try-_7B007D00_-Catch-_7B007D00_.aspx&amp;amp;;title=Use+.TryParse+instead+of+Try+%7b%7d+Catch+%7b%7d&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-.TryParse-instead-of-Try-_7B007D00_-Catch-_7B007D00_.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=29735" width="1" height="1"&gt;</description><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/.net/default.aspx">.net</category><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/exception+handling/default.aspx">exception handling</category></item><item><title>Use String.Format instead of Chopping Strings</title><link>http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-String.Format-instead-of-Chopping-Strings.aspx</link><pubDate>Tue, 15 May 2007 18:49:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:29734</guid><dc:creator>salibhai</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/net_advice/comments/29734.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/net_advice/commentrss.aspx?PostID=29734</wfw:commentRss><description>&lt;p class="MsoNormal"&gt;&lt;font size="2" color="#000080" face="Arial"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;&lt;p&gt;Here is&amp;nbsp;a quick example of why &lt;strong&gt;string.Format&lt;/strong&gt; is just so cool&lt;/p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;Here is&amp;nbsp;a quick example of why &lt;strong&gt;string.Format&lt;/strong&gt; is just so cool&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#000080" face="Arial"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;For example:&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;div class="MsoNormal"&gt;&lt;font size="2" face="Courier New"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;text1.Text&amp;nbsp;= &lt;font color="#0000ff"&gt;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&lt;/font&gt;.Format(&lt;font color="#800000"&gt;&lt;span style="color:maroon;"&gt;&amp;quot;&amp;lt;a href=\&amp;quot;Mylink.aspx?abc=0&amp;amp;Color={0}\&amp;quot;&amp;gt;my Link text&amp;lt;/a&amp;gt;&amp;quot;&lt;/span&gt;&lt;/font&gt;, myColor);&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class="MsoNormal"&gt;&lt;font size="2" face="Courier New"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;&lt;font color="#000080" face="Arial"&gt;Isn&amp;#39;t that much nicer than&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="2" face="Courier New"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;&lt;ul&gt;&lt;li&gt;&lt;div style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;text1.Text&amp;nbsp;= &lt;span style="color:maroon;"&gt;&amp;quot;&amp;lt;a href=\&amp;quot;Mylink.aspx?abc=0&amp;amp;Color=&amp;quot;&lt;/span&gt; + myColor + &lt;span style="color:maroon;"&gt;&amp;quot;\&amp;quot;&amp;gt;my Link text&amp;lt;/a&amp;gt;&amp;quot;&lt;/span&gt;, myColor);&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font size="2" face="Courier New"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;&lt;font color="#000080" face="Arial"&gt;Now with two parameters it&amp;#39;s still so clean!&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;div class="MsoNormal"&gt;&lt;font size="2" face="Courier New"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font size="2" face="Courier New"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;&lt;span style="font-size:10pt;font-family:'Courier New';"&gt;text1.Text = &lt;span style="color:blue;"&gt;string&lt;/span&gt;.Format(&lt;span style="color:maroon;"&gt;&amp;quot;&amp;lt;a href=\&amp;quot;Mylink.aspx?abc=0&amp;amp;ID={0}&amp;amp;wl={1}\&amp;quot;&amp;gt;my Link text&amp;lt;/a&amp;gt;&amp;quot;&lt;/span&gt;, myColor, myWeight);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;/font&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-String.Format-instead-of-Chopping-Strings.aspx&amp;amp;;subject=Use+String.Format+instead+of+Chopping+Strings" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-String.Format-instead-of-Chopping-Strings.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-String.Format-instead-of-Chopping-Strings.aspx&amp;amp;;title=Use+String.Format+instead+of+Chopping+Strings" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-String.Format-instead-of-Chopping-Strings.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-String.Format-instead-of-Chopping-Strings.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-String.Format-instead-of-Chopping-Strings.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-String.Format-instead-of-Chopping-Strings.aspx&amp;amp;title=Use+String.Format+instead+of+Chopping+Strings" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-String.Format-instead-of-Chopping-Strings.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-String.Format-instead-of-Chopping-Strings.aspx&amp;amp;;title=Use+String.Format+instead+of+Chopping+Strings" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-String.Format-instead-of-Chopping-Strings.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-String.Format-instead-of-Chopping-Strings.aspx&amp;amp;;title=Use+String.Format+instead+of+Chopping+Strings&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Use-String.Format-instead-of-Chopping-Strings.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=29734" width="1" height="1"&gt;</description><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/.net/default.aspx">.net</category><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/strings/default.aspx">strings</category></item><item><title>3 Benefits of Using ConnectionStrings Instead of AppSettings</title><link>http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Updating-ConfigurationManager.AppSettings-to-ConfigurationManager.ConnectionStrings.aspx</link><pubDate>Tue, 15 May 2007 18:43:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:29732</guid><dc:creator>salibhai</dc:creator><slash:comments>2</slash:comments><comments>http://aspadvice.com/blogs/net_advice/comments/29732.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/net_advice/commentrss.aspx?PostID=29732</wfw:commentRss><description>&lt;p&gt;&lt;strike&gt;With .NET 1.0, we are using .AppSettings&lt;/strike&gt; In .NET 1.0 we used ConfigurationSettings instead of ConfigurationManager&lt;br /&gt;&lt;/p&gt;Read the article on &lt;a href="http://sharpdeveloper.net/content/archive/2007/05/25/benefits-of-using-connectionstrings-element-instead-of-appsettings.aspx"&gt;SharpDeveloper.net&lt;/a&gt;&lt;br /&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Updating-ConfigurationManager.AppSettings-to-ConfigurationManager.ConnectionStrings.aspx&amp;amp;;subject=3+Benefits+of+Using+ConnectionStrings+Instead+of+AppSettings" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Updating-ConfigurationManager.AppSettings-to-ConfigurationManager.ConnectionStrings.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Updating-ConfigurationManager.AppSettings-to-ConfigurationManager.ConnectionStrings.aspx&amp;amp;;title=3+Benefits+of+Using+ConnectionStrings+Instead+of+AppSettings" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Updating-ConfigurationManager.AppSettings-to-ConfigurationManager.ConnectionStrings.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Updating-ConfigurationManager.AppSettings-to-ConfigurationManager.ConnectionStrings.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Updating-ConfigurationManager.AppSettings-to-ConfigurationManager.ConnectionStrings.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Updating-ConfigurationManager.AppSettings-to-ConfigurationManager.ConnectionStrings.aspx&amp;amp;title=3+Benefits+of+Using+ConnectionStrings+Instead+of+AppSettings" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Updating-ConfigurationManager.AppSettings-to-ConfigurationManager.ConnectionStrings.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Updating-ConfigurationManager.AppSettings-to-ConfigurationManager.ConnectionStrings.aspx&amp;amp;;title=3+Benefits+of+Using+ConnectionStrings+Instead+of+AppSettings" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Updating-ConfigurationManager.AppSettings-to-ConfigurationManager.ConnectionStrings.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Updating-ConfigurationManager.AppSettings-to-ConfigurationManager.ConnectionStrings.aspx&amp;amp;;title=3+Benefits+of+Using+ConnectionStrings+Instead+of+AppSettings&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/net_advice/archive/2007/05/15/Updating-ConfigurationManager.AppSettings-to-ConfigurationManager.ConnectionStrings.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=29732" width="1" height="1"&gt;</description><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/.net/default.aspx">.net</category><category domain="http://aspadvice.com/blogs/net_advice/archive/tags/web.config/default.aspx">web.config</category></item></channel></rss>