Open Window, Dialog or Message Box from a ViewModel – part 1

March 25, 2011

Saying that a view-model belongs to the Application layer, and the Application layer doesn't references upper layers, and must not create or use visual objects, how can I open a Window, Dialog or any kind of Message Box on-the-fly, based on some logic triggered by the view or view-model? Well, there are several options doing that, one is using kind of service which encapsulates that, providing an interface, so the view-model don't really work directly with the upper layer or WPF. This solution is somehow problematic since the service should be implemented in the Presentation layer and...

My Visual Studio 2010 SP1 Best Feature – Microsoft Help Viewer 1.1 for

March 16, 2011

As you may already know, Microsoft released the first service pack for Visual Studio 2010. And yes, there are tons of improvements, bug fixes, crash fixes and performance issues. I think SP1 is great for the developers and I really appreciate that.   One of the most annoying and frustrating features came out with Visual Studio 2010 is the poor web-based help center. Up until VS2010 came out we where used to have a great help viewer, and then Boom… it was gone!   Fortunately, the Microsoft Visual Studio Team heard our...

My SDP Session About MVVM + MEF

March 15, 2011

Thank you to all of you who participated in my SDP session "Architecting a Smart Client with MEF and MVVM" today at Crowne Plaza Hotel, Tel Aviv. I really hope that you enjoyed it and learned something new about MVVM and MEF. it was delightful. Feel free to download the Power Point presentation from here, and the source code from here. Also here is a small souvenir for remembering this session. Hope to see you soon in the near future, Tomer ShamamCodeProject
one comment

WPF Course at Canada

March 7, 2011

To all of you guys, participated in the Sela's WPF course at Waterloo, Canada, I want to thank each personally. It was a real pleasure and I really enjoyed training you. Please find here the demos created in class. Feel free to comment this post should you have any questions. Also feel free to PM me using this blog. Hope to see you soon in the near future.CodeProject
no comments