November 2009 - Posts

17
Comments

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...
12
Comments

WCF RIA Services Unity DomainServiceFactory by Fredrik N

Note: This post is based on WCR RIA Services PDC beta and changes can be made in a future release. In this post I will show you how it’s possible to create your own DomainServiceFactory which has the responsibility to create a DomainService instance....
12
Comments

WCF RIA Services and a guide to use DTO/”Presentation Model” by Fredrik N

NOTE: Examples in this blog post is based on the VS 2010 Beta 2, WCF RIA Services PDC Beta, some changes to the WCF RIA Services can happen until RTM. I have seen several questions and request about how to use Data Transfer Objects (DTO), or a ”Presentation...
13
Comments

WCF RIA Services Binding Deep dive by Fredrik N

Note: This is based on WCF RIA Services beta, and some stuffs can change in a future release. As many of you may know, WCF RIA Services uses WCF. WCF uses EndPoints where we specify the ABC (Address, Binding and Contract). By default WCF RIA Services...
7
Comments

Refresh the cached EntitySet after a SubmitChanges – WCF RIA Services by Fredrik N

Note: This post is based on the WCF RIA Services PDC Beta. There is a discussion about WCR RIA Services and how to update an EntitySet after a Submit changes, on the Silverlight forum. If we loads a set of entities they will be cached in an EntitySet...
5
Comments

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...
15
Comments

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...
6
Comments

WCF RIA Services – What you need to know when creating DTO/Presentation Model by Fredrik N

Note: This is based on the WCF RIA Services Beta, so the code in this post can change in a future release of the framework. When defining DTO or a “Presentation Model” (Not the Presentation Model pattern by Martin Fowler, a model suited for presentation...
11
Comments

WCF RIA Services and DTO with association by Fredrik N

This post will be short, I notice that some people are asking about how to send an object graph which will include an association to other objects. First of all, be careful with the distribution of an object graph, wrong design can affect performance...
6
Comments

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 Next page »