MVVM Light is going to VS Live!
I am very excited to talk about Xamarin and MVVM Light at VS Live in Las Vegas this year. I have two sessions:
An Overview of the Xamarin Programming Platforms
The majority of software code on Windows is developed in .NET and C#. The tools and languages provided by Microsoft are unmatched in terms of productivity to create applications, from rich desktop suites to small fluid mobile apps. You can reuse your skills, tools, language and even design on each platform. The big sensation these days is Xamarin. This lets you use .NET to create fully native apps on iOS and Android. In this session, Laurent Bugnion will show you how to get started with Xamarin and what you need to create apps on all these platforms.
You will learn:
- How to get started with Xamarin application development.
- Everything you need to know about choosing the right emulators, configuring the environment, etc.
- How Xamarin applications are architected and developed.
This is an introductory level session but is the perfect introduction to the next session which will be much more advanced:
Building Cross-Platform Applications with XAML, Xamarin, Xamarin.Forms and MVVM Light
MVVM Light is a popular open source toolkit that’s been used in thousands of production XAML applications since 2009. It consists of components, snippets, templates and guidance, and has a strong community of followers. Now, MVVM Light is available for Xamarin and Xamarin Forms too! Join Laurent Bugnion, the author of MVVM Light, as he talks about the toolkit and the MVVM architecture and demonstrates how with these tools, you can improve your development workflow.
You will learn:
- How the most popular MVVM toolkit can be used to build true native applications on multiple platforms.
- What the MVVM pattern brings to Xamarin development.
- The new Xamarin Forms platform allows for building the user interface once and running it on multiple platforms.
These two sessions should bring you up to speed from scratch to advanced cross-platform development, and hopefully give you a good taste of what Xamarin can offer for your applications. I hope to see many of you at VS Live!
A Pluralsight course titled MVVM Light Toolkit Fundamentals is available! This is the best place to start and learn all about the toolkit.
The course will give you a full overview about each component of the MVVM Light Toolkit. In addition it will show a lot of samples for each of the components. The full course features 6 modules for a total of 4 hours and 30 minutes.
- Module 1: Introduction to MVVM
- Module 2: Refactoring the app to MVVM
- Module 3: The Core Components
- Module 4: The Extras
- Module 5: Installing the MVVM Light and Additional Components
- Module 6: Advanced Examples With MVVM Light
The main purpose of the toolkit is to accelerate the creation and development of
MVVM applications in WPF, Silverlight, Windows Store (RT) and for Windows Phone.
The MVVM Light Toolkit helps you to separate your View from your Model which creates applications that are cleaner and easier to maintain and extend. It also creates testable applications and allows you to have a much thinner user interface layer (which is more difficult
to test automatically).
This toolkit puts a special emphasis on the "blendability" of the created application (i.e. the ability to open and edit the user interface into Blend), including the creation of design-time data to enable the Blend users to "see something" when they work with data controls.
There is documentation about the MVVM pattern and the MVVM Light Toolkit available here.
Installation and Creation
The MVVM Light Toolkit installation procedure (for the full package) is described here.
To create a new MVVM Light application, check this article.
If you prefer to use Nuget to add MVVM Light to an existing application, see this page.
To see the latest release notes, see this page.
Source code and Codeplex
The source code for the libraries is available on the
Codeplex site for the MVVM Light Toolkit
. This is also a good place to post
suggestions/remarks/questions/discussions about the toolkit.
This article describes how to get the latest and greatest code from the Codeplex repository, and build the assemblies. It also shows how to run the unit tests in Visual Studio and how to install the new assemblies over an existing version.
We encourage the use of
for questions regarding MVVM Light Toolkit. StackOverflow
is an awesome site for questions related to programming. There is a huge community
of developers answering questions there. Please use the tag mvvm-light
to tag your questions.
If you are so enclined, you can donate to MVVM Light Toolkit.
Or, if you prefer, you can pay me a beer next time we're in the same vicinity.
Really, it is OK too :)
The creation of this toolkit would not have been possible without the following
created the RelayCommand and gracefully allowed me to integrate it with very minor
changes inside the toolkit and to distribute it. He is also my "go to guy"
when I have issues (with my code, I mean).
started mentioning using a mediator pattern to communicate between ViewModels. This
discussion led me to create the Messenger class.
had numerous discussions with me regarding the creation of ViewModels and gave me
food for thoughts...
helped me finalize some thoughts and sparked a lot of new ones. He also gave me
great motivation to write this toolkit, and is an early tester and reviewer of the
gave me a lot of fantastic feedback and ideas for new features
or improving existing features, and was one of the very active early testers.
was often here to keep me company in the wee morning hours, to talk about the direction
and features of the toolkit, and gave me very valuable feeback.
His team at Innoveo
is using the MVVM Light Toolkit in
their new WPF application, and very supportive when it comes to improving and testing
the latest versions!
Brian Henderson and
helped test early versions and
gave precious feedback and suggestions to improve the features.
helped me with an issue and suggested I use a hack to solve it.
"I think you can
safely say the worse line of code in your toolkit is my one :-)"
for the MANY discussions we had around the pattern
and the best way to implement it in various situations.
Praises about the MVVM light toolkit
- MVVM Light Toolkit is simply awesome - @robymes
Taking @LBugnion's MVVM Light Toolkit for a spin. Effing A! Totally easy. Mad props.
#MVVM Light Toolkit is pretty nice. Light and to the point! Fills in all the gaps
we struggle with usually :) - @HydroMan
I have been using #MVVM Light Toolkit by @LBugnion for a while now. It's light on
features, but still functional and very useful -
@LBugnion is taking out some of the monotony of implementing MVVM http://digg.com/u15wEj
with MVVM light toolkit, the monotony killer :-) -
Just got the MvvmLight toolkit, looks great, good work! -
just want to say I love mvvm lite. I love the mediator pattern you have. I use it
evrywhere to decouple b/n view & vm interaction -
The Mvvm Light toolkit v3 alpha 2 by @LBugnion
is very good. - @gulrog
Agreed...your EventToCommand code is very, very useful. Already plugged it in and
stripped out the old way I was doing it. - @DanWahlin
Tweaking my RIA/MVVM app, I think I have fallen in love with MVVM Light's Messenger,
a little too much... - @ShawnWildermuth