The One With

New WPF MVVM Scaffolding Wizard (released in v2013.1)

When developing WPF applications, the most commonly used and the most suitable architecture pattern is MVVM. The MVVM pattern is flexible and extensible. It is specifically designed to separate business logic and data layer from the user interface, thus keeping the application code clean and maintainable.

Let’s consider a typical MVVM architecture, illustrated below:

WPF MVVM Pattern

The challenging and, the most time consuming part in implementing this, would be writing all the plumbing for it. Just imagine a scenario where you have to deal with 20 or more data tables. For each table you would have to manually create your models and define their dependencies. And not only that... you would also have to spend time on implementing INotifyPropertyChanged, error handling and so many other minute details that it would take you away from actually building the app that you need.

To help with this laborious task, we created a Scaffolding Wizard. The idea is simple, help developers to create clean MVVM style applications fast. You start with providing your data tables by selecting them from a list, and the rest of the code is generated for you automatically.

Scaffolding Wizard will generate everything for you, from data loading and saving to error handling and synchronization.

From the above shown pattern, this first release supports the following flow, with the rest to come in the upcoming releases:

WPF MVVM Pattern

In addition to this, we have abstracted many MVVM scenarios into a DevExpress.Xpf.MVVM assembly, to help with Attached Behaviors, Services, Notification Services more.

To see all the Scaffolding Wizard in action please check out this video:


DevExpress WPF MVVM Scaffolding Wizard

A step by step by step tutorial could be found here:



Published Jun 14 2013, 01:14 AM by
Filed under: , ,
Bookmark and Share


Klaus Ewinger

Does this also support a 3-tier architecture where the Enity Framework is part of a WCF service layer? Or is this 2-tier only?

June 14, 2013 4:37 AM

Alexander (DevExpress Support)

Hi Klaus,

No, Scaffolding Wizard does not support this scenario at the moment. However, we are working on improving Scaffolding Wizard, so it is likely that we support the 3-tier architecture in the future. You can add the ticket to your favorites to be notified about our progress.

June 17, 2013 4:01 AM

Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at or call us at +1 (818) 844-3383


DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, Delphi, HTML5 or iOS & Android development. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2018 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners