Feeds

Get stuck in to Visual Studio 2008

LINQ big, better teamwork needed

Build a business case: developing custom apps

Further, Microsoft itself has muddied the waters by declaring that WPF is not suitable for line-of-business applications. According to Microsoft technical product planner Glenn Block: “Win Forms is the recommended breadth solution for LOB application development for the foreseeable future.”

Issues include maturity, the range of available controls, and the difficulty in migrating from Windows Forums to WPF. Honesty is commendable in this business, especially from Microsoft, but - really - this is not a great way to sell your new technology.

Peter Lindsey, managing director of Infragistics Europe, a partner selling components for both WPF and Windows Forms, told me recently at TechEd Barcelona that Microsoft’s caution is slowing WPF adoption. “Microsoft, in trying to capture credibility within the media market, has poorly represented the value of WPF to business application developers.”

The risk is that with attention shifting to cross-platform, internet applications, WPF will never achieve mainstream adoption. Silverlight, a lightweight cross-platform implementation of WPF as a browser plug-in, is attracting more attention. Unfortunately with Silverlight we are back in the world of preview bits. The release of most interest to developers, which includes a cross-platform .NET runtime, is not expected until late 2008.

Still, now we have a proper XAML designer in Visual Studio and it is an impressive piece of work, especially when combined with Expression Blend.

Language innovations

Visual Studio 2008 also offers support for language innovations in C# and Visual Basic. The headline feature is LINQ - Language Integrated Query - but there are several other changes that are part of the plumbing behind LINQ and that are also more useful in general. One example is type inference, where the type of a variable is inferred from the value to which it is initialized.

In C#, you use the var keyword:

var s = "Reg Developer";

gets you a strongly-typed String variable.

The Visual Studio editor fully understands var, and gives you IntelliSense features like word completion and so on. Type inference is addictive, if only because it saves typing and de-clutters your code. Another neat feature is extension methods, which let you extend types with static methods that are called like instance methods. The value of the instance is passed to the static method, so it has some knowledge of the instance but does not break encapsulation. Other additions include anonymous types and Lambda Expressions, used heavily by LINQ.

Maximizing your infrastructure through virtualization

Next page: Web applications

More from The Register

next story
Whoah! How many Google Play apps want to read your texts?
Google's app permissions far too lax – security firm survey
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
Do YOU work at Microsoft? Um. Are you SURE about that?
Nokia and marketing types first to get the bullet, says report
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Big Blue Apple: IBM to sell iPads, iPhones to enterprises
iOS/2 gear loaded with apps for big biz ... uh oh BlackBerry
OpenWRT gets native IPv6 slurping in major refresh
Also faster init and a new packages system
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Mobile application security vulnerability report
The alarming realities regarding the sheer number of applications vulnerable to attack, and the most common and easily addressable vulnerability errors.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.