Browse by Tags

All Tags » Silverlight 4 (RSS)

MVVM, Data Channel, MEF, WCF RIA Services and ViewModel Locator – Silverlight 4.0 by Fredrik N

In the Aspen project I decided to use a ViewModel locator to find the ViewModel a View should use, I also use MEF for composition of parts. In this post I’m going to write about the MVVM implementation we use in the Aspen project, but first about the...

The Aspen progress – Silverlight 4, Net 4, WCF RIA Services ref. project by Fredrik N

It was a while since I wrote a blog post, the reason are many, first preparation for the SDC2010 conference where I talked about WCF RIA Services, then 2 sessions at Microsoft TechDays 2010 where I talked about Web Form vs MVC and building business application...

Aspen – A sample app using Silverlight 4 and .Net 4.0 – part 2 of X – MEF and EF 4 code-only by Fredrik N

Note: The code examples in this blog post will be based on technical previews and betas of .Net 4.0 and VS2010. So changes can be made before it hits RTM. If you haven’t read the first part about the Aspen project, you can find it here . In this part...

Aspen – A sample app using Silverlight 4 and .Net 4.0 – part 1 of X by Fredrik N

Together with Dag König and Danwei Tran at Microsoft, I’m building an app with the code name “Aspen”. This application will use most of the new features shipped with Visual Studio 2010, such as, Silverlight 4, Entity Framework 4, MEF, WCF RIA Services...

Silverlight – About validation when binding to custom forms – Part 2 using Silverlight 4 by Fredrik N

In my first part about validation and binding to custom forms I wrote about how we could with some small hack enable the Validation Tooltip for a bounded control manually when we press a button. In this post I will instead use Silverlight 4 with Commanding...

Silverlight 4 - Make Commanding use lesser code by Fredrik N

In my previous post about using Silverlight 4 Commanding, I got a question why I didn’t use delegates etc instead of creating a lot of ICommand classes. In this post I’m going to show how you can reduce the number of ICommand classes. I have created a...
Filed under: ,

Silverlight 4 - MVVM with Commanding and WCF RIA Services by Fredrik N

Note: The code example in this post uses Silverlight 4 PDC Beta and WCR RIA Services PDC Beta, so some changes can be made before RTM. In my previous post I wrote about “ WCF RIA Services and a guide to use DTO/”Presentation Model” ”, and mention that...

Using the WebBrowser control and debug a Silverlight Out-of-browser (OOB) application in VS 2010 by Fredrik N

Yesterday I played with the WebBrowser control shipped with Silverlight 4. I was trying to create a little RSS Reader for Silverlight 4, only to try out some of the new features. The WebBrowser control have two methods to display a web page, the Navigate...

Silverlight 4 and Asynchronous Validation with INotifyDataErrorInfo by Fredrik N

During this week I helped a company with the design of a RIA with Silverlight. In the existing Web and Window Forms application they have a form where the users can enter an account id (or was it a customer id ;)). When they leave the TextBox they did...

Silverlight 4 Commanding enables ViewModels by Fredrik N

One feature out of many really great feature shipped with Silverlight 4 Beta, is Commanding. With Commanding we can use the MVVM (Model View View Model) Pattern. Commanding is something that WPF has and preview Silverlight doesn’t. Commanding can only...
More Posts