Product Reviews

Upgrading to Visual Studio 2010 SP1

Assuming you don't have any beta software installed, what will you get when you apply service pack 1 to your copy of Visual Studio 2010?

In a world where beta software is now considered merely the first step in a new product's rollout (and sometimes comes with a Go Live license), Visual Studio 2010 SP1 was a reminder that beta software isn't good for production systems. Many developers who had installed the Async community technology preview (CTP) or LightSwitch beta on their production machines found that applying the service pack made Visual Studio sad. However, if you haven't installed anything suspect on your computer, your Visual Studio 2010 SP1 release should be painless. If you're using SQL Server Management Studio R2, you'll lose IntelliSense support until you install SQL Server 2008 R2 Cumulative Update 7 (CU7), which was due in mid-April. But enough about what you lose. What will you get from Visual Studio 2010 SP1?

First, numerous bug fixes. Overall, Visual Studio should be more reliable and more stable. I've seen none of the "odd lockups" that I encountered during my original review of Visual Studio 2010 in the June 2010 issue of VSM ("Upgrading to Visual Studio 2010"). Overall, things will get better with the update.


[Click on image for larger view.]
Figure 1. Integrating IIS Express: Right-clicking on a Solution and selecting Use IIS Express reloads the solution with new properties that support IIS Express.

This first service pack updates platform support, bundling the Silverlight 4 tooling that developers previously had to download separately. By default, Visual Studio supports Razor in any ASP.NET page. But will non-ASP.NET MVC developers want to incorporate server-side code into their .aspx files? Some initial support for HTML5 and CSS3 is included, but it's only laying the foundation for HTML5/CSS3 tools still in the pipeline.

There is some more useful functionality, however -- Help, for instance. Now that Visual Studio 2010 can launch Help within a developer's lifetime, Microsoft has started to make Help truly functional. There's a page-context menu, a toolbar and a Find function that works within a page. You may even start pressing the F1 button intentionally.

For Web developers, Visual Studio now supports multiple IIS configurations -- which really means that Visual Studio supports testing with IIS Express. There's nothing wrong with the Visual Studio Development Server, but it's only "almost" IIS. IIS Express is a much closer experience to your actual production environment.

With Visual Studio 2010 SP1, a DLL can run unchanged on the "real" Microsoft .NET Framework 4 CLR and the portable libraries: Xbox, Silverlight (4 and 5) and Windows Phone 7. Because IDC estimates that Windows Phone will have 21 percent of the smartphone market by 2015 (thanks to Microsoft's alliance with Nokia), developers will have an easier time moving into what could be a very big market. Visual Studio 2010 SP1 also makes it a lot easier to add or remove the compact frameworks (and ASP.NET MVC) from deployment packages.

There are a lot of little presents in this service pack. XAML developers will see some IntelliSense improvements. Silverlight developers get some enhancements for debugging, profiling, working with implicit styles, and out-of-browser windows. The new support for unit testing .NET Framework 3.5 projects is a big deal, as it enables test-driven development for the previous versions of the Framework.

There's nothing earth-shattering with this service pack update, but it's all good. And it all works better.

Visual Studio 2010 SP1

Microsoft
Web:
microsoft.com/visualstudio
Phone: 877-696-7786
Price: Free
Quick Facts: The first Visual Studio 2010 service pack helps stabilize Visual Studio and throws in some nice features for practically every type of .NET developer
Cons: If you've installed any beta software or technology previews, you'll probably be sorry; SQL Server Management Studio users will also need to install Cumulative Update 7



About the Author

Peter Vogel is a system architect and principal in PH&V Information Services. PH&V provides full-stack consulting from UX design through object modeling to database design. Peter tweets about his VSM columns with the hashtag #vogelarticles. His blog posts on user experience design can be found at http://blog.learningtree.com/tag/ui/.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube