Book Spotlight: Visual Studio 2008 Unleashed
Visual Studio 2008 is the primary development tool for .NET developers and ships in version targetted at the differing roles on a development team. Lars Powers and Mike Snell authored Visual Studio 2008 Unleashed, published by Sam's Publishing. Along with the following dialogue, InfoQ has been provided the following chapter excerpt: Chapter 10 - Debugging.
InfoQ: What are the main goals of your book, Visual Studio 2008 Unleashed?
Lars: I think the main goal of our book is to simply educate developers about the huge breadth and depth of capabilities of Visual Studio. I personally work inside of Visual Studio most every day, and I am still finding little feature gems that I never knew existed, or features that I never quite knew how to exploit to their fullest potential. The hope is that someone can either dive deep into a subject that interests them (such as refactoring, debugging, or maybe one of the Visual Studio Team System modules), or read the book cover to cover to get the best sense for everything this tool has to offer. Put simply: we want developers to have the knowledge necessary to really wring out every last ounce of productivity from this IDE.
InfoQ: Which chapter was the most difficult to author? Why?
Mike: Chapter 20, Embedding Workflow in Your Application, was a challenging chapter for me to write. This is a new topic for Visual Studio developers. It is also a big topic. It was clear from the start that like chapters on ASP.NET, working with databases, and Windows forms, an entire book could be dedicated to this single topic. However, the challenge with a book like this is to get enough useful information packed in a single chapter to get developers producing applications using this technology. Therefore I focused this chapter on answering the questions I had when first exploring Windows Workflow, like, “How does this work? What are the pieces of a workflow application and how do they work together to form a solution?” Once that was established I simply dug into the Workflow toolbox and built out a couple real-world scenarios for workflow applications. I think this gets developers well over the hurdle of building applications with Windows workflow. From here, they should have enough of a foundation to know how to fill in any gaps that are specific to their actual scenario.
InfoQ: Recently J# was dropped as a first class language in Visual Studio, thoughts?
Mike: I am not sure people appreciate the costs that go into supporting a language for Visual Studio. Typically this means a team of people to manage and support the language. It also means writing example code, help file code, and more. In addition, given the rich set of templates and code-generators that ship with Visual Studio, developers expect that first-level languages each have a similar experience. This means templates and code generators for things like ASP.NET, Windows Workflow, WPF, WCF, WinForms, and more. In addition, this means an eco-system for training, certification, user forums, and more. It starts to add up. As a developer you have to ask yourself if you would prefer to see this money invested in pushing .NET development forward or trying to keep up with multiple languages. The same is true for having to support both C# and VB—you have to do everything twice.
Microsoft has indicated support for the existing J# through 2015. In addition, the usage of J# has declined significantly. It was good tool for moving between Java and .NET. However, new development done in .NET is being done in either C# or VB. This data coupled with the costs to support J# makes Microsoft’s decision a sensible one to me.
InfoQ: Where are you expecting enhancements in regards to compatibility of Visual Studio and the Expression line of products?
Lars: I’m not sure compatibility is the right word to use here; after all, Expression Blend and Visual Studio already use the same project file system, render/edit the same XAML files, etc. This is all working great today. Going forward, I think we’ll see the Visual Studio WPF designer (previously known as “Cider”) get a lot better in terms of WYSIWYG development, and we’ll hopefully see some of the rough edges get a bit more polish. For instance, I for one will be happy to see the designer be a little more forgiving with XAML and child control changes so I’m not constantly treated to “Click here to reload” messages. And hopefully, we’ll see Expression Blend start to mature a bit in terms of its XAML editing (Intellisense, formatting options, etc.) and participation in the developer/designer workflow (can we please have version control integration?)
InfoQ: ASP.NET has received numerous minor version additions since the initial release of version 2.0, when can we expect a new major release?
Mike: I think there have been some big advances with ASP.NET since 2.0. The strong support for AJAX programming is one of the biggest. However, you can add to that support for building better SOA solutions using WCF, integration of Windows Workflow and ASP.NET, LINQ support, and much more. In addition, the ASP.NET ecosystem of control tool vendors has never been stronger. If you are building browser-based web applications it’s hard to find a better platform. That said, I think you already can see the next major push for Microsoft and their web strategy (ASP.NET or otherwise). It’s called WPF and Silverlight. This is a new, exciting model for the web developer needing to build very rich user interfaces that work with web servers. There may indeed be another major revision of ASP.NET, however, I look for new technologies like Silverlight to have a bigger overall impact on web development for the next few years.
InfoQ: Compare and contrast the value of RIAs vs. Windows applications built in WPF, which do you prefer?
Tiago Romero Garcia Mar 01, 2015
How Can We Use Our Creative Power and Technological Opportunity to Address the Challenges of the 21st Century?
Gyorgyi Galik Feb 26, 2015