MVMV Training combines in-depth written guidance with full-featured how-to code examples. MVVM Training is a Visual Studio 2010 Feature Extension and is part of the In the Box training series by Karl Shifflett.
Excellent MVVM training and guidance, there are so many misleading MVVM articles out there and Karl's articles are clear and concise. It would be nice if the samples were in VB.NET too, I've been looking at Ocean which seemed like a nice light framework, Prism seems too much although you don't have to use the whole framework, I think lot of people looking at the MVVM design pattern for the 1st time get caught up in the framework element.
Karl, Is the version of Ocean (V3) planned for 2010 going to be released or have you decided to leave Ocean as it is, I gather your involved in Prism now ?
Anyway, keep up the great work, MVVM is a nightmare TBH, I thought evaluating ORM's was a pain but MVVM has been driving me nuts :) although I recognised a while back that code behind with WPF for large scale LOB apps can become un-maintainable although I don't see why code that purely is for UI control extension (such as a Telerik carousel which requires code behind to get the behaviour you want) would ever need to be in the ViewModel.
Fired up a new in the box project but the initial build failed with the following errors...
Am I missing a pre-requisite or do i need to update my copy if prism which i downloaded and installed with the intention of learning but have done absolutely zip with!!!
Error 3 The tag 'Interaction.Triggers' does not exist in XML namespace 'http://schemas.microsoft.com/expression/2010/interactivity'. Line 38 Position 26. C:\WPF\MVVMTraining1\MVVMTraining1\Acme Common\Acme.Prism\InteractionRequest\ConfirmationLocalModalInteractionDialog.xaml 38 26 Acme.Prism
Error 4 The tag 'Interaction.Triggers' does not exist in XML namespace 'http://schemas.microsoft.com/expression/2010/interactivity'. Line 37 Position 22. C:\WPF\MVVMTraining1\MVVMTraining1\Acme Common\Acme.Prism\InteractionRequest\NotificationLocalModalInteractionDialog.xaml 37 22 Acme.Prism
Error 9 The tag 'Interaction.Triggers' does not exist in XML namespace 'http://schemas.microsoft.com/expression/2010/interactivity'. Line 27 Position 10. C:\WPF\MVVMTraining1\MVVMTraining1\04 MVVM Scenarios\Acme.MVVM.Scenarios\Views\DialogInteractionRequestView.xaml 27 10 Acme.MVVM.Scenarios
Open the vsix file with 7 zip. Open the extension.manifest file and locate the following line:
Change <VisualStudio Version="10.0"> to <VisualStudio Version="11.0">.
Then use 7-zip to zip the file back. Change the extension to vsix. You now should be able to install the extension.
I love your concept and am a late starter in MVVM but love what I am learning and was hoping to get a big start with MVVM In the Box but every title I click tries to save the .MHT file and from what I get from forums, IE 9 and maybe IE8 no longer support MHT files. Any thoughts? Thank you for your efforts, I am reading a lot of your work whie trying to get up to speed on MVVM (I'm also trying to learn WPF as well :)
The installation happened successfully. But when I try to open VS2010 I get the error:
"Feature Builder Runtime - The environment variable LocalAppData must be manually configured for Win XP...."
and yes, mine is a Win XP machine. So how do I configure it?
I does not install. This is the log:
22.03.2011 15:15:02 - Er wird nach passenden Produkten gesucht...
22.03.2011 15:15:02 - Installiertes Produkt gefunden - Microsoft Visual Studio 2010 Professional
22.03.2011 15:15:02 - Die Erweiterung mit der ID InTheBox.MVVMTraining wird nicht für Microsoft Visual Studio 2010 Professional installiert.
22.03.2011 15:15:04 - Folgende Zielprodukte wurden ausgewählt...
22.03.2011 15:15:04 - Microsoft Visual Studio 2010 Professional
22.03.2011 15:15:04 -
22.03.2011 15:15:04 - Die Installation der Erweiterung für Microsoft Visual Studio 2010 Professional wurde gestartet...
22.03.2011 15:15:05 - Installationsfehler: System.IO.PathTooLongException: C:\Dokumente und Einstellungen\UserName\Lokale Einstellungen\Anwendungsdaten\Microsoft\VisualStudio\10.0\Extensions\Karl Shifflett\MVVM Training\1.2\P\In the Box\MVVMTraining.zip: Acme.Prism/interactionrequest/confirmationlocalmodalinteractiondialog.xaml.cs
at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.BeginInstall(IInstallableExtension installableExtension, Boolean perMachine, AsyncOperation asyncOp)
at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallWorker(IInstallableExtension extension, Boolean perMachine, AsyncOperation asyncOp)
I fails because of an System.IO.PathTooLongException. Any idea to circumvent this problem?
Each person learns at their own pace. Reading the material is a few hours. But learning the concepts and then applying those concepts to your scenario is what takes longer. This training will help.
Sorry it took longer to reply, I've been sick the last 10 days.