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: , , ,

Tuesday, September 18, 2007

OneNote is the new Wiki

I'm a *huge* OneNote fan. I use it for day to day planning, check lists, and even planning equipment for my WoW character. Our team needed a information collaboration solution so of course I turned to this awesome app.

We have one shared notebook that we use for all our info: EvNet Shared. It's stored up on our team Sharepoint site so we can get at it from any machine on the network. OneNote operates off a sync model so you can make plenty of offline changes then simply connect and sync. I take advantage of this for my personal use as well and keep a notebook on a thumbdrive which I sync to my work laptop and home laptop.

I think I may give Groove a look as well but for now, OneNote is king.

Technorati tags: , , ,

Labels: , , ,