Monthly Archives: March 2010

Multithreading in Windows Phone 7 emulator: A bug

.NET, Phone, Silverlight, Technical stuff, Windows Phone, Work
No Comments

This post was imported from my old blog and had 3 comments which are included as a screenshot at the end of this post.

Multithreading is supported in Windows Phone 7 Silverlight applications, however the emulator has a bug (which I discovered and was confirmed to me by the dev lead of the emulator team): If you attempt to start a background thread in the MainPage constructor, the thread never starts. The reason is a problem with the emulator UI thread which doesn’t leave any time to the background thread to start. Thankfully there is a workaround (see code below). Also, the bug should be corrected in a future release, so it’s not a big deal, even though it is really confusing when you try to understand why the *%&^$£% thread is not &$%&%$£ starting (that was me in the plane the other day ;)

Read the rest of this entry »

Sample code for my #mix10 talk online

.NET, Blend, MIX, MVVM, Silverlight, Technical stuff, Work, WPF
1 Comment

This post was imported from my old blog and had 60 comments which are included as a screenshot at the end of this post.

Update: Seems that not everyone is running on the latest and greatest, which is understandable. To avoid confusion, I added the version of the framework for which these samples are available. In the next few days, I will try to port them to other versions in order to have working samples in WPF3.5, WPF4, SL3 and SL4. Please be patient, thanks!
Update 2: I reconfigured the samples to include all the external assemblies you need to run them (including Microsoft.Practices.Unity.dll, System.Windows.Interactivity and Microsoft.Expression.Interactions.dll)
Update 3: The MVVM Demo 2 (end) now contains the MVVM Light application for Windows Phone 7 that I demoed at TechDays Belgium 2010 in Antwerpen. It features sharing most of the code between the Silverlight 4 application and the Windows Phone 7 application, and creating a new view for the phone application on top of the MainViewModel.

Read the rest of this entry »

What’s new in MVVM Light V3

.NET, Blend, MIX, MVVM, Silverlight, Technical stuff, Work, WPF
2 Comments

This post was imported from my old blog and had 21 comments which are included as a screenshot at the end of this post.

V3 of the MVVM Light Toolkit was released during MIX10, after quite a long alpha stage. This post lists the new features in MVVM Light V3.

Read the rest of this entry »

MVVM Light V3 released at #MIX10

.NET, Blend, MIX, MVVM, Silverlight, Technical stuff, Work, WPF
No Comments

This post was imported from my old blog and had 4 comments which are included as a screenshot at the end of this post.

MVVM_White

During my session “Understanding the MVVM pattern” at MIX10 in Vegas, I showed some components of the MVVM Light toolkit V3, which gave me the occasion to announce the release of version 3. This version has been in alpha stage for a while, and has been tested by many users. it is very stable, and ready for a release. So here we go!

Read the rest of this entry »

My program at #MIX10

.NET, Blend, IdentityMine, MIX, MVVM, Silverlight, Technical stuff, Work, WPF
No Comments

This post was imported from my old blog and had 1 comments which are included as a screenshot at the end of this post.

MIX10Speaker

Getting ready to fly to Vegas and MIX10 is really an exciting time! It is also a very busy time, because we are working on a few projects that will be shown on stage, I have my presentation to prepare, and of course as always the book… though these days it has been a bit on the back burner to be honest ;)

I arrive in Vegas on Sunday evening around 10PM, so I won’t be able to make it to the traditional IdentityMine dinner this year. I am sure it will be fun nonetheless!

Read the rest of this entry »

Schedule for my session at MIX10

.NET, Blend, IdentityMine, MIX, MVVM, Silverlight, Technical stuff, Work, WPF
No Comments

This post was imported from my old blog and had 1 comments which are included as a screenshot at the end of this post.

Microsoft has published the schedule for the MIX10 sessions. I have a sweet spot, and I dearly hope that it stays this way (Last year I had a great spot, but it was changed last minute and then I had a much better one, “competing” against Vertigo and their Playboy app… yeah try to explain to a bunch of geeks that MVVM is better than Playboy… good luck with that ;) Anyway, this year my sweet spot is on the very first day of the conference (there are workshops on Sunday, but this qualifies as pre-conference), Monday after the keynote which should get everyone pumped and excited.

Read the rest of this entry »