Simple clear advice in plain English

Hands on: Visual Studio 2008

Find out what’s new in Visual Studio 2008

Microsoft has released Visual Studio 2008 beta 2, which it says is close to feature-complete. The full version is promised before the end of 2007.

It’s a significant product, if only because most Windows development is done with Visual Studio ­ whether the free Express editions or the high-end Team Suite.

So what’s new in this version? At a language level, there’s Language Integrated Query (Linq). It is a confusing subject, but Microsoft claims, with some justification, that it makes programming easier.

WPF adoption
Next, there is proper support for Windows Presentation Foundation, the new XML-based user interface for Windows. The XML language behind WPF is called XAML. WPF was introduced along with Windows Vista at the end of 2006. It improves on the old Win32 API in many ways, though it is less efficient. In particular, it is better for integrating multimedia, scales well for different sizes and resolutions, and is more designer-friendly when you want a highly customised user interface.

WPF has not been widely adopted to date, for various reasons. First, it has high system requirements, requiring at least Windows XP with .Net Framework 3.0, and WPF applications tend to be memory-hungry. Second, there was no true WPF support in Visual Studio 2005. Visual Studio 2008 corrects that, though it does not fix the high system requirements

In fairness, my quick tests show that a WPF application is only a little worse than a Windows Forms application in terms of memory usage, though these are also notorious memory hogs. It is also possible that Microsoft will improve performance in the final release of Visual Studio 2008, which includes an update to the .Net Framework version 3.5.

WPF applications are a refreshing change from the standard Windows look and feel, and seem to encourage more effective visual designs. A recent sample application called Family.show illustrates this (pictured above).

This genealogy application looks more like a Flash movie than Windows software. The controls are customised, the visuals are strong, complete with shadow effects, it scales well when you resize the main window, and it makes heavy use of the mouse. The application offers a viewport onto a large virtual canvas, which you explore by scrolling and zooming. There is probably nothing that could not be simulated in Win32, but it would take more effort to do so.

A snag for the graphically challenged is that you cannot code an application such as Family.show without design skills. WPF is supported by the Expression design tools, especially Expression Blend, which is the XAML designer. The same project files can be opened in both tools.

Reader Comments

LINQ resources

Good in-depth review. Your readers might be interested to know that there are LINQ to SQL virtual labs on http://www.microsoft.com/events/series/msdnvs2008.aspx for hands-on experience.

Posted by Fred, 06 Mar 2009

   

Add your comment

All fields must be completed. Your email address will not be displayed or used to send marketing messages.

All messages will be checked by moderators before appearing on the site.

See our Privacy Policy for more information.

Related articles

freemake-music-box

Listen to music online with Freemake Music Box

Search for music online and play it from one handy program

Hands on: Virtual Basic in 2008

Find out what the new year holds for Visual Basic programmers

Hands on: The future of C# and Delphi

A tour round the next versions of these developer tools

Question & Answer

Q.Why are some of the keys on my keyboard doing strange...

> Read the answer

Q.Is my phone’s Bluetooth any use?

> Read the answer

Q.Can I switch boot drives so that I can work on older...

> Read the answer

Best deals on the web

img

Samsung RV520-A07

£359.98- Buy it now

img

Acer Aspire 5750G (LX.RXP02.019)

£399.99- Buy it now

img

Apple MacBook Pro (MD313B/A)

£904.37- Buy it now

Latest issue & subscription deals

Poll

Are you concerned about viruses that target mobile phones?

Jargon Buster

Computing terms explained in plain English

Virtual drive

A set of files seen by Windows as a separate hard disk.

Great shopping deals from Computeractive