General »

[13 Jan 2011 | 0 Comments]

The publisher of our book just let me know they will be releasing five new Microsoft books on Monday, 24th of January.  To celebrate this, they’re offering a 25% discount on all Microsoft books (starting from 2 orders or more) during the whole month of January.  This of course includes my book, Silverlight 4 Data and Services Cookbook (so yes, this post is actually a small commercial intervention ;-)).

 

Next to that, they’re also giving away a free 1-year subscription every Monday, worth $220.  So if you want access to all Packts’ books for free, this is your chance.

 

Good luck!

General »

[11 Jan 2011 | 0 Comments]

The year has just started, and it's already developing into an exciting one.  Coming up in the next few months are some really cool projects, both at work and private - including one with Windows Phone 7 & Azure if all works out. 

 

I'll also try to write some more content for this blog.  Next to the book, I've been writing various articles for Silverlight Show and .NET Magazine (Dutch edition) in 2010, but I'll try and add a bit more blog-exclusive content as well.  Oh, and on the book-front some exciting news is coming up as well ;-)

 

What about sessions?  The "presentation season" is coming up again: in the next few months, we've got TechDays & MIX to look forward to - I'm pretty sure we'll get some new info on Silverlight 5.  And who knows, maybe a new version of WCF RIA Services?  I'd really like that - it's by far my favourite framework for building data driven Silverlight apps.  As far as personal sessions are concerned: I've submitted quite a few session proposals for various events, we'll see what gives ;-)

 

All in all it's safe to say 2011 will be an exciting year, technology-wise.  I'm looking forward to it - I hope you are as well :-)

.NET, Featured, Silverlight »

[1 Dec 2010 | 0 Comments]

The second and third part of my article series on Silverlight and Caching are available NOW at SilverlightShow

 

Ever wondered how you can leverage Isolatd Storage for caching?  How you can cache items between Silverlight sessions, or even between Silverlight applications?  How you can cache server-side with WCF or WCF RIA Services?  And what about writing your own Silverlight cache provider? 

 

Part two can be found here (on Isolated Storage), part three here (on server-side caching & a Silverlight cache provider).  Enjoy the read :-)

Silverlight »

[18 Nov 2010 | 0 Comments]

A lot of questions exist on Silverlight & caching.  And that’s understandable, because there are lots of different caching scenarios you can enable, from XAP caching to Isolated Storage to caching your results server-side.

 

In these articles (in the end, 3 articles will be published), I try to tackle these various scenarios.  The first article is available online now, in which I talk about XAP Caching and Assembly Caching.  If you’re interested, point your browsers to SilverlightShow, and enjoy the read :-)

WCF RIA Services, .NET, MVVM, General »

[30 Sep 2010 | 0 Comments]

A while ago, Gill Cleeren and I wrote an article for Technet Magazine on Silverlight for Business applications, touching on WCF RIA Services, MVVM, …  If you’re an IT professional and interested in starting Silverlight development in your business, you can check it out here.

 

A few days later, I was interviewed by the same Technet Magazine for Technet Radio.  It’s a 10 minute podcast on the more interesting parts of starting Silverlight development for your business.  So, want to hear me talk on this? Check it out! :-)

Presentations and sessions, RealDolmen »

[31 Aug 2010 | 0 Comments]

As some of you might know, during the day (well... often evenings as well :)) I work at RealDolmen, one of Belgium's biggest ICT companies.  On Tuesday, September 21st we're organizing our very first SimplICiTy day, a free event about innovation in the Microsoft stack.  We've got three different tracks for those willing to attend (a business track, infrastructure track and development track), an expert bar, free food and drinks for the hungry and thirsty, ...  so if you happen to be in the neighbourhood: drop on by! :)

 

I will be delivering a session on Rich User Interfaces: a Logical (R)evolution.  If you want to learn about why these new technologies are quickly emerging to be the standard way to develop .NET applications, what you can do with them, what you need to start coding them yourself, ... this is the perfect session for you. 

 

Interested?  Don't forget to register - as said, it's all completely free!

Featured, Silverlight »

[24 Aug 2010 | 1 Comments]

Today (second day after my vacation :-)), I’ve been looking for a solution to a rather nasty memory leak in a Silverlight application.  Typically, you can do this in two ways: by using WinDebug, or through Visual Studio’s Immediate Window.

 

I’m not going to go into the specifics of both – there are already blog posts about that, you can find a nice overview on how to debug Silverlight apps using WinDBG by Delay, another one by Ning Zhang here, and an overview of using it with the Visual Studio Immediate Window here.

 

However, I stumbled upon a problem that kept me amused frustrated for a couple of hours.  To be able to debug Silverlight apps this way, you need to load the sos coreclr extension.  Typically, in WinDBG, you’d do this as such:

 

!loadby sos coreclr

 

This gave me an “unable to load”-error.  No worries, maybe I had selected the wrong Internet Explorer process?  So I tried the other active processes, and tried loading it again.  Same problem.

 

Quick check to see if my symbol path was ok:

 

.sympath

 

didn’t make me any wiser – everything looked ok

 

Right.  So I tried debugging through Visual Studio’s Immediate Window (remember, if you’re trying this you need to enable the unmanaged code / native code debugger in your project properties), and loading the sos coreclr extension there.  Same problem.

 

You don’t even want to know what happened next.  I tried everything again, and again, and again with the exact path to sos.dll instead of through what was loaded in the iexplore.exe process.  And again in WinDebug.  And again in Visual Studio.  And again by having a look at the process with Process Explorer to see if I didn’t miss the correct process for the 70th time.  And again, in a different order.  Et cetera ad infinitum.

 

Nothing seemed to work.  So I tried some backtracking: what’s different since I last did this?  Well, I’ve now got a 64 bit processor, running Windows 7 – before I had a 32 bit processor running Windows XP.

 

So I checked if I had installed the 64 bit version of WinDebug.  Which I had.

 

And then I finally found the solution.  Although IE is 64 bit on my machine, Silverlight is not (simply doesn’t exist yet)!  So maybe I needed the 32 bit version of WinDebug?  I tried installing this (it can be found in the redistributables you get when installing the Windows SDK – which includes WinDebug) and … problem solved!  Magically, everything started to work as it should.

 

So, if anyone is looking to track down a Silverlight memory leak on a Windows 7 machine using WinDebug: remember to use the 32 bit version of WinDebug. 

 

Hope this saves some of you from a few frustrations! ;-)