More on Markup Extensions in Silverlight 5

In my previous post I showed how to write a simple mark up extension.  I also noticed that not too many folks are aware of the fact that you can obtain a lot of information about how markup extension is used in XAML from the provider object.  I am going to demonstrate how to do …

Continue reading ‘More on Markup Extensions in Silverlight 5’ »

Markup Extensions in Silverlight 5

Another cool feature available in Silverlight 5 is markup extensions.  The idea behind the feature is ability to allow developers to supply values to XAML parser at the time it parses visual tree.  In other words, once parser finds a markup extension in XAML, it will create an instance of it, set any properties that …

Continue reading ‘Markup Extensions in Silverlight 5’ »

Unleash the Power of Implicit Data Templates in Silverlight 5

One of the cool new features in Silverlight 5 are implicit data templates.  They allow developers to associate a set of visuals encapsulated inside a data template with a specific class.  You can find a cool demo of this feature on Tim Heuer;s blog.  One of the links in this article shows how to use …

Continue reading ‘Unleash the Power of Implicit Data Templates in Silverlight 5’ »

Pitfalls of Deploying Silverlight Applications in Web Farms

I wanted to make a few notes regarding my recent experience of deploying a Silverlight application in web farm environment.  Here is what the topology looked like.  It included load balancer appliance configured to redirect the traffic to one of three servers.  There was also SQL Server cluster in active-passive configuration.  The application was using …

Continue reading ‘Pitfalls of Deploying Silverlight Applications in Web Farms’ »

Maximum Number of Concurrent Connections in Internet Explorer

Today as I was debugging and optimizing a Silverlight application, I discovered a hidden feature in IE 8 that allows you to increase the number of concurrent connections to any server.  Here is the link that describes the procedure. http://msdn.microsoft.com/en-us/library/cc304129(VS.85).aspx You can try to speed up your browser by changing this setting.

Building Windows Phone 7 Silverlight Application

It this post I want to describe the process I went though building and publishing my first Silverlight application for Windows Phone 7.  It is currently being tested, and I hope I will pass the test this time.  I went through a couple of iterations of testing already, learning in the process from my mistakes.  …

Continue reading ‘Building Windows Phone 7 Silverlight Application’ »

Silverlight vs. HTML 5

It is time for me to jump on bandwagon of discussing the latest comments out of Microsoft regarding Silverlight.  If you have not read the latest commend by Bob Muglia, Microsoft VP, you can read his interview with Mary-Jo Foley here.  One particular paragraph bothers me a ton: Silverlight is our development platform for Windows …

Continue reading ‘Silverlight vs. HTML 5’ »

Using WinDbg to Find Memory Leaks in Silverlight Applications

In light of recent issues with memory leaks in Silverlight and the fact that service pack that was supposed to address these issues was released last week, I found myself working on an application, trying to confirm that it does not leak any longer.  To simplify my approach, I created a destructor for my view …

Continue reading ‘Using WinDbg to Find Memory Leaks in Silverlight Applications’ »