<?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>The Brain Dump : Visual Studio</title><link>http://blogs.msdn.com/benwilli/archive/tags/Visual+Studio/default.aspx</link><description>Tags: Visual Studio</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Important Updates to Live Services!</title><link>http://blogs.msdn.com/benwilli/archive/2009/08/21/important-updates-to-live-services.aspx</link><pubDate>Fri, 21 Aug 2009 19:58:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9878951</guid><dc:creator>benwilli</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/benwilli/comments/9878951.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benwilli/commentrss.aspx?PostID=9878951</wfw:commentRss><description>&lt;a href="http://dev.live.com/blogs/devlive/archive/2009/08/21/500.aspx" target="_blank"&gt;from the Live Services blog : Important Updates to Live Services&lt;/a&gt;   &lt;p&gt;Starting September 8th, 2009 the Live Framework CTP (services, SDK &amp;amp; Tools) will be unavailable.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;The Live Framework will be integrated into the next release of Windows Live. Stay tuned to &lt;a href="http://dev.live.com"&gt;dev.live.com&lt;/a&gt; for more details in the future.&lt;/p&gt; &lt;/a&gt;&lt;/blockquote&gt;  &lt;p&gt;There are a few other items but the people I’ve worked with over the past year likely are most affected by the Live Framework change.&lt;/p&gt;  &lt;p&gt;Please see &lt;a href="http://dev.live.com/blogs/devlive/archive/2009/08/21/500.aspx" target="_blank"&gt;the whole article&lt;/a&gt; for details. Make sure any data you need that is currently in the Live Framework CTP (not Mesh, Live Mesh will remain available to end users and is not affected) needs to be copied because “Microsoft will not retain any data and/or solutions that are a part of the Live Framework CTP offering.”&lt;/p&gt;  &lt;p&gt;Thanks again to everyone for your participation and feedback!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9878951" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benwilli/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/benwilli/archive/tags/Silverlight+Streaming/default.aspx">Silverlight Streaming</category><category domain="http://blogs.msdn.com/benwilli/archive/tags/Windows+Live/default.aspx">Windows Live</category><category domain="http://blogs.msdn.com/benwilli/archive/tags/Live+Mesh/default.aspx">Live Mesh</category><category domain="http://blogs.msdn.com/benwilli/archive/tags/Live+Framework/default.aspx">Live Framework</category></item><item><title>.NET Extension methods from C++</title><link>http://blogs.msdn.com/benwilli/archive/2008/12/03/net-extension-methods-from-c.aspx</link><pubDate>Wed, 03 Dec 2008 19:08:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9170603</guid><dc:creator>benwilli</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/benwilli/comments/9170603.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benwilli/commentrss.aspx?PostID=9170603</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb383977.aspx"&gt;Extension methods&lt;/a&gt; are a nice little feature now available in C# and VB.NET. They allow you to tack on new methods to existing classes for which you don’t own the original code. Now C++ does not support this natively and so I recently got bit when I was translating some C# code into C++ CLI. &lt;/p&gt;  &lt;p&gt;While C# gave me nice Intellisense&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/benwilli/WindowsLiveWriter/4f97e126b998.NETExtensionmethodsfromC_8A6D/image_2.png"&gt;&lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="219" alt="image" src="http://blogs.msdn.com/blogfiles/benwilli/WindowsLiveWriter/4f97e126b998.NETExtensionmethodsfromC_8A6D/image_thumb.png" width="553" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;C++ did not&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/benwilli/WindowsLiveWriter/4f97e126b998.NETExtensionmethodsfromC_8A6D/image_4.png"&gt;&lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="228" alt="image" src="http://blogs.msdn.com/blogfiles/benwilli/WindowsLiveWriter/4f97e126b998.NETExtensionmethodsfromC_8A6D/image_thumb_1.png" width="554" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The method I was calling on the NetworkCredential class did not exist in C++, only in C#. Intellisense had failed me!&lt;/p&gt;  &lt;p&gt;The answer was simple once I realized that this was actually an extension method and how they are implemented. They are static methods on a different class which C# hooks up for you automagically. In C++ we need to call it directly, and pass in the “this” reference as the first parameter.&lt;/p&gt;  &lt;p&gt;So a quick search in reflector or the online help turned up the actual class that implements GetWindowsAuthenticationToken(). It is WindowsLiveIdentityExtension.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/benwilli/WindowsLiveWriter/4f97e126b998.NETExtensionmethodsfromC_8A6D/image_6.png"&gt;&lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="220" alt="image" src="http://blogs.msdn.com/blogfiles/benwilli/WindowsLiveWriter/4f97e126b998.NETExtensionmethodsfromC_8A6D/image_thumb_2.png" width="545" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;And voila! working code again.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9170603" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benwilli/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/benwilli/archive/tags/C_2B002B00_/default.aspx">C++</category><category domain="http://blogs.msdn.com/benwilli/archive/tags/CLI/default.aspx">CLI</category></item><item><title>Large web site project vs Visual Studio</title><link>http://blogs.msdn.com/benwilli/archive/2008/04/09/large-deep-zoom-web-site.aspx</link><pubDate>Wed, 09 Apr 2008 18:21:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8372551</guid><dc:creator>benwilli</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/benwilli/comments/8372551.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benwilli/commentrss.aspx?PostID=8372551</wfw:commentRss><description>&lt;p&gt;So I discovered a limit in &lt;a href="http://msdn2.microsoft.com/en-us/vstudio/products/default.aspx" target="_blank"&gt;Visual Studio&lt;/a&gt;. It apparently doesn't handle 1.4 GB of data in 40,000 files in a web site very well. I killed the process after it was &amp;quot;Validating the web site...&amp;quot; for over an hour. I finally figured out I needed to build a smaller &lt;a href="http://labs.live.com/Silverlight+2+Deep+Zoom.aspx"&gt;Deep Zoom&lt;/a&gt; image for testing just to get the build time reasonable.&lt;/p&gt;  &lt;p&gt;I wish there was a way to make it ignore that directory for the compile step.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8372551" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benwilli/archive/tags/Debugging/default.aspx">Debugging</category><category domain="http://blogs.msdn.com/benwilli/archive/tags/Visual+Studio/default.aspx">Visual Studio</category></item></channel></rss>