SLLauncher and Browser Mode

I had to do some work in a Silverlight (I know, I know) application recently.  One of the features I was working on is to show a web page in out-of-browser running Silverlight application.  The page is a modern page that I wrote using Angular JS.  What I found is that as soon as the …

Continue reading ‘SLLauncher and Browser Mode’ »

Print Screen in Silverlight

One of the simple tasks I needed to work on last week was to implement simple screen printing on certain screens in a Silverlight application.  Once I got home, I wrote a very generic routine that could print any control at all.  I wrote it as an extension method on System.Windows.Controls.Control class.  I used a …

Continue reading ‘Print Screen in Silverlight’ »

Client Access Policy File and Subdomains

if you worked with Silverlight and WCF, you no doubt are familiar with ClientAccessPlicy.xml.  Recently I found a use case that is not documented in the link above and had me stumped actually.  Our application was hosted on a subdomain, something like my.mysite.com.  I added client access policy file to the root of the domain, …

Continue reading ‘Client Access Policy File and Subdomains’ »

Accessing Azure Blob Storage from Silverlight

Last week I was faced with this exact problem in the title.  As I was migrating an existing Silverlight application to run on Azure, I wanted to have a solution to the requirement that stated that the users must be able to upload files to the server and view them in the application.  Previously, those …

Continue reading ‘Accessing Azure Blob Storage from Silverlight’ »

More on WinDbg, Memory Leaks and Silverlight

I blogged a long time ago on how to use WinDbg to find memory leaks in Silverlight application.  Yesterday I had to face a variation of the problem, but this time I had to debug a custom issue.  So, what we did is have customer create memory dumps.  To do that we instructed them to …

Continue reading ‘More on WinDbg, Memory Leaks and Silverlight’ »

Silverlight’s KeyUp Event and Backspace

Surprisingly enough, I never ran into this issue, event though I worked with Silverlight for three years now.  The specific issue is that some keyboard events are not echoed in KeyUp events.  For example, if you subscribe to KeyUp in a textbox and you hit Backspace key, KeyUp event does not fire.  This is quite …

Continue reading ‘Silverlight’s KeyUp Event and Backspace’ »

More Changes to Calendar Control for WP 7

In the spirit of further improving my calendar control for Windows Phone 7, I added ability to show week number in the first column of the calendar control. As you can see, the very first column can show week number,.  If course, I cannot break existing functionality, so the feature is disabled by default.  You …

Continue reading ‘More Changes to Calendar Control for WP 7’ »

Update to Calendar Control for Windows Phone 7

Today due to numerous requests (technically one request from one person ), I updated my CodePlex project for calendar control for Windows Phone 7 – http://wpcontrols.codeplex.com/. I added gesture support to the project.  You can now swipe (flick) from side to side to increment or decrement month, and swipe top to bottom and back to …

Continue reading ‘Update to Calendar Control for Windows Phone 7’ »