Skip Navigation LinksHome / Search


Results Per Page

Found 140 results for MVVM.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

  • 1
  • 2
  • 3
  • ...
  • 14
Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Jun 08, 2010 (5 days ago)
    Dan Wahlin had the opportunity to work on several real-world Silverlight Line of Business (LOB) applications years and wanted to put together a list of some of the key things he has learned as well as key problems he has encountered and resolved.

    There are several different topics I could cover related to "lessons learned" (some of them were more painful than others) but I'll keep it to 5 items for this post and cover additional lessons learned in the future. The topics discussed were put together for a TechEd talk:

    1. Pick a Pattern and Stick To It
    2. Data Binding and Nested Controls
    3. Notify Users of Successes (and failures)
    4. Get an Agent – A Service Agent
    5. Extend Existing Controls


  • Adventures in MVVM – ViewModel Location and Creation

    0 comments  /  posted by  Silverlight Show  on  Jun 07, 2010 (6 days ago)
    Tags: ViewModels , MVVM , WPF , Silverlight 4 , Brian Genisio
    In this post, Brian Genisio demonstrates how he attaches ViewModels to his Views. And the code to his ViewModelSupport project is available on CodePlex in case you'd like to see how it works along with some examples. 

    My approach to View-First ViewModel creation has evolved over time.  I have constructed ViewModels in code-behind.  I have instantiated ViewModels in the resources sectoin of the view. I have used Prism to resolve ViewModels via Dependency Injection. I have created attached properties that use Dependency Injection containers underneath.  Of all these approaches, I continue to find issues either in composability, blendability or maintainability. 

  • 0 comments  /  posted by  Silverlight Show  on  Jun 04, 2010 (1 week ago)
    Tags: MVVM , Slides , Code , Damon Payne
    As he promised, Damon Payne has published the material from his MVVM talk at Chicago Silverlight Users Group.

    Thanks to everyone who came out last night, there were a lot of good question.  I was pleased to claim victory over Chicago traffic.

    Yes, we did go to Fogo de Chao afterwards.  I’ve been invited back to hit some more advanced MVVM topics or perhaps a “MEF and Silverlight” show.

  • 0 comments  /  posted by  Silverlight Show  on  Jun 02, 2010 (1 week ago)
    Max Paulousky has published the second part of his Silverlight 4 and SEO series.

    In the first part of the article I described the way to implement the deep linking feature in MVVM-based Silverlight application.

    In this post I am going to describe two other important functionalities that  should be implemented to achieve great level of search engine optimization. First on is sitemaps and second one is html content providing.

  • Windows Phone 7 View Model Style Video Player

    0 comments  /  posted by  Silverlight Show  on  Jun 02, 2010 (1 week ago)
    In this tutorial, Michael Washington and Alan Beasley team up to demonstrate the creation of a Windows Phone 7 video player that uses the View Model Style pattern.

    The View Model Style pattern allows a programmer to create an application that has no UI (user interface). The programmer only creates a ViewModel and a Model. A designer with no programming ability at all, is then able to create the View (UI) in Microsoft Expression Blend 4 (or higher). If you are new to the View Model Style pattern, it is suggested that you read Silverlight View Model: An (Overly) Simplified Explanation for an introduction.

  • 0 comments  /  posted by  Silverlight Show  on  Jun 01, 2010 (1 week ago)
    On the Robust Haven site there is a great, very detailed post explaining Isolated Storage and how to use it in Silverlight with a generic repository.

    Isolated storage is a file system. It is called "isolated" because it is rooted to a specific directory which provides the sandbox required for browser security. [...]

    Creating a base generic repository allowed me to centralize common IsolatedStorageFile operations that would be needed any time I wanted to save, retrieve, or delete any type of object from Isolated Storage in my application while still being strongly typed.

  • 0 comments  /  posted by  Silverlight Show  on  May 31, 2010 (1 week ago)
    Colin Blair explains about exposing collections of entities from the ViewModel and shows his favorite solution - the PagedCollectionView.

    For the most part combining WCF RIA Services with the MVVM pattern is easy. One area of difficulty is in exposing collections of entities from the ViewModel. This post is going to show some of the current possibilities including my favorite solution, the PagedCollectionView. In two follow up posts I will be discussing some more advanced PagedCollectionView examples and then some future possibilities.

  • 0 comments  /  posted by  Silverlight Show  on  May 25, 2010 (2 weeks ago)
    This article is part one of a series written by Weidong Shen on developing a Silverlight business application using MEF, MVVM Light, and WCF RIA Services.

    This sample application is the result of my initiative to learn Silverlight and WCF RIA Services. With my background of using WPF and MVVM for the past several years, I found that there is a lack of sample LOB applications that can combine the latest Silverlight enhancements with MVVM. This three part article series is my effort at creating such a sample. The choice of an issue tracking application comes from David Poll's PDC09 talk, and the design architecture is from Shawn Wildermuth's blog posts.

  • 0 comments  /  posted by  Silverlight Show  on  May 20, 2010 (3 weeks ago)
    If you are wondering if there is an MVVM-friendly way to get a DataGrid’s SelectedItems into the ViewModel, read this blog post of Laurent Bugnion and find out the answer.

    The issue there is as old as the DataGrid (that’s not very old but still): SelectedItem (singular) is a DependencyProperty and can be databound to a property in the ViewModel. SelectedItems (plural) is not a DependencyProperty.

    Thankfully the answer is very simple: Use EventToCommand to call a Command in the ViewModel, and pass the SelectedItems collection as parameter.

  • 0 comments  /  posted by  Silverlight Show  on  May 18, 2010 (3 weeks ago)
    In this post David Kelley talks about MEF, how to get started with it and what can MEF really do.

    Microsoft Extensibility Framework or MEF is one of the great features in Silverlight, designed around making Silverlight applications more extensible generally and provides a much more complete story for the separation of concerns. MEF then begs the question 'Why we care?' and 'What can MEF really do?' and we will address that here.

  • 1
  • 2
  • 3
  • ...
  • 14
Help us make SilverlightShow even better and win a free t-shirt. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need a material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)