Jim Blizzard's Blog - musings from a snowstorm... http://snowstormlife.com/blogs/bliz Just trying to weather the snowstorms... A must-read blog post on deploying Metro style Windows 8 apps to businesses http://snowstormlife.com/blogs/bliz/2095 Thu, 26 Apr 2012 07:51:15 http://snowstormlife.com/blogs/bliz/2095 <p>The <a href="http://blogs.msdn.com/b/windowsstore" target="_blank">Windows Store blog</a> has an important post on deploying Metro style Windows 8 apps to businesses. Very much worth reading – twice. </p> <p><a href="http://blogs.msdn.com/b/windowsstore/archive/2012/04/25/deploying-metro-style-apps-to-businesses.aspx" target="_blank">From the blog post</a>: </p> <blockquote> <p>When it comes to building a Metro style app for business users, the first thing you should consider—whether you are a developer or an IT admin—is how you'll deploy the app. You have two options available: </p> <ul> <li>Make the app available through the Windows Store, which means the app must adhere to the same certification policies and process required for all apps in the Store </li> <li>Build the app internally or sell it directly to the enterprise, which means IT admins must distribute the app directly to end-users within the enterprise, without involving the Store. </li> </ul> </blockquote> <p>The post goes on to discuss two types of business apps</p> <ol> <li>Business-targeted apps in the Windows Store and </li> <li>Direct distribution of a Metro style app (as in a custom and proprietary line-of-business app or enterprise software purchased directly from an ISV). </li> </ol> <p>Head on over and give it a read. And Happy Windows 8-ing !</p> <p>bliz</p> Now blogging at http://jimblizzard.wordpress.com http://snowstormlife.com/blogs/bliz/2094 Sat, 21 Apr 2012 02:43:03 http://snowstormlife.com/blogs/bliz/2094 <p>Yeah, I’ve switched back to WordPress as my primary blog. Again.</p> <p>Just because. </p> <p>Again, that’s <a href="http://jimblizzard.wordpress.com">http://jimblizzard.wordpress.com</a>. </p> <p>Hope to see you over there!</p> Already have an app? http://snowstormlife.com/blogs/bliz/2093 Thu, 22 Mar 2012 03:45:55 http://snowstormlife.com/blogs/bliz/2093 <p>If so, you might be interested in one of these articles:</p> <ul> <li><a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh868262.aspx">iPad app to a Metro Style app</a> (UX) </li> <li><a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh868264.aspx">Website to Metro Style app</a> (UX) </li> <li><a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh465143.aspx">Migrating a Web App to Metro Style app</a> (Dev) </li> <li><a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh465136.aspx">Migrating a Windows Phone 7 app to Metro Style app</a> (XAML) </li> <li><a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh465128.aspx">Migrating a Windows Phone 7 app to Metro Style app</a> (JavaScript)</li> </ul> <p>As always, you can find more information about Windows 8 at <a href="http://preview.windows.com/">http://preview.windows.com</a>.</p> <p>Enjoy! <br />bliz</p> Want more info about Visual Studio 11 Beta? http://snowstormlife.com/blogs/bliz/2092 Wed, 14 Mar 2012 09:37:52 http://snowstormlife.com/blogs/bliz/2092 <p>Here’s your must-have list of sites regarding Visual Studio 11 Beta.</p> <ul> <li>The Visual Studio team blog. If you see a post and have questions, want to make a comment, or provide feedback, post it in the comments section: <a href="http://blogs.msdn.com/b/visualstudio/">http://blogs.msdn.com/b/visualstudio/</a> </li> <li>The VS11 Beta forums are also an excellent place to post questions / look for answers: <a href="http://social.msdn.microsoft.com/Forums/en-US/category/vsvnext">http://social.msdn.microsoft.com/Forums/en-US/category/vsvnext</a> </li> <li>The landing page for VS11 Beta looks like a simple page, but it has links to a large amount of VS11-related content: <a href="http://www.microsoft.com/visualstudio/11/en-us">http://www.microsoft.com/visualstudio/11/en-us</a> </li> <li>And of course, there’s always the MSDN Library, which is constantly being updated with new material: <a href="http://msdn.microsoft.com/en-us/library/dd831853(v=vs.110).aspx">http://msdn.microsoft.com/en-us/library/dd831853(v=vs.110).aspx</a> </li> <li>Oh, and would you like to submit feature requests or (gasp!) bugs? Here’s your site: <a href="http://connect.microsoft.com/VisualStudio">http://connect.microsoft.com/VisualStudio</a> </li> </ul> <p>There are many more, very good sites out there. But this list should give you a good start. </p> <p>Enjoy!</p> <p>bliz (@snowstormlife)</p> The fun is about to begin! http://snowstormlife.com/blogs/bliz/2091 Thu, 23 Feb 2012 02:40:18 http://snowstormlife.com/blogs/bliz/2091 <p>If you haven't already heard the news, take a look at <a href="http://blogs.msdn.com/b/jasonz/archive/2012/02/23/sneak-preview-of-visual-studio-11-and-net-framework-4-5-beta.aspx" target="_blank">Jason's blog</a>, <a href="http://blogs.msdn.com/b/somasegar/archive/2012/02/23/the-road-to-visual-studio-11-beta-and-net-4-5-beta.aspx" target="_blank">Soma's blog</a>, <a href="http://blogs.msdn.com/b/visualstudio/archive/2012/02/23/introducing-the-new-developer-experience.aspx" target="_blank">the Visual Studio team blog</a>, and <a href="http://www.microsoft.com/visualstudio/en-us/visual-studio-11" target="_blank">the Visual Studio product website</a>.</p> <p>The Visual Studio 11 Beta will be here on February 29! </p> <p>The fun is about to begin! </p> <p>Enjoy! <br />bliz</p> Have techie friends in Europe? http://snowstormlife.com/blogs/bliz/2090 Wed, 15 Feb 2012 07:39:30 http://snowstormlife.com/blogs/bliz/2090 <p>Let ‘em know that the Microsoft TechEd Europe session list has been posted here: <a href="http://europe.msteched.com/Sessions">http://europe.msteched.com/Sessions</a>.</p> <p>Where &amp; When? Amsterdam on June 26 – 29.</p> <p><a href="http://snowstormlife.com/images/Have-techie-friends-in-Europe_11322/clip_image001.gif"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://snowstormlife.com/images/Have-techie-friends-in-Europe_11322/clip_image001_thumb.gif" width="430" height="87" /></a></p> <p>I’ve never been to Europe. . . Anyone want to sponsor me? : )</p> <p>Enjoy!</p> Fishing report http://snowstormlife.com/blogs/bliz/2089 Mon, 26 Dec 2011 08:16:38 http://snowstormlife.com/blogs/bliz/2089 <p>Woke up before sunrise again this morning and stepped out back to do a little fishing. Did the same thing yesterday morning and caught a nice little spotted sea trout. Figured, why not give it a try again today? </p> <p>The sky was blue, the sun was trying to climb its way up, and the fish were active, making swirls all over the calm inlet. But they weren’t hungry this time. (At least, not for the spoon I used yesterday.) <br /><a href="http://snowstormlife.com/images/f8733b084b20_7148/morning.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="morning" border="0" alt="morning" src="http://snowstormlife.com/images/f8733b084b20_7148/morning_thumb.jpg" width="244" height="163" /></a></p> <p>A couple of boats slowly motored down the inlet, heading out for a day of fun. We waved at each other as they passed. </p> <p>And now, just a few minutes later, a fog is rolling in from the east. I can barely see the trees about a half mile up the inlet as the fog takes over. The beautiful warm sunshine is gone, and the sky is a cold gray. That was fast. It’s turned into a nice day to stay inside. </p> <p><a href="http://snowstormlife.com/images/f8733b084b20_7148/Christmas-2011-268.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Christmas 2011 268" border="0" alt="Christmas 2011 268" src="http://snowstormlife.com/images/f8733b084b20_7148/Christmas-2011-268_thumb.jpg" width="244" height="163" /></a></p> December 23, 2011 - 1 http://snowstormlife.com/blogs/bliz/2088 Fri, 23 Dec 2011 07:33:35 http://snowstormlife.com/blogs/bliz/2088 <p>After successfully using SQL Azure for a while, I’ve switched my snowstormlife.com blog database back to my database on DiscountASP.net. In the switch I wound up with a number of entries with a post date of 12/23/11. Apparently I didn’t program my site to allow me to set the post date through Live Writer. Oh well, such is life. </p> <p>Anyway, back up and running. . . </p> October 18, 2011 http://snowstormlife.com/blogs/bliz/2087 Fri, 23 Dec 2011 07:19:39 http://snowstormlife.com/blogs/bliz/2087 <p>VS11 Developer Preview training kit now available!</p> <p>You can download it from here: <a href="http://go.microsoft.com/?linkid=9779649">http://go.microsoft.com/?linkid=9779649</a></p> <p>Enjoy!</p> <p>bliz</p> September 4, 2011 http://snowstormlife.com/blogs/bliz/2086 Fri, 23 Dec 2011 07:18:19 http://snowstormlife.com/blogs/bliz/2086 <p>If you’re trying out some WCF programming, there’s a nice little WCF test client available for you to use, aptly named WcfTestClient.exe. </p> <p>To run it, the MSDN documentation tells you to navigate to the “%SystemDrive%\Program Files\Microsoft Visual Studio 10.0\Common7\IDE” folder. BUT, if you’re running 64-bit Windows, you won’t find it there. You’ll need to look in “%SystemDrive%\<strong>Program Files (x86)</strong>\Microsoft Visual Studio 10.0\Common7\IDE folder” instead. </p> <p>You’re welcome.</p> <p>bliz</p> September 4, 2011- 9:14 PM http://snowstormlife.com/blogs/bliz/2085 Fri, 23 Dec 2011 07:16:08 http://snowstormlife.com/blogs/bliz/2085 <p>If you’re trying out some WCF programming, there’s a nice little WCF test client available for you to use, aptly named WcfTestClient.exe. </p> <p>To run it, the MSDN documentation tells you to navigate to the “%SystemDrive%\Program Files\Microsoft Visual Studio 10.0\Common7\IDE” folder. BUT, if you’re running 64-bit Windows, you won’t find it there. You’ll need to look in “%SystemDrive%\<strong>Program Files (x86)</strong>\Microsoft Visual Studio 10.0\Common7\IDE folder” instead. </p> <p>You’re welcome.</p> <p>bliz</p> August 5, 2011 http://snowstormlife.com/blogs/bliz/2084 Fri, 23 Dec 2011 07:15:24 http://snowstormlife.com/blogs/bliz/2084 <p>Many developers who first start working with Team Foundation Server find it easy to get wrapped around the axle when it comes to TFS Workspaces. They’re not very intuitive. The simple explanation I give about workspaces when asked, is that they’re a mapping between the files on your hard disk and the TFS server. But there are a lot of additional “features” that come with workspaces, and this is where the non-intuitive part comes into play. </p> <p>Mickey Gousset has a nice article about TFS 2010 workspaces and what they’re about, which was recently posted online in Visual Studio Magazine <a href="http://visualstudiomagazine.com/articles/2011/07/26/wctfs_tfs-version-control.aspx">here</a>. And there’s a host of documentation about workspaces in the MSDN Library, located <a href="http://msdn.microsoft.com/en-us/library/ms181383.aspx">here</a>.</p> <p>Very good information, indeed.</p> <p>BUT, change is coming, and life will get much easier.</p> <p>Just the other day, Brian Harry blogged about <a href="http://blogs.msdn.com/b/bharry/archive/2011/08/02/version-control-model-enhancements-in-tfs-11.aspx">Version Control Model Enhancements in TFS 11</a>. In the post he talks about the concept of local workspaces. They’re very intuitive, simple to use, and make working with source code in an offline mode very easy. At the bottom of the entry Brian included nice a video by Matt Mitrik that walks through some scenarios using local workspaces in the next release of TFS. </p> <p><a href="http://blogs.msdn.com/b/bharry/archive/2011/08/02/version-control-model-enhancements-in-tfs-11.aspx">Go read, watch, and enjoy.</a></p> <p>-- bliz</p> July 29, 2011 http://snowstormlife.com/blogs/bliz/2083 Fri, 23 Dec 2011 07:08:59 http://snowstormlife.com/blogs/bliz/2083 <p>In yet another instance of getting real, I just swapped out the backend database for SnowstormLife.com to a SQL Azure Database. (The website itself is still on a 3rd party host, not on Windows Azure yet.) </p> <p>It wasn’t that difficult. I simply needed to </p> <ol> <li>Create a SQL Azure Database (I already had an account) </li> <li>Create the Transact-SQL script for the table schema and data </li> <li>Run that script against the new SQL Azure database. </li> </ol> <p>Don’t have an Azure account? Microsoft currently has a free trial available: <a href="http://www.microsoft.com/windowsazure/free-trial/">http://www.microsoft.com/windowsazure/free-trial/</a></p> <p>For steps 2 &amp; 3, you can find step-by-step instructions with a sample here: <a href="http://msdn.microsoft.com/en-us/library/ee621790.aspx">http://msdn.microsoft.com/en-us/library/ee621790.aspx</a></p> <p>I needed to add one piece to the script generated in step 2: the creation of a clustered primary key, which I discovered is a requirement in SQL Azure. (I didn’t have any primary keys defined in the old database.) It only took a couple of additional lines: </p> <p><a href="http://snowstormlife.com/images/122311_10D33/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://snowstormlife.com/images/122311_10D33/image_thumb.png" width="244" height="41" /></a></p> <p>For more information about SQL Azure, head on over to the MSDN library: <a href="http://msdn.microsoft.com/en-us/library/gg619386(BTS.70).aspx">http://msdn.microsoft.com/en-us/library/gg619386(BTS.70).aspx</a></p> <p>Another helpful resource is the SQL Azure FAQ: <a href="http://social.technet.microsoft.com/wiki/contents/articles/sql-azure-faq.aspx">http://social.technet.microsoft.com/wiki/contents/articles/sql-azure-faq.aspx</a></p> <p>Enjoy.</p> <p>-- bliz</p> Have something you'd like to see in a future version of Visual Studio? http://snowstormlife.com/blogs/bliz/2082 Thu, 28 Jul 2011 02:03:24 http://snowstormlife.com/blogs/bliz/2082 <p>I just found out about the Visual Studio UserVoice site, located here: <a href="http://visualstudio.uservoice.com" target="_blank">http://visualstudio.uservoice.com</a>. From the site:</p> <blockquote> <p>Welcome to the Visual Studio UserVoice site. Let us know what you would like to see in future versions of the Visual Studio suite of products. This site is for suggestions and ideas. If you need to file a bug, visit the Visual Studio Connect site: <a href="http://connect.microsoft.com/visualstudio" target="_blank">http://connect.microsoft.com/visualstudio</a>. <br />&#160; <br />We look forward to hearing from you! <br />&#160; <br />Thanks – Doug Turnure <br />Visual Studio Team </p></blockquote> How to: Visual Studio web performance tests - not using Internet Explorer http://snowstormlife.com/blogs/bliz/2081 Wed, 18 May 2011 02:01:54 http://snowstormlife.com/blogs/bliz/2081 <p>A client asked me how to create and run Visual Studio web performance tests using something other than Internet Explorer. (His web app only runs in a particular browser, and it’s not IE.) Here’s my answer. </p> <p><b><font size="4"></font></b></p> <p><b><font size="4">Recording a web performance test using a browser other than Internet Explorer</font></b></p> <p>The Web Test recorder in Visual Studio is going to open up Internet Explorer for recording. Period. </p> <p>If you want to use some other browser (I used Firefox in my example) as the recording environment instead of Internet Explorer, you can use Fiddler 2.0 (<a href="http://www.fiddler2.com/fiddler2/" target="_blank">http://www.fiddler2.com/fiddler2/</a>) to capture the HTTP traffic. Once you’ve gone through the web user scenario in the browser of your choice, in Fiddler go to File &gt; Export Sessions &gt; All Sessions . . . &gt; Select Export Format &gt; Visual Studio Web Test </p> <p><a href="http://snowstormlife.com/images/011c52310505_C012/clip_image005.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image005" border="0" alt="clip_image005" src="http://snowstormlife.com/images/011c52310505_C012/clip_image005_thumb.jpg" width="244" height="159" /></a><i> <br />Fiddler 2.0 captured the HTTP traffic generated from Firefox browser. I’m about to export it.</i></p> <p>Then in Visual Studio, open the webtest file you exported from Fiddler. </p> <ol> <li>In VS, create a test project </li> <li>Right click on the test project &gt; Add &gt; Existing item . . . </li> <li>Browse to the webtest file you exported from Fiddler (make sure your filter is set to “(*.webtest)” as shown below) <br /><a href="http://snowstormlife.com/images/011c52310505_C012/clip_image006.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image006" border="0" alt="clip_image006" src="http://snowstormlife.com/images/011c52310505_C012/clip_image006_thumb.jpg" width="244" height="148" /></a> </li> <li>Select your webtest file and open it. </li> </ol> <p>Here’s the webtest file I created using Fiddler and Firefox, opened in Visual Studio. Looks kind of normal, doesn’t it?</p> <p><a href="http://snowstormlife.com/images/011c52310505_C012/clip_image007.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image007" border="0" alt="clip_image007" src="http://snowstormlife.com/images/011c52310505_C012/clip_image007_thumb.jpg" width="244" height="100" /></a></p> <p><b><font size="4"></font></b></p> <p><b><font size="4">Running a webtest using a browser other than Internet Explorer</font></b> </p> <p>In a web performance test, you can change the Browser type for an individual run, but that setting is not permanent. It resets to the default after the test completes. </p> <p><a href="http://snowstormlife.com/images/011c52310505_C012/clip_image002.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://snowstormlife.com/images/011c52310505_C012/clip_image002_thumb.jpg" width="244" height="155" /></a><i> <br />Changing the browser type for an individual web test run</i> </p> <p>If you want to make the change effective across multiple runs, you need to change the test settings via Test &gt; Edit Test Settings. See images below. These changes will be saved until you change them again. Note: you can have multiple testsettings definitions. For more info about testsettings, see: <a href="http://msdn.microsoft.com/en-us/library/ee256991.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ee256991.aspx</a>. You need to be sure which testsettings file you’ve set to active. That’s managed from Test &gt; Select Active Test Settings. </p> <p><a href="http://snowstormlife.com/images/011c52310505_C012/clip_image003.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image003" border="0" alt="clip_image003" src="http://snowstormlife.com/images/011c52310505_C012/clip_image003_thumb.jpg" width="244" height="89" /></a> </p> <p><a href="http://snowstormlife.com/images/011c52310505_C012/clip_image004.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://snowstormlife.com/images/011c52310505_C012/clip_image004_thumb.jpg" width="244" height="180" /></a><i> <br />Changing the browser type “permanently”</i></p> <p>Here’s the web test, paused just before running, showing Firefox 2.0 is the browser type:</p> <p><a href="http://snowstormlife.com/images/011c52310505_C012/clip_image008.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image008" border="0" alt="clip_image008" src="http://snowstormlife.com/images/011c52310505_C012/clip_image008_thumb.jpg" width="244" height="131" /></a></p> <p>And here’s the test run after completion. (Notice that I ran my test against my local TFS instance?)&#160; :)&#160; </p> <p><a href="http://snowstormlife.com/images/011c52310505_C012/clip_image009.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image009" border="0" alt="clip_image009" src="http://snowstormlife.com/images/011c52310505_C012/clip_image009_thumb.jpg" width="244" height="220" /></a></p> <p>It’s as easy as that.</p> <p>Additional background information regarding the Web Performance Test Engine: <a href="http://msdn.microsoft.com/en-us/library/ff520100.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ff520100.aspx</a></p> <p>Hope this helps!</p> <p>-bliz</p>