Silverlight

Microsoft Codecamp Buenos Aires 2009 Source Code and Presentation

For those of you who attended to the talk (thanks a lot for attending, by the way), you may find in Codeplex project DynamicDeepZoom all the source code we used for the example we presented, as well as the presentation (in Spanish). And for those of you who didn’t attend, we are uploading it anyway. [...]

Microsoft Codecamp Buenos Aires 2009

On September 26th, Martin Verzilli and I will be making a presentation at Microsoft CodeCamp event on Silverlight DeepZoom technology. The presentation will focus on exploiting a much underused feature of the deep zoom control, which is the ability to inject images generated at run time; these images being provided by a WCF server, which [...]

Silverlight Xaml Guidelines

One of the key components of any Silverlight (or WPF) application is XAML, as it serves as the definition for every visual element. Being a markup language intended to replace a bunch of UI-creating-code (remember WinForms?), it can quickly get out of control if not properly organized.
After doing some research on the web and asking [...]

Silverlight Tutorial Video

(Since this post is about a Silverlight Tutorial Video published in Spanish for Microsoft Latin America and Universo Bit, I will write it in Spanish as well.)
El diciembre pasado tuve la oportunidad de grabar un video introductorio de Silverlight para la iniciativa “Crecimiento Laboral” de Microsoft Lationamerica y Universo Bit. El video tiene una duracion [...]

Constant Silverlight CPU usage? Double check your animations.

I had to fix a problem in a Silverlight application we are building. The problem was that it’s CPU usage was constant, between %20 and %40, and never stopped. I won’t go into the details of how I discovered the problem, but I’ll tell you what the problem was, and how we solved it.
The application
In [...]

Silverlight 2 RTM problem with Internet Explorer 6 and GZip compression: a workaround if you’re using Jetty

We are developing a Silverlight application since some months ago. As you may know, an RTM of Silverlight 2 has been released recently, so we decided to migrate our project to it. Surprisingly, it stopped to work in IE 6 after the migration. The exception raised by Silverlight looked like:
[BrowserHttpWebRequest_WebException_RemoteServer]
Arguments:NotFound
Debugging resource strings are unavailable. Often [...]

Controls Contract

An interesting feature of Silverlight is how the interaction between visuals and logic (this is, between designers and developers) is handled. It uses a so-called Parts and States Model, which is ensured by a contract specified with attributes in the control class.
Jesse Liberty has made an excellent short post on this subject, which I strongly [...]

Embedding YouTube videos in Silverlight

There’s no straight way of embedding YouTube videos in Silverlight. What you can do, however, is to create a floating div over the Silverlight plugin, whose content will be the YouTube video control. For this purpose, I’ve wrote a simple class to make it easier to do this.
The usage is simple:

// ZCcedd9EfHI is the id [...]

Silverlight Loaded Events

A common scenario in the development of GUI applications is the presence of different events fired by the engine as the visual tree is constructed and rendered. And Silverlight, of course, is no exception.
While WPF provides Initialized and Loaded events for all framework elements, Silverlight has only the latter. There is also a LayoutUpdated method, [...]

Paging in Data-Bound ListBox in Silverlight

A useful feature for most data-bound items presenting controls is the ability to page their data, by showing only the first n elements and requesting the rest on demand as the users scrolls down the view. This is specially useful when downloading each item is costly, and waiting until the whole collection is obtained to [...]

Syndicate content