Give formatting its own line

I got bitten by this not once but twice on Sunday as I hurriedly worked on a new phone app. Can you spot the difference between the the following two lines? Uri uri = new Uri(string.Format("/View/DataView.xaml?collection={0}&id={1}", collection, currentItem.getID(), UriKind.Relative)); Uri uri = new Uri(string.Format("/View/DataView.xaml?collection={0}&id={1}", collection, currentItem.getID()), UriKind.Relative); Typically I like to put any String.Format() call…

1

February Release of Silverlight for Windows Phone Toolkit

The new version of the Silverlight for Windows Phone Toolkit is available. Biggest things I want to highlight: PerformanceProgressBar built in (no more copying finding that older blog entry) TiltEffect for controls to match the phone’s Metro interface the Transition class is now public which makes it easier to create your own custom transitions Read…

0

Custom Page Transitions in WP7 (part 2)

In the last post I discussed how to create a custom page transition with the Silverlight for Windows Phone Toolkit that used your own local storyboard. That’s all well and good but there some nice changes we might like to see. Lets allow the storyboard to be loaded from a file so it can be reused across…

0

Custom page transitions in WP7

The Silverlight for Windows Phone Toolkit provides the mechanism for creating animated page transitions in your Windows Phone 7 applications. It also provides a few standard transitions that match the look and feel of the built in apps such as pages sliding in, rotating out, etc. But what if I want to create a new…

0

I’m just async. Yes, I’m only async.

Some people have noticed (especially those who read the release notes) that the new Live Framework April CTP removed all the synchronous methods from the Silverlight MEWA library. Sometimes when big changes happen, I like to cull internal email discussions for blog posts since some of our internal teams are learning this just as external…

0

Silverlight Streaming updates

1) One common request I have seen over and over both internally and externally is "How do I get a direct HTTP link to my video?" Well ask and ye shall receive. Just use the following format: http://silverlight.services.live.com/accountId/fileSet/fileName.wmv 2) Plus a new robust, restartable video uploader. Have you ever tried to upload a large video…

0

Make money with Silverlight Streaming? Yes. Download it as a desktop app? No.

The ads pilot is finally available for Silverlight Streaming. You can fill out the form to indicate interest in taking part in the program. And it looks like they yanked the new deployment mechanism (HTAs) for SLS apps so they can address it properly in a cross-browser friendly manner later.

0

Silverlight Streaming update!

Silverlight Streaming has had an update pushed out. You can read the details but the summary is a new invocation method: link to an HTA package of your Silverlight app. performance improvement for the accounts that use a large number of file sets more liberal naming convention for applications (the better to use internationally, my…

1

Silverlight debugging tip

I’m building a Deep Zoom application and have been frustrated when it often has some stupid bug (my own of course) and the whole app just disappears. Eventually I realized a quick and dirty snippet I plan to drop into every future Silverlight app. Its not a replacement for the debugger, but its great when…

1