Wednesday, November 24, 2010

Phone: Transfer Your Google Voice Number to a Google Apps Account

I have a Google Apps account and a regular ‘ol gMail account, but now that Google Apps offers Google’s full line of product offerings, I’m trying to phase out and move my old data.  Part of this is moving my Google Voice number to my Google Apps account.  Turns out you can move it by filling out this form.  Took them about a week to complete the move.

Friday, November 12, 2010

Code: Silverlight Media Element Relative Urls

The best way I’ve found to use relative urls for media items in Silverlight is to place the media files (mp3, wmv, mp4, etc) in the ClientBin folder of the website (same directly as the .xap file) 

image

Ensure that the Build Action is set to Content and Copy To Ouput Directory is set to Copy if Newer:

image

Then you can reference the files with a single forward slash then the file name:

<MediaElement x:Name="DangerZoneTune" Source="/DangerZoneTune.mp3"></MediaElement>