<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>BizSquawk</title>
        <link>http://geekswithblogs.net/shaunwilde/Default.aspx</link>
        <description>Adventures (and Battles) in BizTalk and .NET</description>
        <language>en-GB</language>
        <copyright>swilde</copyright>
        <managingEditor>shaun_geeks@many-monkeys.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <image>
            <title>BizSquawk</title>
            <url>http://geekswithblogs.net/images/RSS2Image.gif</url>
            <link>http://geekswithblogs.net/shaunwilde/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>Hunting .NET memory leaks is like playing Whack-A-Mole</title>
            <link>http://geekswithblogs.net/shaunwilde/archive/2009/05/14/hunting-.net-memory-leaks-is-like-playing-whack-a-mole.aspx</link>
            <description>&lt;p&gt;&lt;font size="2"&gt;We have a .NET memory leak in our GUI application and though I have tried a few commercial tools (RedGate and AutomatedQA) I find that there is just too much information and I find that I can't see the wood for the trees. So my tool of use is good old &lt;/font&gt;&lt;a target="_blank" href="http://www.microsoft.com/whdc/devtools/debugging/default.mspx"&gt;&lt;font size="2"&gt;WinDbg&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt; and the &lt;/font&gt;&lt;a target="_blank" href="http://debuggingblog.com/wp/2008/11/18/sos2dll-version-12-released/"&gt;&lt;font size="2"&gt;SOS2&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt; extension.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;In the end I narrowed the main leak to a private static collection in a 3rd party library - which required the use of reflection to make it let go. Now to hunt the other ones down...&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;References (mainly for me actually): &lt;br /&gt;
John Robbins - &lt;/font&gt;&lt;font face="Arial"&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc163833.aspx"&gt;&lt;font size="2"&gt;http://msdn.microsoft.com/en-us/magazine/cc163833.aspx&lt;/font&gt;&lt;/a&gt;&lt;br /&gt;
&lt;font size="2"&gt;Tess Ferrandez - &lt;/font&gt;&lt;font face="Arial"&gt;&lt;a href="http://blogs.msdn.com/tess"&gt;&lt;font size="2"&gt;http://blogs.msdn.com/tess&lt;/font&gt;&lt;/a&gt;&lt;br /&gt;
&lt;font size="2"&gt;Prashant Sinha - &lt;font face="Arial"&gt;&lt;a href="http://debuggingblog.com/wp/"&gt;http://debuggingblog.com/wp/&lt;/a&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;PS - I'd like to say use Google but there is so much screen scraped rubbish out there I kept coming across the same stuff. over and over again.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=132108"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=132108" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/shaunwilde/aggbug/132108.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>swilde</dc:creator>
            <guid>http://geekswithblogs.net/shaunwilde/archive/2009/05/14/hunting-.net-memory-leaks-is-like-playing-whack-a-mole.aspx</guid>
            <pubDate>Thu, 14 May 2009 19:34:26 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/shaunwilde/comments/132108.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/shaunwilde/archive/2009/05/14/hunting-.net-memory-leaks-is-like-playing-whack-a-mole.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/shaunwilde/comments/commentRss/132108.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Useful BizTalk Tools from codeplex</title>
            <link>http://geekswithblogs.net/shaunwilde/archive/2009/01/27/useful-biztalk-tools-from-codeplex.aspx</link>
            <description>&lt;p&gt;&lt;font size="2"&gt;Okay this is probably going to be old news for anyone reading this but...&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;BizTalk Documenter - Document your code&lt;br /&gt;
