November 2008 Entries

Serializing Objects to Isolated Storage in Silverlight 2

[Cross posted from: SilverlightForBusiness.net ] Silverlight 2 does not have a BinaryFormatter like the full framework does so you have to take a different approach to serializing data to Isolated Storage. However there is a simple solution by using the DataContractSerializer.  You will need to add a reference to System.Runtime.Serialization.  This will serialize the object to an Xml format and is what Silverlight uses when you add a service reference. So if we have an object called Person, we can use the DataContract and DataMember attributes to mark it up as follows: [DataContract] public...

Announcing: Silverlight "Power Seminar"

Kings Hill Conference & Training Centre (location) Friday November 28th, 2008 (10am-1pm) I am presenting this seminar in Kings Hill on November 28th – should be a good overview and I will be drilling into some depth with the demo’s later on. Hope you can make it. Marketing info and content below ;-)   Don't miss this opportunity for your company to get a great insight into this exciting technology and how it can affect your business Special Offer ...

Silverlight 2 vs. Asp.Net Ajax

Shameless plug for my new blog:  silverlightforbusiness.net And the latest article:  Silverlight 2 vs. Asp.Net Ajax Cheers Ian Technorati Tags: Silverlight,asp.Net Ajax

VS2010 – two screenshots to warm the hearts of TDD fans

When you are doing TDD you want more more than the Generate Method Stub functionality in VS2008 – you want to be able to generate stubs for anything! Well VS 2010 comes to the rescue (as it should since it states they are targeting TDD as mainstream for this release) And if you click Generate Other: Nice one! Technorati Tags: VS2010,TDD Cheers Ian

New SilverlightForBusiness.net Blog

Most developers and managers are impressed with Silverlight when they first see it, and most are keen see what it can do.  Most see the immediate benefits for rich web based UI, and often there is a comparison drawn with Flash (“Is Silverlight a Flash Killer?”).  However the business case is not always clear to them. I believe Silverlight offers a tremendous platform for Business Applications It’s not just the richness of the UI and the wide reach and lower maintenance of the web deployment, but the fact that it is built in managed .net code, with a...

Creating Reusable Animations in Silverlight 2

I answered a post on the Silverlight forums recently about creating reusable animations for an Image, and thought that it was worth a blog entry to expand on it a little. I am looking here at two common approaches to creating reusable animations within a single project: Create the animation in xaml (using Blend) on one element and then change the target in code.  This is easier to do but means you can only play one animation at a time (because only one animation actually exists) ...

«November»
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456