<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Calvin Hsia's WebLog</title><link>http://blogs.msdn.com/b/calvin_hsia/</link><description>thoughts from a professional developer</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Use status events to log and analyze an application</title><link>http://blogs.msdn.com/b/calvin_hsia/archive/2013/05/29/10422161.aspx</link><pubDate>Wed, 29 May 2013 20:11:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10422161</guid><dc:creator>CalvinH</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/calvin_hsia/rsscomments.aspx?WeblogPostID=10422161</wfw:commentRss><comments>http://blogs.msdn.com/b/calvin_hsia/archive/2013/05/29/10422161.aspx#comments</comments><description>Applications can get quite complex, with multiple components, assemblies, subsystems, etc. Understanding this complexity can be daunting. An old but still very effective way of analyzing code is to modify the code to output a string whenever that section...(&lt;a href="http://blogs.msdn.com/b/calvin_hsia/archive/2013/05/29/10422161.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10422161" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Debugging/">Debugging</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/WPF/">WPF</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/CSharp/">CSharp</category></item><item><title>Does the CLR release memory when no longer needed?</title><link>http://blogs.msdn.com/b/calvin_hsia/archive/2013/04/30/10415293.aspx</link><pubDate>Wed, 01 May 2013 06:41:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10415293</guid><dc:creator>CalvinH</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/calvin_hsia/rsscomments.aspx?WeblogPostID=10415293</wfw:commentRss><comments>http://blogs.msdn.com/b/calvin_hsia/archive/2013/04/30/10415293.aspx#comments</comments><description>A colleague asked the other day if the CLR releases memory when it’s no longer needed. Suppose you allocate lots of memory, then release it. The CLR will grow the managed heap (the green below), but it will also shrink it if it can. All memory in a process...(&lt;a href="http://blogs.msdn.com/b/calvin_hsia/archive/2013/04/30/10415293.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10415293" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/WPF/">WPF</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/CSharp/">CSharp</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Memory/">Memory</category></item><item><title>Cartoon animation works great on Surface Pro</title><link>http://blogs.msdn.com/b/calvin_hsia/archive/2013/04/01/10406859.aspx</link><pubDate>Tue, 02 Apr 2013 06:25:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10406859</guid><dc:creator>CalvinH</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/calvin_hsia/rsscomments.aspx?WeblogPostID=10406859</wfw:commentRss><comments>http://blogs.msdn.com/b/calvin_hsia/archive/2013/04/01/10406859.aspx#comments</comments><description>I showed my 9 year old son a cool drawing program called Physamajig , in which users can draw objects, which behave like real physical objects, including reacting to gravity, friction, and bounce. He was having fun with it on my Surface RT and it reminded...(&lt;a href="http://blogs.msdn.com/b/calvin_hsia/archive/2013/04/01/10406859.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10406859" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Visual+FoxPro/">Visual FoxPro</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Programming/">Programming</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/VB/">VB</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/History/">History</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Visual+Studio/">Visual Studio</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/WPF/">WPF</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/FunGames/">FunGames</category></item><item><title>The Visual Studio Feedback tool</title><link>http://blogs.msdn.com/b/calvin_hsia/archive/2013/03/28/10406209.aspx</link><pubDate>Fri, 29 Mar 2013 01:38:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10406209</guid><dc:creator>CalvinH</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/calvin_hsia/rsscomments.aspx?WeblogPostID=10406209</wfw:commentRss><comments>http://blogs.msdn.com/b/calvin_hsia/archive/2013/03/28/10406209.aspx#comments</comments><description>&amp;#160; Sometimes when you use Visual Studio, or any application on a computer, there’s a notable pause when you try to do something. For example, trying to access a file on a network share somewhere, perhaps on a slow connection, the application will...(&lt;a href="http://blogs.msdn.com/b/calvin_hsia/archive/2013/03/28/10406209.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10406209" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Visual+Studio/">Visual Studio</category></item><item><title>Compiling code at runtime and MVP program is 20</title><link>http://blogs.msdn.com/b/calvin_hsia/archive/2013/02/27/10398012.aspx</link><pubDate>Thu, 28 Feb 2013 03:27:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10398012</guid><dc:creator>CalvinH</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/calvin_hsia/rsscomments.aspx?WeblogPostID=10398012</wfw:commentRss><comments>http://blogs.msdn.com/b/calvin_hsia/archive/2013/02/27/10398012.aspx#comments</comments><description>This month marks the 20 th anniversary of the Microsoft MVP program, so MVPs were in the news. Apparently I had a lot to do with the founding of the program J Wikipedia: http://en.wikipedia.org/wiki/Microsoft_Most_Valuable_Professional Microsoft News...(&lt;a href="http://blogs.msdn.com/b/calvin_hsia/archive/2013/02/27/10398012.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10398012" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/History/">History</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Visual+Studio/">Visual Studio</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/WPF/">WPF</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/CSharp/">CSharp</category></item><item><title>Windows Error Reporting and the Appdomain.UnhandledException Event</title><link>http://blogs.msdn.com/b/calvin_hsia/archive/2013/01/31/10390072.aspx</link><pubDate>Thu, 31 Jan 2013 21:22:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10390072</guid><dc:creator>CalvinH</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/calvin_hsia/rsscomments.aspx?WeblogPostID=10390072</wfw:commentRss><comments>http://blogs.msdn.com/b/calvin_hsia/archive/2013/01/31/10390072.aspx#comments</comments><description>Sometimes applications fail. If you are the author and it fails on your machine, typically you fire up the code in a debugger, figure out the issue, fix it, and rebuild the code. If the applications is out in the wild, perhaps with millions of users,...(&lt;a href="http://blogs.msdn.com/b/calvin_hsia/archive/2013/01/31/10390072.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10390072" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Windows+API/">Windows API</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/CSharp/">CSharp</category></item><item><title>Create a logger for watching your test progress as it runs.</title><link>http://blogs.msdn.com/b/calvin_hsia/archive/2012/12/29/10381315.aspx</link><pubDate>Sat, 29 Dec 2012 20:25:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10381315</guid><dc:creator>CalvinH</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/calvin_hsia/rsscomments.aspx?WeblogPostID=10381315</wfw:commentRss><comments>http://blogs.msdn.com/b/calvin_hsia/archive/2012/12/29/10381315.aspx#comments</comments><description>&amp;#160; I was creating a project that’s a Windows Service, which has components running in multiple processes, using multiple threads and named pipes for communication. To understand the behavior of the code, I wanted to have accurate logging that: · The...(&lt;a href="http://blogs.msdn.com/b/calvin_hsia/archive/2012/12/29/10381315.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10381315" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Visual+Studio/">Visual Studio</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Testing/">Testing</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/CSharp/">CSharp</category></item><item><title>Turn your tests into stress tests easily</title><link>http://blogs.msdn.com/b/calvin_hsia/archive/2012/11/30/10373693.aspx</link><pubDate>Sat, 01 Dec 2012 02:00:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10373693</guid><dc:creator>CalvinH</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/calvin_hsia/rsscomments.aspx?WeblogPostID=10373693</wfw:commentRss><comments>http://blogs.msdn.com/b/calvin_hsia/archive/2012/11/30/10373693.aspx#comments</comments><description>It’s great to be able to write tests and execute them while developing a project. While I’m developing, I can hit a button and run the dozens of tests to see if I’ve broken anything. As code gets written lots of things get refactored, moved around, etc...(&lt;a href="http://blogs.msdn.com/b/calvin_hsia/archive/2012/11/30/10373693.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10373693" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Visual+Studio/">Visual Studio</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/WPF/">WPF</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Testing/">Testing</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/CSharp/">CSharp</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Memory/">Memory</category></item><item><title>Its easy to Create your own FrameWorkElement in WPF</title><link>http://blogs.msdn.com/b/calvin_hsia/archive/2012/10/30/10364331.aspx</link><pubDate>Wed, 31 Oct 2012 01:51:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10364331</guid><dc:creator>CalvinH</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/calvin_hsia/rsscomments.aspx?WeblogPostID=10364331</wfw:commentRss><comments>http://blogs.msdn.com/b/calvin_hsia/archive/2012/10/30/10364331.aspx#comments</comments><description>Sometimes you want to have very fine control of how your application looks and behaves. Other times, you just want to draw something on your UI. It’s pretty easy to create your own control class and put instances of it on your form. The sample below create...(&lt;a href="http://blogs.msdn.com/b/calvin_hsia/archive/2012/10/30/10364331.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10364331" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/VB/">VB</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/WPF/">WPF</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/CSharp/">CSharp</category></item><item><title>The number of Garbage Collections indicate how much memory is used</title><link>http://blogs.msdn.com/b/calvin_hsia/archive/2012/09/28/10354300.aspx</link><pubDate>Fri, 28 Sep 2012 21:38:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10354300</guid><dc:creator>CalvinH</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/calvin_hsia/rsscomments.aspx?WeblogPostID=10354300</wfw:commentRss><comments>http://blogs.msdn.com/b/calvin_hsia/archive/2012/09/28/10354300.aspx#comments</comments><description>One of the performance improvements we made in .Net was with System.Text.StringBuilder . StringBuilder is used in lots of code to build strings: it has various methods to modify strings quickly. Once a string is built, the ToString method is called to...(&lt;a href="http://blogs.msdn.com/b/calvin_hsia/archive/2012/09/28/10354300.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10354300" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Visual+Studio/">Visual Studio</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/CSharp/">CSharp</category><category domain="http://blogs.msdn.com/b/calvin_hsia/archive/tags/Memory/">Memory</category></item></channel></rss>