Friday, December 11, 2009

ViewModel Pattern for Silverlight - Options for Hooking a View to its Model

ViewModel Pattern for Silverlight - Options for Hooking a View to its Model


ViewModel Pattern for Silverlight - Options for Hooking a View to its Model

Posted: 11 Dec 2009 09:42 AM PST

In the ViewModel, aka the MVVM pattern, a view such as a UserControl is bound to its associated view model. The view model manages state exposed as observable properties, operations exposed as methods and raises notifications via events. An interesting question is how a View should specify its view model, and how a view model instance should be created. Like everything else in the ViewModel pattern, this topic is no different. There are different strategies, with pros and cons, and different people have different opinions. In this post, I'll describe a couple of options, and hope to collect some feedback as well as ideas on alternatives. Part of my goal here is to improve what is supported in Silverlight.FX out-of-the-box. The other goal...(read more)

ViewModel Pattern for Silverlight - Options for Hooking a View to its Model

Posted: 11 Dec 2009 09:42 AM PST

In the ViewModel, aka the MVVM pattern, a view such as a UserControl is bound to its associated view model. The view model manages state exposed as observable properties, operations exposed as methods and raises notifications via events. An interesting Read More......(read more)

WCF NET.TCP Protocol in Silverlight 4

Posted: 10 Dec 2009 02:14 PM PST

Introduction As you may already know, Silverlight 4 beta has been released and it has many new features. One of the most important features is net.tcp binding support. Now in Silverlight 4 we can communicate with WCF web service using net.tcp protocol...( read more )...(read more)

New - Preventing Security Development Errors: Lessons Learned at Windows Live by Using ASP.NET MVC

Posted: 10 Dec 2009 11:11 PM PST

Learn how the Windows Live team applied the Security Development Lifecycle (SDL) while developing new Windows Live services with ASP.NET MVC.

Windows 7: Build Innovative Applications

Posted: 10 Dec 2009 11:11 PM PST

Discover new developer features in the Windows 7 operating system with these online resources. Attend a live webcast and learn about using Jump Lists, how to improve robustness and performance, or how the Windows PowerShell–based platform lets you easily monitor multiple data sources. Step into a virtual lab and explore Shell Libraries, Windows Taskbar, and Windows Ribbon, among other features. Watch videos that demonstrate the Windows Touch and handwriting recognition capabilities. Dive into this content today to start learning about Windows 7.

Silverlight Cream for December 10, 2009 -- #754

Posted: 10 Dec 2009 09:38 PM PST

In this Issue: Joel Neubeck , Tim Heuer , Gill Cleeren , Cameron Albert , Damon Serji , Matthew Casperson , Corey Miller , Pete Brown , Aashish , David Poll , and Fredrik Normén . Shoutouts: Brad Abrams reported an interview: Bytes by MSDN: Brad Abrams...( read more )...(read more)

Resizing images from the server using WPF/WIC instead of GDI+

Posted: 10 Dec 2009 05:30 PM PST

I and many others have written about resizing images using GDI+ , or rather its .NET façade, System.Drawing . It works. But there is just this one sentence at the bottom of the documentation : Caution: Classes within the System.Drawing namespace are not supported for use within a Windows or ASP.NET service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions. Kind of scary, isn't it? Nobody likes diminished performance and run-time exceptions. But when you need to generate thumbnails from managed code, what other choices do you have? There used to be two: using interop with native APIs (which won't work in medium trust) or writing...(read more)

Silverlight 4 – More on Capturing Video from WebCams

Posted: 10 Dec 2009 04:08 PM PST

Apply a pinch of salt here, this is a work-in-progress….:-) I wanted to follow up a little on the blog post I wrote about capturing video/audio from the webcam/microphone with Silverlight 4. In that post I'd written a little about how you could take the...( read more )...(read more)

Silverlight for Point Of Sale (POS) applications

Posted: 10 Dec 2009 01:32 PM PST

Silverlight provides an ideal platform for developing and deploying modern business applications, including critical Point of Sale (POS) applications. The ChristophDotNet blog provides a nice introduction of how Silverlight can be used in a POS environment...( read more )...(read more)

Deploying your Silverlight and WCF RIA Services application

Posted: 10 Dec 2009 12:42 PM PST

So you've been playing around with Silverlight and WCF RIA Services (the artist formerly known as .NET RIA Services) and you are ready to deploy. You've been living in your happy Visual Studio environment, perhaps even relying on the built-in web server Read More......(read more)

No comments:

Post a Comment