In the past few hours, I have been struggling with binding a List to a ListView. Seems straighforward, however I also wanted to use a custom control as the item, and not just the string representation of the item.
Silverlight 5 is out, and, despite rumors about its upcoming dismissal by Microsoft, the new version is appealing. The new typographical improvements for example are a neat feature to have. So let's see how to migrate your project to the new framework.
Silverlight 5 introduces several noteworthy features, and a new fonts rendering system is among them. This post will explain how to employ it to beautify your application typografy and how to apply them using Silverlight Toolkit themes.
It is important to keep a consistent style, when it comes to the visual appearance of your application. Similarly to what you do when you theme a website using CSS, Silverlight provides you with Resources to manage colors, brushes, and many other visual styles consistently across the application.
A quick tip for those scratching their heads with this error when debugging Silverlight in Internet Explorer (and possibly other browsers):
The breakpoint will not currently be hit.
No symbols have been loaded for this document.
When this happens, it means that the browser is not loading the correct binary. It could mean several things.
The browser is using a cached and outdated version of your binary files. You just need to clear the browser's cache! Hint: Click on the Wheel icon in IE - Developer tools. In my experience, this is the most common situation.
You have multiple silverlight components on one page, or you are using multiple browser pages. This is more complicated. If you can, you should alway use one single window when debugging, so you may want to load your popups in the main window temporarily, to allow debugging.
Some time ago I was confronted with the following problem: I was given a historic map of a certain city in jpg format, and I was requested to make it available to MapServer in order to be displayed along with the already available shapes and ecw raster imagery. I had no idea about how to proceed... but in the end it worked. Here is how.