<?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>Elegant Code &#187; Visual Studio</title>
	<atom:link href="http://elegantcode.com/tag/vsts/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com</link>
	<description></description>
	<lastBuildDate>Sun, 12 Feb 2012 04:40:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Pluralcast 21 &#8211; Extending Visual Studio 2010 with Kate Gregory</title>
		<link>http://elegantcode.com/2010/08/01/pluralcast-21-extending-visual-studio-2010-with-kate-gregory/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pluralcast-21-extending-visual-studio-2010-with-kate-gregory</link>
		<comments>http://elegantcode.com/2010/08/01/pluralcast-21-extending-visual-studio-2010-with-kate-gregory/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 03:42:23 +0000</pubDate>
		<dc:creator>David Starr</dc:creator>
				<category><![CDATA[Pluralcast]]></category>
		<category><![CDATA[Tools and Utilities]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2010/08/01/pluralcast-21-extending-visual-studio-2010-with-kate-gregory/</guid>
		<description><![CDATA[Listen Now! Kate Gregory has probably forgotten more coding tricks than I have ever learned. That means that she likes her Visual Studio with meat and potatoes. With the new extensibility model in Visual Studio 2010,  Visual Studio can now be the primary source or protein in your IDE diet. In this episode Kate tells us [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://pluralsight-free.s3.amazonaws.com/pluralcast/pc_021_vsx_kate_gregory.mp3"><img style="display: inline; border-width: 0px;" title="PlayIcon" src="http://elegantcode.com/wp-content/uploads/2010/08/PlayIcon.png" border="0" alt="PlayIcon" width="24" height="24" /></a> <a href="http://pluralsight-free.s3.amazonaws.com/pluralcast/pc_021_vsx_kate_gregory.mp3" target="_blank">Listen Now</a>!</p>
<p>Kate Gregory has probably forgotten more coding tricks than I have ever learned. That means that she likes her Visual Studio with meat and potatoes. With the new extensibility model in Visual Studio 2010,  Visual Studio can now be the primary source or protein in your IDE diet. In this episode Kate tells us how to add a little hot sauce using Visual Studio extensions.</p>
<p><a href="http://elegantcode.com/wp-content/uploads/2010/08/kategregory.jpg"><img style="margin: 5px; display: inline; border-width: 0px;" title="kate-gregory" src="http://elegantcode.com/wp-content/uploads/2010/08/kategregory_thumb.jpg" border="0" alt="kate-gregory" width="112" height="142" align="right" /></a> Kate is in her fourth decade of being paid to program. Her firm, Gregory Consulting Limited, is based in rural Ontario and helps clients adopt new technologies and adjust to the changing business environment. Current work makes heavy use of .NET and Visual C++ along with SharePoint and both web and client development, especially for Windows 7. Managing, mentoring, technical writing, and technical speaking occupy much of her time, but she still writes code every week.</p>
<p>Kate is the author of over a dozen books and speaks at DevTeach, TechEd (USA, Europe, Africa), and TechDays, among others. Kate is a C++ MVP, a founding sponsor of the Toronto .NET Users Group, the founder of the East of Toronto .NET Users group, a member of the INETA speakers bureau, and a member of adjunct faculty at Trent University in Peterborough. Since January 2002 she has been Microsoft Regional Director for Toronto and since January 2004 she has been awarded the Microsoft Most Valuable Professional designation for Visual C++. In June 2005 she won the Regional Director of the year award.</p>
<p><strong>Show Links</strong></p>
<ul>
<li><a href="http://www.gregcons.com/kateblog/">Kate’s Blog</a></li>
<li><a href="http://www.pluralsight-training.net/microsoft/olt/Course/Toc.aspx?n=vs2010-vsx">Kate’s Pluralsight course, <em>Customizing and Extending Visual Studio 2010</em></a></li>
<li><a href="http://msdn.microsoft.com/en-us/vstudio/vextend.aspx">Visual Studio Extensibility (VSX)</a></li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=47305cf4-2bea-43c0-91cd-1b853602dcc5&amp;displaylang=en">Visual Studio SDK</a></li>
<li><a href="http://visualstudiogallery.msdn.microsoft.com/">Visual Studio Gallery</a></li>
<li><a href="http://code.msdn.microsoft.com/vsx">The Code Gallery</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2010/08/01/pluralcast-21-extending-visual-studio-2010-with-kate-gregory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://pluralsight-free.s3.amazonaws.com/pluralcast/pc_021_vsx_kate_gregory.mp3" length="41629427" type="audio/mpeg" />
		</item>
		<item>
		<title>Visual Studio: Open in Full XAML View by Default</title>
		<link>http://elegantcode.com/2010/04/01/visual-studio-open-in-full-xaml-view-by-default/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=visual-studio-open-in-full-xaml-view-by-default</link>
		<comments>http://elegantcode.com/2010/04/01/visual-studio-open-in-full-xaml-view-by-default/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 15:49:14 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2010/04/01/visual-studio-open-in-full-xaml-view-by-default/</guid>
		<description><![CDATA[So I am using Visual Studio 2008 for developing WPF and Silverlight applications.&#160; The one thing that really annoys me is when I open a .XAML file and then Visual Studio automatically opens the file in split view mode.&#160; I am sure you are well aware of how VS 2008 support for the preview pane [...]]]></description>
			<content:encoded><![CDATA[<p>So I am using Visual Studio 2008 for developing WPF and Silverlight applications.&#160; The one thing that really annoys me is when I open a .XAML file and then Visual Studio automatically opens the file in split view mode.&#160; I am sure you are well aware of how VS 2008 support for the preview pane blows.&#160; So now I have to sit and wait for VS to render my view in the preview pane, and sometimes it can take a while, if it doesn’t just completely crash.&#160; Sometimes I take the extra time to go grab a snack and beverage of my choice.&#160; </p>
<p>So here is a hidden performance increasing jewel you might find useful.&#160; We can set the default open mode to be in full XAML view.</p>
<p>First thing you need to do is in Visual Studio go to your Tools ==&gt; Options ==&gt; Text Editor ==&gt; XAML ==&gt; Miscellaneous.&#160; There you will see an option for “Always open documents in full XAML view”.&#160; Check that box.</p>
<p><a href="http://elegantcode.com/wp-content/uploads/2010/04/image.png" target="_blank"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="xaml options for opening in full xaml view" border="0" alt="xaml options for opening in full xaml view" src="http://elegantcode.com/wp-content/uploads/2010/04/image_thumb.png" width="244" height="146" /></a> </p>
<p>Now every time you open a XAML file it will open in full XAML view and give you one less thing to gripe about.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2010/04/01/visual-studio-open-in-full-xaml-view-by-default/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>If (Successful) { throw new Exception(); }</title>
		<link>http://elegantcode.com/2009/12/24/if-successful-throw-new-exception/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=if-successful-throw-new-exception</link>
		<comments>http://elegantcode.com/2009/12/24/if-successful-throw-new-exception/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 14:56:59 +0000</pubDate>
		<dc:creator>Brian Lagunas</dc:creator>
				<category><![CDATA[Tools and Utilities]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2009/12/24/if-successful-throw-new-exception/</guid>
		<description><![CDATA[So, I was installing Visual Studio 2010 Ultimate Beta 2 on one of my machines the other day and the funniest thing happened.&#160; After it successfully installed, I was prompted to send an error report. Since when is a successful operation a problem?&#160; Now, of course, I am assuming this is intentional and is transmitting [...]]]></description>
			<content:encoded><![CDATA[<p>So, I was installing Visual Studio 2010 Ultimate Beta 2 on one of my machines the other day and the funniest thing happened.&#160; After it successfully installed, I was prompted to send an error report.</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="error" border="0" alt="error" src="http://elegantcode.com/wp-content/uploads/2009/12/error.jpg" width="380" height="209" /> </p>
<p>Since when is a successful operation a problem?&#160; Now, of course, I am assuming this is intentional and is transmitting information back to Microsoft to tell them that it was successful.&#160; But, I can see how easy it would be for someone to mistaken this for a legitimate error.&#160; Then again, maybe it is.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2009/12/24/if-successful-throw-new-exception/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Default Files in Visual Studio Test Projects</title>
		<link>http://elegantcode.com/2008/07/26/default-files-in-visual-studio-test-projects/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=default-files-in-visual-studio-test-projects</link>
		<comments>http://elegantcode.com/2008/07/26/default-files-in-visual-studio-test-projects/#comments</comments>
		<pubDate>Sun, 27 Jul 2008 01:28:50 +0000</pubDate>
		<dc:creator>David Starr</dc:creator>
				<category><![CDATA[Esoterica]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2008/07/26/default-files-in-visual-studio-test-projects/</guid>
		<description><![CDATA[I can’t believe I have lived this long without discovering this little gem inside VS options. You know how Visual Studio creates default files in a test project when you create a new one? Those days of immediate file deletion are over, baby!]]></description>
			<content:encoded><![CDATA[<p>I can’t believe I have lived this long without discovering this little gem inside VS options.</p>
<p>You know how Visual Studio creates default files in a test project when you create a new one? Those days of immediate file deletion are over, baby!</p>
<p><a href="http://elegantcode.com/wp-content/uploads/2008/07/image1.png"><img title="image" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="140" alt="image" src="http://elegantcode.com/wp-content/uploads/2008/07/image-thumb1.png" width="244" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2008/07/26/default-files-in-visual-studio-test-projects/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Disabling ReSharper</title>
		<link>http://elegantcode.com/2008/07/05/disabling-resharper/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=disabling-resharper</link>
		<comments>http://elegantcode.com/2008/07/05/disabling-resharper/#comments</comments>
		<pubDate>Sat, 05 Jul 2008 18:43:40 +0000</pubDate>
		<dc:creator>David Starr</dc:creator>
				<category><![CDATA[Esoterica]]></category>
		<category><![CDATA[ReSharper]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2008/07/05/disabling-resharper/</guid>
		<description><![CDATA[What? Why would anyone want to do that? In my case, I am building a class (as in teach a class) for TDD that uses only Visual Studio native tools. So, how do I disable resharper to make sure I don’t get any pesky resharper files into my directory structure? By using Visual Studio’s Add-In [...]]]></description>
			<content:encoded><![CDATA[<p>What? Why would anyone want to do that? In my case, I am building a class (as in teach a class) for TDD that uses only Visual Studio native tools.</p>
<p>So, how do I disable resharper to make sure I don’t get any pesky resharper files into my directory structure? By using Visual Studio’s Add-In manager.</p>
<ol>
<li>In Visual Studio go to Tools &gt; Add-in Manager. </li>
<li>Uncheck the ReSharper 4 Add-in and then unselect the Startup box so that when you start up VS the next time, the Add-in won’t load. </li>
</ol>
<p>Not so fast, Gerome! Turns out that when ReSharper installed, it installed in such a way as to make this impossible. The fix is easy.</p>
<p>In your ReSharper Program Files directory, JetBrains\ReSharper\v4.0\Bin, find the Product.VisualStudio.90.AddIn file. Visual Studio needs to be able to modify this file and the installer laid in down read only. Make the file write-able and go back to VS and go through the process again. This time you will be able to turn off startup.</p>
<p>Even after doing this, the ReSharper menu remains in my IDE, which bugs me. All of the functionality is disabled and the context features in the code files are gone, but still…</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2008/07/05/disabling-resharper/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Version Control with 2008 SP1</title>
		<link>http://elegantcode.com/2008/06/12/version-control-with-2008-sp1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=version-control-with-2008-sp1</link>
		<comments>http://elegantcode.com/2008/06/12/version-control-with-2008-sp1/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 14:44:46 +0000</pubDate>
		<dc:creator>David Starr</dc:creator>
				<category><![CDATA[Team System]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2008/06/12/version-control-with-2008-sp1/</guid>
		<description><![CDATA[I am a simple man. All I ever wanted was drag and drop for source control. That folder chooser dialog was a bear. Now we will get it with Visual Studio 2008 SP1. Thank goodness. From the web site: Simplified the user experience through cleaner &#8220;Add to Source Control&#8221; dialogs, drag and drop support to [...]]]></description>
			<content:encoded><![CDATA[<p>I am a simple man. All I ever wanted was drag and drop for source control. That folder chooser dialog was a bear. Now we will get it with <a href="http://msdn.microsoft.com/en-us/vstudio/products/cc533447.aspx" target="_blank">Visual Studio 2008 SP1</a>. Thank goodness. From the web site:</p>
<ul>
<li>Simplified the user experience through cleaner &#8220;Add to Source Control&#8221; dialogs, drag and drop support to the Source Control Explorer and a much easier to use &#8220;Workspace&#8221; dialog for working folder mappings.
<li>Version control now automatically supports non-solution controlled files.
<li>Various changes to the Source Control Explorer such as a new checkin date/time display column, local path hyperlink support and en editable source location field.</li>
</ul>
<p>I am not a big fan of installing a beta SP on may dev laptop, but I gotta tell ya, I did it for that feature alone.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2008/06/12/version-control-with-2008-sp1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Latest on Checkout is Satan</title>
		<link>http://elegantcode.com/2008/06/11/get-latest-on-checkout-is-satan/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=get-latest-on-checkout-is-satan</link>
		<comments>http://elegantcode.com/2008/06/11/get-latest-on-checkout-is-satan/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 22:28:17 +0000</pubDate>
		<dc:creator>David Starr</dc:creator>
				<category><![CDATA[Team Foundation Server]]></category>
		<category><![CDATA[Team System]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2008/06/11/get-latest-on-checkout-is-satan/</guid>
		<description><![CDATA[If you are running Team System, there is feature in the source control option in your project level settings that you should be aware of. Right click your team project in the Project Explorer window of Visual Studio. Go here: And get this screen. Why? Because if you have made some changes to a file [...]]]></description>
			<content:encoded><![CDATA[<p>If you are running Team System, there is feature in the source control option in your project level settings that you should be aware of. Right click your team project in the Project Explorer window of Visual Studio.</p>
<p>Go here:</p>
<p><a href="http://elegantcode.com/wp-content/uploads/2008/06/image.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="219" alt="image" src="http://elegantcode.com/wp-content/uploads/2008/06/image-thumb.png" width="404" border="0"></a> </p>
<p>And get this screen.</p>
<p><a href="http://elegantcode.com/wp-content/uploads/2008/06/image1.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="369" alt="image" src="http://elegantcode.com/wp-content/uploads/2008/06/image-thumb1.png" width="404" border="0"></a> </p>
<p>Why? Because if you have made some changes to a file while it wasn&#8217;t checked out, you will not have the option to merge to your local machine. This option will simply overwrite your local code file.</p>
<p>Why does this feature exist? Because oodles of people asked for it because they were used to it in Source Safe, and the team relented.</p>
<p>Repeat: This is a bad idea!</p>
<p>If, however, you are a person who simply must have this turned on in order to feel snug, there is a way to do it without making your entire team experience the hell that will be yours.</p>
<p>In Visual Studio, go to Tools &gt; Options &gt; Source Control &gt; Environment and do this:</p>
<p><a href="http://elegantcode.com/wp-content/uploads/2008/06/image2.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="211" alt="image" src="http://elegantcode.com/wp-content/uploads/2008/06/image-thumb2.png" width="404" border="0"></a> </p>
<p>I warned you.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2008/06/11/get-latest-on-checkout-is-satan/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Architecture Modeling in Rosario with Peter Provost</title>
		<link>http://elegantcode.com/2008/06/06/architecture-modeling-in-rosario-with-peter-provost/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=architecture-modeling-in-rosario-with-peter-provost</link>
		<comments>http://elegantcode.com/2008/06/06/architecture-modeling-in-rosario-with-peter-provost/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 15:33:16 +0000</pubDate>
		<dc:creator>David Starr</dc:creator>
				<category><![CDATA[Architecture and Design]]></category>
		<category><![CDATA[Team System]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2008/06/06/architecture-modeling-in-rosario-with-peter-provost/</guid>
		<description><![CDATA[Yes, that Peter Provost, and this is a great Tech Ed session. We know that the modeling tools in Team System 2008 are, well&#8230; there&#8217;s room for improvement. How valuable is a Logical Data Center Design Model when we can&#8217;t derive it from a reverse engineering action? There has also been much frustration with the [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, that Peter Provost, and this is a great Tech Ed session. </p>
<p>We know that the modeling tools in Team System 2008 are, well&#8230; there&#8217;s room for improvement. How valuable is a Logical Data Center Design Model when we can&#8217;t derive it from a reverse engineering action? There has also been much frustration with the lack of standard UML support in Visual Studio. Guess what?</p>
<p>Rosario proposes that we promote modeling to a first class citizen of the complete Application Lifecycle Management model. Here&#8217;s my major takeaway: The way modeling is being supported enables visual exploration of your code base in a way that is seamless with the development process. This can honestly change the fundamental code development experience.</p>
<p>Also, I can plan on sun setting all my organizations Sparx licenses. Cool.</p>
<ul>
<li>UML 2.1 at the logical layer</li>
<li>DSLs at the physical layer</li>
<li>Generate models from existing assets. This is being discussed as &#8220;Architectural Discovery&#8221; which is a hilarious term in itself.</li>
<li>The April CTP has the following </li>
<ul>
<li>UML Class Diagram</li>
<li>UML Use Cases Diagram</li>
<li>UML Sequence Diagram</li>
<li>UML Component Diagram</li>
<li>UML Activity Diagram</li>
<li>Architecture Explorer</li>
<li>There is a unifying model underlying all of this, the diagrams are simply views upon that model.</li>
</ul>
<li>Newer versions will have some of the features we got to see today. These will come in another CTP later this year.</li>
<ul>
<li>Layer Diagram</li>
<ul>
<li>Seriously cool, this allows to separate concerns of our tiers in a system.</li>
<li>I can bind my namespaces to logical layers of my application</li>
</ul>
<li>Also has some seriously cool visualization tools for looking through your code. </li>
<ul>
<li>Using these views, we can see our cohesion and inheritance in physical form. </li>
<li>How about namespace visualization using a graph model? Dang, this is cool.</li>
<li>How about a dependency visualization? NDepend better look out because this one isn&#8217;t half bad.</li>
<li>AND, all views enable us to click right through to our source code. Neato.</li>
</ul>
<li>XMI support (seriously, wow). This means we can export models from other applications like Sparx EA, Altova, and Rational and bring them right into Visual Studio. Oh, and it will pull Visio models as well.</li>
<li>Round tripping of component models to code</li>
</ul>
<li>Peter actually built some sequence diagrams and I gotta say that this UX is going to be MUCH better than Enterprise Architect, which will soon loose it&#8217;s Market Share. Even use cases look neater.</li>
<li>Sequence diagrams can be round tripped with classes and even methods. This means we can examine the complexity of our code at a usable level, and do it visually. </li>
</ul>
<p>What if you could prescribe separation of tiers and limit leaky abstractions?</p>
<h2>Nuggets</h2>
<p>&#8220;Any system should be possible to represent on a white broad in no more than 13 boxes.&#8221;</p>
<p>&#8220;Using model is simply a way of managing complexity.&#8221;</p>
<p>&#8220;There will be a model store capability that means we don&#8217;t need to keep our models in the same solutions with our code.&#8221; But you can <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Because the models are all built on DSLs, there is someone out there who has automated the process of building test cases from activity diagrams. That is hotter than a 2 dollar pistol.</p>
<p>We can attach other files like Word files to your model itself. </p>
<p>What if we could could light up the models in the debugger to see highlighting of current activity in a sequence diagram? Neato.</p>
<p>They are trying to figure out how to include support for generating design patterns like found in EA and Rational. This is fun because you can generate domain specific code with a fundamental implementation in a known design pattern like Forward Controller or something.</p>
<p>I need a bigger monitor. Seriously, boss. I need a bigger monitor.</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2008/06/06/architecture-modeling-in-rosario-with-peter-provost/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Data Dude Extensibility &#8211; How IBM integrated DB2 into Visual Studio</title>
		<link>http://elegantcode.com/2008/06/06/data-dude-extensibility-how-ibm-integrated-db2-into-visual-studio/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=data-dude-extensibility-how-ibm-integrated-db2-into-visual-studio</link>
		<comments>http://elegantcode.com/2008/06/06/data-dude-extensibility-how-ibm-integrated-db2-into-visual-studio/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 13:52:59 +0000</pubDate>
		<dc:creator>David Starr</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Team System]]></category>
		<category><![CDATA[Tools & Utilities]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2008/06/06/data-dude-extensibility-how-ibm-integrated-db2-into-visual-studio/</guid>
		<description><![CDATA[I am sitting in a room at Tech Ed 208 with about 15 people who got up early enough for this session. I am blown away there aren&#8217;t more people in here, but I guess the after-party at Universal Studios last night kept people in bed late this morning. This session is a joint presentation [...]]]></description>
			<content:encoded><![CDATA[<p>I am sitting in a room at Tech Ed 208 with about 15 people who got up early enough for this session. I am blown away there aren&#8217;t more people in here, but I guess the after-party at Universal Studios last night kept people in bed late this morning. This session is a joint presentation by <a href="http://blogs.msdn.com/gertd/" target="_blank">Gert Drapers</a> (the actual Data Dude) and Brent Gross the from IBM for the DB2 integration project team.</p>
<p>It is clear (and stated) that other RDBMS vendors will follow suit as MS has provided a fundamentally pluggable model for vendors to integrate their DBs into Visual Studio with a provider model. Can you smell Oracle, boys and girls? I can. Gert is being vague about who they are working with. MySQL will be cool.</p>
<p>There are several levels of extensibility:</p>
<ul>
<li>DB Provider</li>
<ul>
<li>This is the actual connectivity to your own RDBMS. This provider is responsible for talking to the VS model layer for the DB project and translating between your DB and the model. </li>
</ul>
<li>VS Features</li>
<ul>
<li>The ability to alter features in Visual Studio, like: </li>
<ul>
<li>Refactorings available for a given provider.</li>
<li>Syntax highlighting</li>
<li>language formatting rules for reverse engineering operations</li>
</ul>
<li>Static analysis rules for your particular SQL language</li>
<ul>
<li>Yes, you get static analysis rules for TSQL. This is the death clock for select * from &#8230;</li>
<li>Static analysis in BD2 SQL may be different than that in MS TSQL</li>
<li>You can write your own static analysis rules in .Net by inheriting from the provided Rule class or *yeah* implementing an interface (are we hearing a theme out of MS?) I suppose if your company were anal enough, you could actually implement your proprietary naming convention rules as static analysis rules. Gert actually did this is an demo by writing a rule that checked column names to ensure they were in Pascal case. Neato. The funny part is when some of the developers in the room started telling him how his demo code could be refactored. Lol.</li>
</ul>
</ul>
<li>Model Extensibility</li>
<ul>
<li>VS actually works against a model of the data store and lets the provider do the translation.</li>
<li>Using the model paradigm for DB development provides full round trip model to implementation support for any given DB.</li>
<li>Gert actually showed a little command line app that looked at a Northwind DB in Access and a different Northwind DB in SQL Server and compared them. There would be very different SQL syntaxes if we were simply comparing creation scripts. The DBs showed as the same. More accurately, the models checked as the same. Cool.</li>
<li>So, I could script the process of taking a DB2 database and migrating it to SQL Server, or visa versa, in this model paradigm.</li>
</ul>
</ul>
<p>This session signaled several things to me.</p>
<ol>
<li>MS products really are being designed with extensibility and integration in mind. No really, this time.</li>
<li>The Data Dude model of working with databases has genuine merit. The days of SSMS (SQL Server Management Studio) and the Query Analyzer fan base are numbered. Treating DBAs as developers really is a better model.</li>
<li>Something different is occurring at MS with the changing of the guard.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2008/06/06/data-dude-extensibility-how-ibm-integrated-db2-into-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Annoying Bug in Visual Studio 2005</title>
		<link>http://elegantcode.com/2008/06/05/annoying-bug-in-visual-studio-2005/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=annoying-bug-in-visual-studio-2005</link>
		<comments>http://elegantcode.com/2008/06/05/annoying-bug-in-visual-studio-2005/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 19:05:09 +0000</pubDate>
		<dc:creator>Jan Van Ryswyck</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://elegantcode.com/2008/06/05/annoying-bug-in-visual-studio-2005/</guid>
		<description><![CDATA[Today I hunted down a bug in Visual Studio 2005 that annoyed me tremendously for the past couple of weeks. Starting from this certain point in time, without any reason whatsoever (maybe a sun burst targeting my office desk or something), Visual Studio started littering my source tree with folders named Visual Studio 2005. In [...]]]></description>
			<content:encoded><![CDATA[<p>Today I hunted down a bug in Visual Studio 2005 that annoyed me tremendously for the past couple of weeks. Starting from this certain point in time, without any reason whatsoever (maybe a sun burst targeting my office desk or something), Visual Studio started littering my source tree with folders named <em>Visual Studio 2005</em>. In these directories there was another directory named <em>Backup Files</em>. </p>
<p>At first I thought that the configuration options for Visual Studio were wrong. I checked the directory settings for <strong>Environment/Import and Export Settings</strong> and <strong>Project and Solutions</strong>. Everything seemed in order.</p>
<p>After some journey through the Windows registry, I found this inconsistent value for the <em>HKEY_CURRENT_USER\Software\Microsoft\Visual Studio\8.0\VisualStudioLocation</em> key. It was set to the value <em>&#8220;VisualStudioProject&#8221;</em> to be more precise. Changing this value to the correct path in the Document and Settings directory solved he problem.</p>
<p>This is a very specific problem that really affected my mood. It even put these backup folders in places that didn&#8217;t had any source file. Someone at Microsoft should get fired for this <img src='http://elegantcode.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  (no, just kidding). An IDE from <a href="http://www.jetbrains.com/" target="_blank">JetBrains</a> that targets .NET with Boo and IronRuby as first class citizens. That would be cool, don&#8217;t you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://elegantcode.com/2008/06/05/annoying-bug-in-visual-studio-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

