Introduction to MVVM Hands-on-lab

I am happy to announce the release of an “Introduction to MVVM” hands-on-lab, in the form of a Visual Studio 2010 extension. You can download it from the Visual Studio Gallery here. I will be posting additional information (as time permits) on this dedicated MVVM page. The hands-on-lab is intended to be an introduction to…

4

Model-View-ViewModel Toolkit – What happened?

Originally released in 2009, the MVVM Toolkit was intended to be an introduction to the MVVM Pattern. Although a number of people within the WPF team contributed, including John Gossman, the development was primarily done by Ivo Manolov and myself. This blog post, which is probably overdue, is intended to clarify my point of view…

0

Mix 2010 – Silverlight – Windows Phone 7 – Expression Blend – VS 2010

Mix 2010 kicked off on a strong note today, as ScottGu made a number of announcements in his keynote. More details will likely emerge as the Mix 2010 conference progresses, but some of the highlights so far include: Silverlight 4.0 RC available here. Windows Phone platform tools available here. VS 2010 Express Windows Phone Emulator…

0

Custom Controls and UI Automation

We came across an interesting problem a customer hit when trying to write a custom control. The issue was that although the control appeared to work correctly in the application, when it came time to do out-of-process testing using UI Automation (UIA), the newly added functionality of the custom control wasn’t being exposed, and therefore…

7

TestAPI Released!

As part of our effort to make it easier to test applications, we would like to share some of the test technology we use internally on the WPF team with the community. We are making a library available, and although this first release is fairly small, it can already provide value to existing applications. New…

0

Managed Extensibility Framework (MEF)

One of the many announcements made at the PDC was that Visual Studio 10 will be built on top of WPF. In addition, VS will be using MEF as an extensibility mechanism. I just wanted to take a few minutes to explain what MEF is all about. The Managed Extensibility Framework (MEF) is a library…

2

Service Pack 1 released

In case you haven’t heard, the .Net FX 3.5 Service Pack 1 and VS 2008 Service Pack 1 have been released! The VS 2008 Express Edition with SP1 is also available here. In addition to providing bug fixes, the update also includes a number of new WPF features. One of these is the .Net Client…

1

WPF Debugging in VS

If you ever debug WPF elements or use the QuickWatch feature in VS, I suggest you try out Mole. It’s a visualizer similar to Snoop, allowing you to view the visual/logical trees, as well as an extended set of properties, directly from VS. I was particularly impressed by the number of cool features, such as…

2

Commands

If you are trying to write an application in WPF that separates the UI from the underlying business logic (otherwise known as Model-View patterns), you may have noticed that some of the features in WPF don’t always make that easy. Commands are an example of this. Although defining and using a command in Xaml is…

0

User Settings in WPF

It’s been a while since my last post, so I figured I’d write something I just recently had to work on: user settings. In many client applications, you quickly run into the need to store application or user settings. There are a few options on how to do that, some of which are more complex…

14