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.
I am a Trainer for some years and I can only recommend this to anybody who wants to learn how MVVM is functioning and and what are the thoughts behind.
You know what you are takling about and how to enable others to understand the subject practically.
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.
An excellent way to learn MVVM without the need to reference several web pages. The built in links between the description and the actual code is great.
Having tranining inside of Visual Studio makes it very easy to learn. I had some issues with the links in the guidence browser, but overall this is awesome!
Hi Karl,
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?
Thanks,
Priya.
Hey Karl,
thanks for the hard work you spend on this extension.
I'm just wondering if you plan to upgrade your extension to support Visual Studio 11 (Beta)?
Looking forward to your reply!
Cheers, Kai
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?
I'm planning new version with additional features. When I ship this, I'll rework the project to shorten up the file names.
Sorry you are having this problem.
Karl
Sorry for the late comment, but... Karl, did you try using the Long Path from the .NET Base Class Libraries? (http://bcl.codeplex.com/releases/view/42783)
Cheval,
It's not my code that has the problem,its Visual Studio.
To solve this, I'll need to shorten file name and remove some folders.
Thank you for the tip,
Karl
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!!!
Cheers
Pete
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
Have you installed the Expression Blend 4 WPF SDK?
It's a free download. See my blog post here: http://karlshifflett.wordpress.com/2010/11/07/in-the-box-ndash-mvvm-training/
Karl
Hi,
I have the exact same problem. Get the same errors on first build.
I have installed the Expression Blend 4 WPF SDK.
What do you think is wrong?
/Jorgen
Hi Karl,
thx for your cool stuff. I have the same problems. But installing "Expression Blend 4 WPF SDK" and a rebuild of the project map solve the problems.
thx alot
Reiner
This looks like an excellent tool for my team to learn the MVVM pattern. Can you give me a fair estimate of how much time it would take to work through?
Regards,
James
James,
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.
Karl
This is great! Congrats, i'am eager for the In The Box Prism...
I have an issue when click a hyperlink, my default browser is Chrome (in windows and in VS), but the page opens in internet explorer. What can i do to open it in my default browser?
Thank you for reporting this.
What you are seeing is at least functionally correct.
The content in In the Box is being displayed in the Internet Explorer Browswer control. So, when a hyperlink is clicked inside the content, its navigating to another page.
One advantage of using this technique is that I can specify the TARGET property on the anchor tag. This prevents multiple browser windows from opening up after repeated clicks of internal hyperlinks.
I hope this explains at least why this is happening.
Thank you for the feedback and have a super day,
Karl
Hi Karl
Thank you for the clarification, I think it would be worthwhile to correct the following line in the "In the box" node chapter:
"When a hyperlink to the Internet is clicked, the default browser will open and navigate to the target Url."
Greetings!
New to VS & .NET, but experienced with Java. Installed VS2010 Pro on XP vm at work; did the install tweaks for XP as instructed, did the install with no problems.
Started the video as a step-by-step intro, but when the project loads in VS, it gives 2 errors, both related to the file MainWindow.xaml as shown below. Hope you can help, and thanks for your time.
Error 1 Unable to load the metadata for assembly 'Acme.Entities'. This assembly may have been downloaded from the web. See http://go.microsoft.com/fwlink/?LinkId=179545. The following error was encountered during load: Could not load file or assembly 'Acme.Entities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Error 2 Unable to load the metadata for assembly 'Acme.Basic'. This assembly may have been downloaded from the web. See http://go.microsoft.com/fwlink/?LinkId=179545. The following error was encountered during load: Could not load file or assembly 'Acme.Basic' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)