Application is slow - If We use SLExtenstions

Jul 15, 2009 at 4:36 AM

Hi ,

     I just found that SLExtenstions framework is not good for the following reason.It slows down the application .

As "CommandService" that exposed an attached property called CommandProperty - when this was changed, it would hook up an ICommand to the UIElement in question.  The problem was, it did so by taking a hard reference to the UIElement - it should instead have used a WeakReference.  Since CommandService was a longer-lived object, it was rooting the UIElement so the garbage collector wouldn't collect it.

 

Please read following post...

http://silverlight.net/forums/t/103827.aspx

 

Please help...................... As I build up whole project on the base of SLExtenstions..

 

Thanks

Coordinator
Jul 15, 2009 at 7:31 AM

Hi,

I'm using SLExtensions in all my SL projects and it never slows down anything on my application. It seems you have some memory leaks problem. Maybe you can send me (thierry.bouquain@ucaya.com) the piece of code you submitted to the forum and I will check if there is a bug in SLExtensions

Jul 15, 2009 at 1:21 PM

Thanks for the reply..

I sent you an email.. please look into it...

Thanks again