<?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>Jason Zander's WebLog : .NET</title><link>http://blogs.msdn.com/jasonz/archive/tags/.NET/default.aspx</link><description>Tags: .NET</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Announcing VS2010 / .NET Framework Beta 2!</title><link>http://blogs.msdn.com/jasonz/archive/2009/10/19/announcing-vs2010-net-framework-beta-2.aspx</link><pubDate>Mon, 19 Oct 2009 17:07:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9909235</guid><dc:creator>Jasonz</dc:creator><slash:comments>60</slash:comments><comments>http://blogs.msdn.com/jasonz/comments/9909235.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jasonz/commentrss.aspx?PostID=9909235</wfw:commentRss><description>&lt;P&gt;I’m happy to announce that Beta 2 is now ready for download!&amp;nbsp; MSDN subscribers may download the beta immediately with general availability on Wednesday.&amp;nbsp; Beta 2 comes with a “go live” license which means you can start using the product for production related work (see the license agreement with the product for more details).&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkID=151797" mce_href="http://go.microsoft.com/fwlink/?LinkID=151797"&gt;Download Beta 2&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;I have a few tutorials queued up which I will be publishing over the next several weeks; stay tuned.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_thumb.png" width=288 height=42 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The biggest change you’ll see with these release is the change to the SKU line up.&amp;nbsp; The goal with the new line up is to reduce the number of SKU’s you have to think about and install and make it a very simple set:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Visual Studio Express:&amp;nbsp; &lt;/STRONG&gt;the free Express SKUs for C++, C#, VB, and Web have been updated and released with this version and give you the basics for writing applications&lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;Microsoft Visual Studio 2010 Professional with MSDN&lt;/B&gt;: professional development tools as you are used to today with the addition of source control integration, extensibility, etc.&lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;Microsoft Visual Studio 2010 Premium with MSDN&lt;/B&gt;: Premium has everything in Professional plus advanced development (including profiling and debugging), advanced database support, coded UI testing, etc.&amp;nbsp; Rather than buying multiple “Team” SKUs, you can now get this combination of features in one box.&lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;Microsoft Visual Studio 2010 Ultimate with MSDN&lt;/B&gt;: Ultimate has everything in Premium plus additional advanced features for developers, testers, and architects including features like Intellitrace (formerly Historical Debugging), the new architecture tools (UML, discovery), etc.&amp;nbsp; All of the scenarios we’ve talked about are supported with this version of the product.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;In addition to these changes, Team Foundation Server (TFS) is now available with all versions of Visual Studio 2010.&amp;nbsp; You can get started with &lt;A href="http://blogs.msdn.com/jasonz/archive/2009/10/02/announcing-tfs-basic.aspx" mce_href="http://blogs.msdn.com/jasonz/archive/2009/10/02/announcing-tfs-basic.aspx"&gt;TFS Basic&lt;/A&gt; and work up to full multi-sever support, SharePoint integration, etc as your needs grow.&lt;/P&gt;
&lt;P&gt;The new “Test Elements” SKU is designed for testers who don’t need to write code.&amp;nbsp; You can manage your test cases, work items, and do manual testing using the SKU.&amp;nbsp; Because everything is integrated through TFS, you can continue to collaborate with the entire team.&lt;/P&gt;
&lt;P&gt;The UI has been refreshed with a new start page that gives you quick links to common tasks or background on programming tasks.&amp;nbsp; I have TFS Basic installed on my laptop; you can see Team Explorer support for source control, work items, and builds:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_4.png" target=_blank mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_4.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_thumb_1.png" width=554 height=335 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Beta 2 now ships with several new project types we’ve mentioned before such as Windows Azure (under “Cloud Service”) and SharePoint, all available for C# and Visual Basic programmers:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_6.png" target=_blank mce_href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_6.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_thumb_2.png" width=548 height=379 mce_src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/AnnouncingVS2010.NETFrameworkBeta2_955C/image_thumb_2.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;In addition support for Silverlight 3 and ASP.NET MVC 2 are included in the build.&lt;/P&gt;
&lt;P&gt;As an engineering team, the goal for Beta 2 was to work very hard on performance, stability, and the integration of the feature set.&amp;nbsp; Our focus is now transitioning to getting your feedback on the product and preparing for the release candidate (RC) milestone which is our final milestone before shipping the product.&amp;nbsp; Please download the beta and send us your feedback.&lt;/P&gt;
&lt;P&gt;Enjoy!&lt;/P&gt;
&lt;P&gt;Jason&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9909235" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jasonz/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/jasonz/archive/tags/.NET/default.aspx">.NET</category></item><item><title>Sample:  Parsing Content in C# Using IFilter</title><link>http://blogs.msdn.com/jasonz/archive/2009/08/31/sample-parsing-content-in-c-using-ifilter.aspx</link><pubDate>Mon, 31 Aug 2009 07:09:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9889221</guid><dc:creator>Jasonz</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/jasonz/comments/9889221.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jasonz/commentrss.aspx?PostID=9889221</wfw:commentRss><description>&lt;p&gt;I’m working on a 3 (or 4) part tutorial right now that requires parsing of PDF files.&amp;#160; The code started to get big enough I decided to pull it out and turn it into a new post that I can use in the series (stay tuned).&lt;/p&gt;  &lt;p&gt;There are several solutions for reading through various file formats.&amp;#160; The IFilter interface was defined to help Windows do search indexing on files for this purpose.&amp;#160; There are lot’s of filter providers for various formats, including several from Microsoft.&amp;#160; If you want to parse PDF files you’ll need to have a provider installed for that as well.&amp;#160; The &lt;a href="http://www.foxitsoftware.com/pdf/ifilter/" target="_blank"&gt;FoxIt IFilter download page&lt;/a&gt; has a provider that according to their website is free for client use (my case).&lt;/p&gt;  &lt;p&gt;In looking around for some sample code I found a few examples that did close to what I wanted but didn’t have a lot of luck finding a C# example.&amp;#160; I’ve pulled together various pieces of code to create a basic implementation for my (simple) needs.&amp;#160; You can find some interesting links here:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms691105(VS.85).aspx" target="_blank"&gt;MSDN Documentation for IFilter&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://ifilter.codeplex.com/" target="_blank"&gt;Codeplex IFilter sample code in C++&lt;/a&gt; (under MS-PL)&lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.pinvoke.net/default.aspx/query/LoadIFilter.html" target="_blank"&gt;P-Invoke definitions for IFilter and related members&lt;/a&gt; from &lt;a href="http://www.pinvoke.net"&gt;www.pinvoke.net&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The sample contains a class library for parsing the code and a console application that can be used to exercise the library against files.&amp;#160; The code is built using a current internal build of VS2010 (stay tuned here for beta notice) but the key code (FilterCode.cs) should work fine on previous versions of VS and .NET Framework.&lt;/p&gt;  &lt;p&gt;I’ve uploaded the solution to the MSDN code gallery here:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://code.msdn.microsoft.com/ifiltersample" target="_blank"&gt;Download source code&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;To use the sample, include FilterCode.cs in your project, create a new instance of FilterLibrary.FilterCode, and call the GetTextFromDocument method against the file you want to parse.&amp;#160; If you have a filter installed for that document type, you will get back a StringBuilder with the text contents of the file.&lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9889221" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jasonz/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/jasonz/archive/tags/Sample/default.aspx">Sample</category></item><item><title>VS2010 Tutorial: Build a WPF App (Step 1)</title><link>http://blogs.msdn.com/jasonz/archive/2009/05/22/vs2010-tutorial-build-a-wpf-app-with-beta-1.aspx</link><pubDate>Fri, 22 May 2009 10:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9597944</guid><dc:creator>Jasonz</dc:creator><slash:comments>15</slash:comments><comments>http://blogs.msdn.com/jasonz/comments/9597944.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jasonz/commentrss.aspx?PostID=9597944</wfw:commentRss><description>&lt;p&gt;For this post I’m going to build a WPF application from scratch using VS2010 Beta 1.&amp;#160; Along the way I’m going to show off a few new features of the product.&amp;#160; I built this demo using the Beta 1 build on Windows 7 RC, but it should work fine on other systems as well.&lt;/p&gt;  &lt;p&gt;If you haven’t already downloaded the software, you can find a great walk through of how to do that on &lt;a href="http://channel9.msdn.com/shows/10-4/10-4-Episode-20-Downloading-and-Installing-Visual-Studio-2010-Beta-1/" target="_blank"&gt;Channel 9 from Brian Keller&lt;/a&gt;.&amp;#160; Brian explains how to install the entire product, including TFS.&amp;#160; TFS is not required for Step 1 (this tutorial), but will be for Step 2.&lt;/p&gt;  &lt;p&gt;First we’ll start off in Visual Studio 2010 and do a File, New Project.&amp;#160; I’m going to select “WPF Application” and call my application PicViewer (this is the new Beta 1 dialog):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_3.png" width="569" height="407" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This will give us the default project template including a Window with a Grid and my default C# project code:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_12.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_5.png" width="575" height="347" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;To start, I’m going to drag the Window out to be larger which you can do by dragging the actual window in the designer or you can edit the XAML Width=”” tag.&amp;#160; I’ll make mine 700:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_14.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_6.png" width="564" height="347" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;At the top of the application we want a button to display the Previous and Next pictures in the list.&amp;#160; We also want to display the full path so we’ll need a label.&amp;#160; Step 1 is to add a row to the grid.&amp;#160; In this case I’ll select the &amp;lt;Grid&amp;gt; label and move the cursor to where I want the row:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_18.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_8.png" width="561" height="81" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;When I make the row, it also adjusts the XAML for this page as follows:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_20.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_9.png" width="367" height="128" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Let’s adjust the first row Height to “35” instead of “29*” just to make sure my buttons are of reasonable size.&amp;#160; The aesthetics are really up to you.&lt;/p&gt;  &lt;p&gt;We want WPF to do the layout of the buttons and the label.&amp;#160; To do this, create a &amp;lt;StackPanel&amp;gt; bound to Grid.Row=”0”.&amp;#160; The StackPanel by default flows items vertically so let’s change the Orientation to “Horizontal”.&amp;#160; You can do this either by using the XAML editor or by dragging the items from the ToolBox.&amp;#160; Your final markup should look like the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_24.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_11.png" width="367" height="122" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Let’s drag a button onto the Row from the Toolbox:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_26.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_12.png" width="355" height="130" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I want this to be the Previous button.&amp;#160; I’ll do this by editing the settings in the Properties window:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_30.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_14.png" width="304" height="179" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;First change the Name field to “buttonPrev” and then change the Content setting to “Prev”.&amp;#160; Repeat this process by dragging another button to the right of the Prev button and edit that item to Name “buttonNext” and Content “Next”.&amp;#160; You should see the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_64.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_4.png" width="217" height="102" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;This is functional, but doesn’t look good.&amp;#160; We can add some white space around the buttons in the StackPanel by setting the margin which defines how much space should be around an item.&amp;#160; Select the Prev button and change this setting:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_34.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_16.png" width="244" height="141" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;which will give the button a Margin of 5 on all sides (you can independently set left|right|top|bottom as well).&amp;#160; Repeat the same for the Next button.&amp;#160; At this point you’ll see the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_36.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_17.png" width="242" height="102" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Finally drag a label to the right of the Next button making the Name “labelPath” and set the Width to “400”.&amp;#160; When you are done, your XAML markup should look as follows (you can edit the text if it isn’t just right):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_38.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_18.png" width="475" height="73" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;To display our pictures, we will need to have an Image control in the bottom.&amp;#160; To do this, drag an Image control from the ToolBox to the bottom of the grid.&amp;#160; This will do the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_40.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_19.png" width="500" height="461" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This is a case where having the Smart Tag feature of Windows Forms would be really handy.&amp;#160; This is on the feature list but not yet in the WPF Designer.&amp;#160; In this case I’m going to edit the XAML itself to remove everything the designer added except the Grid.Row, Margin, and Name settings.&amp;#160; Make your settings look like the following and the image control will now fill the bottom of the grid with a nice white space border:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_42.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_20.png" width="511" height="67" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_44.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_21.png" width="520" height="240" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Now the look of the application is coming along and we need to add some code to make it work.&amp;#160; To start, double click on the title bar of the Window to create a load handler:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_48.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_23.png" width="244" height="62" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_46.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_22.png" width="530" height="87" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Repeat this process by double clicking on the Prev and Next buttons.&amp;#160; This will give you the following code outline:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_50.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_24.png" width="544" height="409" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;For this picture viewer, I’m going to get a list of jpg files from my Windows 7 user directory and display those.&amp;#160; What I’d really like to do is write the view code in Window1.xaml.cs in a way that makes sense to me, then go write the underlying logic.&amp;#160; To get started, I’m going to declare a new instance of a class that doesn’t exist yet:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_54.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_26.png" width="407" height="199" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Because the class doesn’t exist yet, I am getting the red squiggles under the type.&amp;#160; That’s ok, we’ll create the class in a minute.&lt;/p&gt;  &lt;p&gt;The next step is to stub out all the view code in this file.&amp;#160; We’ll start with the Window_Loaded() method.&amp;#160; Notice that even though the class has not been defined, Intellisense will include the type after the new keyword so you can use it:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_28.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_2.png" width="457" height="297" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;We want to initialize the list and display the first picture when the application starts.&amp;#160; The code is as follows:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_66.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_32.png" width="461" height="132" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Once again I have parse errors for items which don’t exist which is ok.&amp;#160; Move on to the Previous button handler and start typing in that method.&amp;#160; When I get to the DisplayPicture function call, you’ll notice the function doesn’t show up in the IntelliSense window because it doesn’t exist yet.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_60.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_29.png" width="426" height="129" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;If you hit &amp;lt;Ctrl&amp;gt;+&amp;lt;Alt&amp;gt;+Space you’ll change the mode into “consume first” which means I want the editor to give me these names while I’m typing.&amp;#160; Now when I start typing, my new (and undeclared) function shows up in the list so IntelliSense doesn’t auto-complete on items already in the completion list:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_62.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_30.png" width="570" height="115" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;My code then looks like the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_68.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_33.png" width="588" height="412" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;I’m happy with this basic view logic.&amp;#160; Now I need to actually create the support class that finds my pictures.&amp;#160; Let’s start by placing the cursor on the PictureList class declaration then press the &amp;lt;Ctrl&amp;gt; key and the period (&amp;lt;Ctrl&amp;gt;+.) at the same time to expand the smart tag.&amp;#160; You’ll get the following pop up:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_70.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_34.png" width="503" height="193" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Select the first menu item, “Generate class for ‘PictureList’”.&amp;#160; This will add a new file, PictureList.cs, to the project and generate the class PictureList in that file.&amp;#160; Now that the class has been defined, the squiggles go away:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_72.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_35.png" width="242" height="38" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You will then notice all the methods you have invoked on the class are showing up as syntax errors.&amp;#160; Put your cursor in the Init() method and press &amp;lt;Ctrl&amp;gt;+. to get the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_74.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_36.png" width="514" height="138" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Select the menu item so the code is generated for you.&amp;#160; Repeat this process for the Peek(), Prev(), and Next() methods.&amp;#160; If we then open PictureList.cs file, you will find the following code stubbed out for you:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_76.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_37.png" width="394" height="470" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Notice that because the code we wrote to consume methods like _PicList.Peek() expect a string back, the editor has automatically given the methods a return type of ‘string’.&lt;/p&gt;  &lt;p&gt;Now I’ll add the logic to retrieve a list of jpg’s from the Windows install and give me the ability to walk through them:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_80.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_39.png" width="549" height="365" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The last step is to write the DisplayPicture method in Window1.xaml.cs.&amp;#160; I can do this once again by selecting the method name and hitting &amp;lt;Ctrl&amp;gt;+. and then fill out the code as follows:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_82.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_40.png" width="559" height="143" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This code will take the jpg and convert it into a BitmapImage that can be displayed.&amp;#160; The next line of code sets the Source of our XAML image contorl to this bitmap so it can be displayed on the screen.&lt;/p&gt;  &lt;p&gt;The program now builds cleanly.&amp;#160; I will set a breakpoint in the Peek() method as well as the DisplayPicture method.&amp;#160; Do this by placing the cursor on those functions and hitting the F9 button (notice the red breakpoint circle in the margin):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_84.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_41.png" width="439" height="106" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_86.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_42.png" width="442" height="112" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now let’s run the application by hitting the F5 button.&amp;#160; Our first breakpoint in the Peek() method is now hit:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_88.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_43.png" width="640" height="386" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You’ll find your breakpoint marked in yellow where we stopped.&amp;#160; In addition you’ll find the traditional Call Stack view in the lower right.&amp;#160; Because I’m using Visual Studio Team System, I also have the “Debug History” view on by default:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_118.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_58.png" width="332" height="396" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The default settings have captured interesting information about the execution of my program so far including all of the Registry accesses my program has made (either by me or the underlying system) and system events (like breakpoints, exceptions, etc).&lt;/p&gt;  &lt;p&gt;If I hover my cursor over the _PicList variable in the editor, I get a pop up watch window.&amp;#160; If I hover my cursor over the little square at the end and click:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_90.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_44.png" width="441" height="126" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;then you will get a sticky DataTips window in the editor (the arrow is just to demonstrate the result, it isn’t in the editor):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_92.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_45.png" width="590" height="97" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This is a simple example of using the new WPF editor.&amp;#160; The sticky DataTips window is a WPF adornment to the text buffer tied into the debugger.&amp;#160; You can use it like a normal watch window by expanding the array contents, etc.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_94.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_46.png" width="505" height="184" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Let’s hit F5 and continue the program.&amp;#160; My application now works including the Prev and Next buttons:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_96.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_47.png" width="588" height="287" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The only issue is the name of the file is not being updated.&amp;#160; Click the Next button again to our break point in DisplayPicture().&amp;#160; There is no code to update the label in this method:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_98.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_48.png" width="525" height="117" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;To fix this, let’s add a new line of code:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_100.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_49.png" width="379" height="357" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;With the Edit &amp;amp; Continue feature you can make new code changes while the application is running.&amp;#160; Update the code to the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_102.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_50.png" width="385" height="109" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now press F5 to continue and the path is updated:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_104.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_51.png" width="511" height="243" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;There are a couple of fit and finish things I’d like to change.&amp;#160; Let’s stretch the image to fit by adding Stretch=”Fill”:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_106.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_52.png" width="514" height="274" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Next let’s add a rectangle to frame the picture:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_112.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_55.png" width="538" height="57" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You can then select the rectangle and set the Fill property to give it a color.&amp;#160; This brings up the new inline color palate:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_108.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_53.png" width="213" height="244" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I chose a blue/black color and you get the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_114.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_56.png" width="554" height="240" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The final XAML markup then looks like the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_116.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/jasonz/WindowsLiveWriter/VS2010WalkThroughonBeta1_7E6C/image_thumb_57.png" width="574" height="218" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This sample could be improved in a number of ways, including using data bound controls to enumerator classes, adding all the proper try/catch logic, etc.&amp;#160; But my main goal here was to show off some editor / designer features so I’ll leave that as an exercise to the user.&lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9597944" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jasonz/archive/tags/WPF/default.aspx">WPF</category><category domain="http://blogs.msdn.com/jasonz/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/jasonz/archive/tags/Tutorial/default.aspx">Tutorial</category><category domain="http://blogs.msdn.com/jasonz/archive/tags/.NET/default.aspx">.NET</category></item><item><title>General Download of VS2010 / .NET Framework 4.0 Beta 1</title><link>http://blogs.msdn.com/jasonz/archive/2009/05/20/general-download-of-vs2010-net-framework-4-0-beta-1.aspx</link><pubDate>Wed, 20 May 2009 05:54:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9630999</guid><dc:creator>Jasonz</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/jasonz/comments/9630999.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jasonz/commentrss.aspx?PostID=9630999</wfw:commentRss><description>&lt;p&gt;On Monday I posted a detailed walk through of Beta 1 &lt;a href="http://blogs.msdn.com/jasonz/archive/2009/05/18/announcing-vs2010-net-framework-4-0-beta-1.aspx" target="_blank"&gt;here&lt;/a&gt;.&amp;#160; Beta 1 has been available to MSDN subscribers since Monday and will be available to everyone as of 10 AM PST today (Wednesday May 20).&amp;#160; I’m about to catch a plane from JFK to Seattle so I’m posting the links now:)&amp;#160; They will be live after 10 AM PST:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;b&gt;&lt;a href="http://msdn.microsoft.com/vstudio/dd582936.aspx" target="_blank"&gt;Visual Studio Pro&lt;/a&gt;&lt;/b&gt; &lt;/li&gt;    &lt;li&gt;&lt;b&gt;&lt;a href="http://msdn.microsoft.com/teamsystem/dd582936.aspx" target="_blank"&gt;Visual Studio Team System&lt;/a&gt;&lt;/b&gt; &lt;/li&gt;    &lt;li&gt;&lt;b&gt;&lt;a href="http://msdn.microsoft.com/netframework/dd582936.aspx" target="_blank"&gt;.NET Framework&lt;/a&gt;&lt;/b&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;This beta does have full setup available so you can provision it yourself.&amp;#160; The product is designed to work cleanly with VS2008, however like any pre-release software you should be careful about using the product on your main machine.&amp;#160; We are not (yet) opening the product up for general ‘go live’ usage; our goal is to get your feedback on the feature set and direction we are headed.&lt;/p&gt;  &lt;p&gt;I really want to hear your feedback!&amp;#160; I will definitely follow blog comments, but the best way to give us that feedback is through the &lt;a href="http://go.microsoft.com/fwlink/?LinkID=151797" target="_blank"&gt;Visual Studio 2010 / .NET Framework 4 Beta 1 site&lt;/a&gt;.&amp;#160; You can get your issues and suggestions routed to the teams directly by going through this route.&lt;/p&gt;  &lt;p&gt;Over the next week I’ll be posting a couple of tutorials that you can use to try out new functionality.&amp;#160; Stay tuned…&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9630999" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jasonz/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/jasonz/archive/tags/.NET/default.aspx">.NET</category></item></channel></rss>