Thursday, May 08, 2008

Back at last

I finally decided to spend the 10 minutes to get my blog back up and running.

Hopefully I can move off blogger soon but that will take some free time :P

Tuesday, November 13, 2007

Testing another Embed

Am I that good?

Tuesday, November 06, 2007

Soapbox Embedding


Video: Lizard Kong Fu!

Saturday, September 29, 2007

Believe

http://beta.channel9.msdn.com

Wednesday, September 26, 2007

Silverlight on 9

First, a video by Adam about using a piece of Expression Encoder to create the Silverlight player on Channel 8. I explain how we use BasePlayer.js to get everything we need out of a player instantly. Check me out in my office chatting up the camera.

Second, try out the addition Duncan made to Channel 9 to allow you to use Silverlight now! It's based on the player we use on the Channel 9 Beta. And by "based on" I mean "is."

I've taken to calling the live version of Channel 9 "9 Classic" to eliminate confusion as we talk about the coming Beta update internally. Let's see if I can get it to catch on :)

Thursday, September 20, 2007

New Router

Got me a Linksys WRT150N from Best Buy. I've been on 802.11b only for quite a while so it's nice to be on something faster :)

Technorati Tags: ,

Labels: ,

Looking up my own KB Article

MagicFolder has a smart client piece that is used to push the videos users want to publish up to the server for encoding and uploading. Being a former ClickOnce design time dev, I deploy and update the application with ClickOnce. I love the technology mostly because I don't have to think about deployment issues: it just works.

Today I went to push an update of the client for the first time in a few months. Suddenly I get an error that "The certificate is not valid for signing." Crap. You see, I had used the default Visual Studio option of creating a temporary certificate that lasts for a year and is self-signed. I checked the metadata and sure enough: it expired in August.

No problem, just make a new one right? Wrong. ClickOnce will error if you deploy a new version because as far as it's concerned you've created a new program. Your manifest files are assemblies much like your DLLs are. They have a strong name and key pair used to sign them is the one bound to your certificate. You need to create a new certificate but re-use the same key pair. It's possible but annoying.

Enter my KB article. Before I left the VB team, we actually started to see this from Beta early adopters. To head this off, I wrote a little C++ app that would take a PFX file, get it's key pair from Windows, and issue a new self-signed certificate using that key pair. I had learned quite a bit about the certificate API's from working in the bowels of Visual Studio so it took me just a few hours. I wrote up the steps on how to compile and use the code sample and after my QA team gave it the thumbs up (thanks David and Elizabeth), we sent it out to the world.

This morning I looked up that same article to get my code again so I could fix up my cert. By default it creates a cert that's good for five years from the day you run the renew app. Never wanting to think about this again, I changed that to 25. My app published, updated, and all is well with the world.

Here's the article if you'd like to take a look:
You receive an error message when you try to update a Visual Studio 2005 ClickOnce application after the certificate that was used to sign the installation expires

Technorati tags: , ,

Labels: , ,

Wednesday, September 19, 2007

Silverlight Player

Yup, it was me. Thanks to the Expression Media Encoder team for making a sweet class that makes video players a lot easier to write.

Once we get this out to VisitMix and 10 I'll be able to drop the least stable part of MagicFolder from the process: creation of the streaming MP4 file. Good times.

Labels: , , ,