Tag Archives: silverlight

Silverlight unit testing with NUnit: yes you can (without hacks)!

It may be obvious for most of you, but it took a while to my caveman brain to realize this, so I figured I could post it for other cavemen. You (we) have got an excuse though: the short release cycle of Silverlight means that most stackoverflow questions and blog posts on the subject are [...]

Dynamic member binding in Silverlight 4

UPDATE: Xavier Decoster already wrote a nice article on this topic some time ago. Please check it out! (Note to self: improve google skills) First, let me say that I’ll take the long route, so if you are already familiar with dynamic typing in C# you can probably jump straight to the last section. Otherwise [...]

An error occurred while accessing IsolatedStorage.

While developing a Silverlight Windows Phone 7 app I ran into this problem: when the application closes, an internal  IsolatedStorageException is raised: An error occurred while accessing IsolatedStorage. at System.IO.IsolatedStorage.IsolatedStorageSecurityState.EnsureState()    at System.IO.IsolatedStorage.IsolatedStorageFile.get_AvailableFreeSpace()    at System.IO.IsolatedStorage.IsolatedStorageSettings.Save()    at System.IO.IsolatedStorage.IsolatedStorageSettings.TrySave()    at System.IO.IsolatedStorage.IsolatedStorageSettings.SaveAllSettings()    at MS.Internal.FrameworkCallbacks.ShutdownAllPeers() IsolatedStorageSettings seemed to be the cause of the problem. Very [...]

Windows Phone 7 Marketplace subscription for Swiss individuals

Lately I’ve been busy coding stuff for Windows Phone 7 –really fun! If you are a Swiss individual (i.e. you are not developing your apps for a company) then joining the Marketplace is not very straightforward. If you reside in another non-U.S. country you may as well read this post, I suppose you will only [...]

Best of Swiss Silverlight 2010

During this year’s Shape 2010 conference in Zurich-Oerlikon, Microsoft Switzerland announced the winners of the Best of Swiss Silverlight 2010 Award in collaboration with the Best of Swiss Web Association, simsa and Netzwoche. Incredibly my application Trails of Switzerland won the Bronze award. I was completely taken by surprise (not to mention super excited) because [...]

Silverlight/WPF RGB color in c#

Sometimes you have a color in XAML and want to use it in c#. In other words you want to translate something like: <Border Background=“#AA0FCC1B”>; to: Border.Background = …something… So you start looking for an IValueConverter that create a color from a RGB string, or translate the hex values to decimal, etc… STOP it! All [...]