&lt;/font&gt;&lt;font face="Arial"&gt;&lt;a href="http://www.codeplex.com/BizTalkDocumenter"&gt;http://www.codeplex.com/BizTalkDocumenter&lt;/a&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;BizUnit - Test your code&lt;br /&gt;
&lt;/font&gt;&lt;a href="http://www.codeplex.com/bizunit"&gt;&lt;font size="2"&gt;http://www.codeplex.com/bizunit&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;BizTalk Orchestration Profiler - Useful for code coverage when used with BizUnit&lt;br /&gt;
&lt;/font&gt;&lt;a href="http://www.codeplex.com/BiztalkOrcProfiler"&gt;&lt;font size="2"&gt;http://www.codeplex.com/BiztalkOrcProfiler&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;I am doing a lot of refactoring (Unit Test and Profiling a must to check for code breaks) on an inherited BizTalk solution - so far I have replaced 40% (target is 90%) of the orchestrations with simple web services and removed some really complicated maps (a big performance drain) by getting SQL to produce the documents in the correct XML format rather than use a different format and then transforming it. Using the documentation tool to check for unused maps.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;As I write this up - I find a better post with even more referenced goodies - &lt;font face="Arial"&gt;&lt;a href="http://geekswithblogs.net/benny/archive/2007/06/14/113218.aspx"&gt;http://geekswithblogs.net/benny/archive/2007/06/14/113218.aspx&lt;/a&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=128996"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=128996" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/shaunwilde/aggbug/128996.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>swilde</dc:creator>
            <guid>http://geekswithblogs.net/shaunwilde/archive/2009/01/27/useful-biztalk-tools-from-codeplex.aspx</guid>
            <pubDate>Tue, 27 Jan 2009 16:30:22 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/shaunwilde/comments/128996.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/shaunwilde/archive/2009/01/27/useful-biztalk-tools-from-codeplex.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/shaunwilde/comments/commentRss/128996.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Cleaning up Past Builds in TFS</title>
            <link>http://geekswithblogs.net/shaunwilde/archive/2008/02/10/cleaning-up-past-builds-in-tfs.aspx</link>
            <description>&lt;p&gt;Decided to a bit of spring cleaning on the TFS Continuous Integration box, deleted the code, deleted unused/unwanted drops and defragged the drive. Noticed we have had over 3000 builds in the past 13 months. Which alas was making the Visual Studio view of past builds a bit sluggish. Lamented over the lack of Visual Studio support to manage/delete these builds, and realised that this was going to take a lot of command line calls. Being lazy I looked to the internet but could not find anything that matched my criteria; rolled up my sleeves and knocked out a script similar to the following,&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;&lt;font color="#000080"&gt;use&lt;/font&gt; tfsbuild&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;&lt;font color="#000080"&gt;select&lt;/font&gt; &lt;font color="#ff0000"&gt;'tfsbuild delete http://mytfsserver:8080 MYPROJECT '&lt;/font&gt;+ BuildNumber + &lt;font color="#ff0000"&gt;' /noprompt'&lt;/font&gt; &lt;br /&gt;
&lt;font color="#000080"&gt;from&lt;/font&gt; builds &lt;font color="#000080"&gt;where&lt;/font&gt; starttime &amp;lt; &lt;font color="#ff00ff"&gt;dateadd&lt;/font&gt;(&lt;font color="#000080"&gt;day&lt;/font&gt;, -30, &lt;font color="#ff00ff"&gt;getutcdate&lt;/font&gt;())&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Ran this on the TFS database, copied the output to a command file and executed it. Job done, well will be when it finishes, which I estimate to be sometime tomorrow morning.&lt;/p&gt;
&lt;p&gt;Yes I know it culd have been more elgant and I could have developed a fancy tool but I had a rugby match to watch; in hindsight my time would have been better spent developing the said tool (we won but it was not IMO convincing).&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=119431"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=119431" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/shaunwilde/aggbug/119431.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>swilde</dc:creator>
            <guid>http://geekswithblogs.net/shaunwilde/archive/2008/02/10/cleaning-up-past-builds-in-tfs.aspx</guid>
            <pubDate>Mon, 11 Feb 2008 00:04:08 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/shaunwilde/comments/119431.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/shaunwilde/archive/2008/02/10/cleaning-up-past-builds-in-tfs.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/shaunwilde/comments/commentRss/119431.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>