WPF Application with WPF Application Framwork (WAF)

The WPF Application Framework (WAF) is a lightweight Framework that helps you to create well structured WPF Applications. It supports you in applying a Layered Architecture and the Model-View-ViewModel (aka MVVM, M-V-VM, PresentationModel) pattern.





Architecture




Features
  • WPF Application Framework (WAF)


    • M-V-VM: Contains base classes that help you to implement the Model-View-ViewModel Pattern.
    • DelegateCommand: The DelegateCommand allows you to handle WPF commands in other classes than the View.
    • INotifyPropertyChanged: The base classes implement the INotifyPropertyChanged interface. This implementation checks the property name string in DEBUG mode.
    • WeakEvent: The base classes support the WeakEvent Patterns of WPF. (Note: WPF uses the WeakEvent Patterns instead of the IDisposable interface)
    • Services: Provides services to show a message or the open/save file dialog to the end user.
  • Unit Testing Extensions


    • Exceptions: The ExpectedException method test if an action results in a specified exception.
    • PropertyChanged: Provides a helper method to test if a property changed event is raised when a specific action is executed.
    • CanExecuteChangedEvent: A helper method to test if a CanExecute changed event is raised when a specific action is executed.
  • Samples
    • ViewModel: A simple Email Client application that shows how to use the M-V-VM Pattern.
    • Localization: Shows a simple way to localize a WPF application.
    • ShortcutKey: Demonstrate a workaround to bind a DelegateCommand to a KeyBinding (Note: Fixed in .NET 4.0).
    • Writer: A simple word processing application which uses a “tabbed MDI” as user interface. This sample shows how to use the Message and FileDialog service.
    • BookLibrary: Shows how to use the Entity Framework and Validation together with the MVVM pattern.
for more info click here

source : http://waf.codeplex.com/ , MSDN Flash


0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by Blogger