Desmond File

Blog archive

VSLive! Workshop Spotlights WPF and Silverlight Dev

VSLive! Conference attendees today took in a series of day-long, pre-conference workshops offering explorations of development in SQL Server 2008 R2, Windows Communication Foundatoin (WCF), and Silverlight/Windows Presentation Foundation (WPF). Magenic Principal Technology Evangelist Rocky Lohtka and DotNetMasters founder Billy Hollis headlined the presentation on Silverlight and WPF, detailing a powerful development environment that can be at times inspiring and frustrating.

A good example was Hollis' nifty Master Chief app, which drew applause from the audience. The app lets the user move and size a graphic of the famous Master Chief character from the Halo video game on top of the Windows 7 desktop background. Hollis said he spent days trying to figure out how to create a movable, sizable graphic for the desktop, only to discover that it could be done in exactly one line of WPF code.

Lohtka said Hollis' experience is not atypical. "You could spend hours or days trying to replicate the code, only to realize it is two lines of code in XAML," he said.

Lohtka offered a similar, bittersweet take on databinding in WPF, which he described as superior to any other databinding implementation he has seen. The problem is that the default mode for text control databinding in WPF is two-way, whereas in Silverlight the default is one-way. "You would think almost that WPF and Silverlight were written by different teams," he said. "And in fact, that's true."

Lohtka's solution to this trip wire? Always explicitly set the databinding mode, even if the setting matches the default.

At the end of the day, said Lohtka, there is no substitute for developer experience. He urged developers to get familiar with the quirks, twitches and traps of the development environment. "This is the body of knowledge we have to build up," he said.

Posted by Michael Desmond on 08/02/2010 at 1:15 PM

comments powered by Disqus


  • Microsoft's Lander on Blazor Desktop: 'I Don't See a Grand Unified App Model in the Future'

    For all of the talk of unifying the disparate ecosystem of Microsoft-centric developer tooling -- using one framework for apps of all types on all platforms -- Blazor Desktop is not the answer. There isn't one.

  • Firm Automates Legacy Web Forms-to-ASP.NET Core Conversions

    Migration technology uses the Angular web framework and Progress Kendo UI user interface elements to convert ASP.NET Web Forms client code to HTML and CSS, with application business logic converted automatically to ASP.NET Core.

  • New TypeScript 4.2 Tweaks Include Project Explainer

    Microsoft shipped TypeScript 4.2 -- the regular quarterly update to the open source programming language that improves JavaScript with static types -- with a host of tweaks including a way to explain why files are included in a project.

  • What's Top-Paying .NET Skill, In-Demand Language?

    New tech reports reveal the top-paying .NET skills and most in-demand programming languages in the Microsoft-centric developer landscape.

Upcoming Events