.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Silverlight Patterns: Model-View-ViewModel In Silverlight 2 Apps

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

In this article, you'll learn how to avoid problematic tight coupling by applying the Model-View-ViewModel pattern in Silverlight 2.

Shawn Wildermuth

MSDN Magazine March 2009

View Complete Post

More Related Resource Links

Patterns: WPF Apps With The Model-View-ViewModel Design Pattern


In this article we explain just how simple it can be to build a WPF application the right way using the MVVM Pattern.

Josh Smith

MSDN Magazine February 2009

Design Patterns: Problems and Solutions with Model-View-ViewModel


The Model-View-ViewModel (MVVM) design pattern describes a popular approach for building Windows Presentation Foundation or Microsoft Silverlight applications. Robert McCarter shows you how the ViewModel works, and discuss some benefits and issues involved in implementing a ViewModel in your code.

Robert McCarter

MSDN Magazine July 2010

Using same Model (and ViewModel) in WPF and Silverlight - is it possible?



I am well into a WPF application, structure with MVVM, with the Model layer being in a separate project. This application must now be changed to Silverlight, but I am having a hard time 'recycling' what I have already made in MVVM. For example, from the Silverlight project I am unable to reference anything but another Silverlight project, so my existing Model layer, which is in a separate class library project cannot be referenced. Do I really need to move everything into Silverlight projects - are two separate WPF and Silverlight applications not able to share the same Model (and ViewModel) layers?



Serving Silverlight Apps from Windows Mobile

Even if mobile dev is not my every day work, thanks to the .Net Compact Framework, it's still .Net programming.

Here is the scenario:

You come back home, you have a windows mobile phone wifi capable and you want to quickly get access to your phone pictures from your home network.
You just activate the Wifi, run my app and then browse to the provided link from any computer on the network.

Test Run: Testing Silverlight Apps Using Messages


Silverlight greatly simplifies the process of building rich Web applications, and we'll walk through an example of using Messages as a quick method of interactively testing simple Silverlight apps.

James McCaffrey

MSDN Magazine March 2010

Inside Microsoft patterns & practices: Building WPF and Silverlight Applications with a Single Code


This article discusses the Project Linker tool and other techniques to create applications that target both WPF and Silverlight from a single code base.

Erwin van der Valk

MSDN Magazine August 2009

Silverlight: Composite Web Apps With Prism


This article reviews the Prism project developed by the Microsoft patterns & practices group and demonstrates how to apply it to composite Web applications using Silverlight.

Shawn Wildermuth

MSDN Magazine July 2009

Silverlight: Build Line-Of-Business Enterprise Apps With Silverlight, Part 2


Here we wrap up the call center client application we began last month. The techniques we illustrate will help you build real-world enterprise solutions using Silverlight.

Hanu Kommalapati

MSDN Magazine February 2009

Silverlight: Build Line-Of-Business Enterprise Apps With Silverlight, Part 1


Take a walk through the creation of a call center client application to learn how to build real-world enterprise solutions using Silverlight.

Hanu Kommalapati

MSDN Magazine January 2009

Data Points: Service-Driven Apps With Silverlight 2 And WCF


Here John Papa demonstrates how to build a Silverlight 2 user interface that communicates through WCF to interact with business entities and a database.

John Papa

MSDN Magazine September 2008

Write On!: Create Web Apps You Can Draw On with Silverlight 2


We build a Silverlight 2.0 application using the InkPresenter to let users annotate a pre-defined collection of images, perform handwriting recognition, and save the annotations and recognized text into a server-side database.

Julia Lerman

MSDN Magazine August 2008

Design Patterns: Model View Presenter


The MVP pattern helps you separate your logic and keep your UI layer free of clutter. This month learn how.

Jean-Paul Boodhoo

MSDN Magazine August 2006

Video: SharePoint 2010: Silverlight Client Object Model

In this video you will learn how to use the SharePoint client object model to program a Silverlight application against SharePoint data. (Length: 9:03)

Video: Developing Silverlight Applications by Using the SharePoint 2010 Client Object Model

This demonstration shows how to use the client object model from a Silverlight application. (Length: 11:15)

Can I use visual studio 2008 with silverlight design view?

Hi,          I'm using visual studio 2008. I have installed silverlight tool on visual studio 2008. But when I open a .xaml file. I cannot edit the page using silverlight in design view. Is there any way to use design view which I can drag and drop item from silverlight tool to the page for .xaml file?         Do I need to install any other tool which can allow to do so? Please reply and help. Thanks. Wesley

Silverlight client object model : Read a document from a document library

How do I read/download a document/file from a SharePoint document library using silverlight client object model? The most closest function that I found was: Microsoft.SharePoint.Client.File.OpenBinaryDirect() but this seems to be throwing an exception "Operation not supported".

Fully Embracing the Model-View-ViewModel Pattern in WPF

I'm trying to get my head around the M-V-VM pattern as it is used with WPF. So far I have been successful in implementing this pattern but it's perfect (yet). There are a number of common UI workflows that I can't figure out how to implement in this pattern such as:1. A user clicks a button that should show a modal dialog box. Usually the VM has a command on it that the button is bound to and something executes. However, what needs to execute is a UI behavior (opening the dialog box). The VM should not open the dialog box (that would be wrong because the VM now has to know something about the UI). The Window or UserControl or Page inwhich the command was initiated should open the dialog box.2. A user clicks a button that executes a command on a VM. However, this is a long-running command and I'd like to show the WaitCursor during this operation. This is a UI function, not a VM function. Should the VM fire an event? And if so, how does the Xaml handle it?So, M-V-VM experts out there, what am I missing? Help me to see the light...Dave
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend