About the course:
Our instructor-led MVVM & Prism training course is aimed at existing WPF / .NET developers who are looking for ways to improve the User Interface development lifecycle. The course includes hands-on exercises with Visual Studio 2012.
Building upon Windows Presentation Foundation, Microsoft's MVVM / Prism decouples the View from the Model - that is, the Interface from the Data and Business Logic.
One of the key benefits of this pattern is that designers can do their thing with the layout, look and feel of the application, while programmers and developers can concentrate on creating the underlying application architecture.
Implementing MVVM / Prism with WPF also allows for a more agile approach to development, as by separating Views, Models, and ViewModels, developers can utilise Unit Testing / Test-Driven-Development practices to continually verify the quality and functionality of the underlying code, before it has been tied to the User Interface.
By the end of this course, you will have learnt:
- The benefits of the MVVM Design Pattern
- Implement MVVM in WPF
- MVVM Light
- What Prism is and when to use it
- Use Prism to develop WPF apps
- Combining MVVM and Prism
- Additional Prism Techniques
Who should attend
.NET Developers and architects who need to get hands-on experience implementing the MVVM pattern using WPF and Prism.
Prerequisites
Delegates should have attended our WPF Training Course or have equivalent hands-on experience of developing with Windows Presentation Foundation.
Live, instructor-led online and on-site training
We appreciate that you need flexibility to fit in with new working situations - whether you're an individual, part of a distributed team, or simply have projects and deadlines to meet.
Our remote training can take place online in a virtual classroom, with content split into modules to accommodate your scheduling challenges and meet your learning goals. Get in touch today to find out how we can help design a cost-effective, flexible training solution.
As soon as it's safe, we'll return to also offering the on-site custom training courses and programmes upon which we've built our reputation.
MVVM / Prism Training Course Syllabus
Overview of the MVVM Design Pattern
- About the MVVM pattern
- MVVM Architecture
- Simple Applications
- Defining better structure for large applications
- The Role of the Model
- The Role of the View
- The Role of the View-Model
Implementing WPF Applications using MVVM
- Setting the scene
- MVVM Walkthrough
- Defining a view-model to adapt a model
- Defining a view-model to help a view
- Commands
- Relay Command Class
- Property bindings
Using the MVVM Light Toolkit
Overview of the MVVM Light Toolkit
Obtaining & Installing MVVM Light
- Binaries
- Templates
- Snippets
Creating an MVVM Light application
Implementing Commands
Mapping Events to Commands
Understanding Prism
Overview of Prism
Obtaining & Installing Prism
Key Prism concepts
- Shells and views
- Regions
- Event aggregation
- Dependency injection
- Services
- The Bootstrapper
Implementing WPF Applications using Prism
Overview
Solution organisation
- WPF Project
- Class library project
Shell window
Bootstrapper class
Application class
Module classes
Module views
Using MVVM with Prism
Overview of MVVM support in Prism
Implementing MVVM in Prism modules
Hooking a View to a View-Model
Property-change notifications - the Prism Approach
Commands
- Delegate Command class
- Command Paramaters
Additional Prism Techniques
Navigation
State-based navigation
View -based navigation
Creating composite applications
Multiple regions and views