OK I lied... I didn't do my Home Page last for two reasons:
- I hated NOT seeing the Silverlight Logo spinning on the sidebar
- I definitely did not like the JS errors it was throwing from February CTP support code
So... first I did the really simple ones... my first 3 html pages from December 12, 2006 summarized on this page.
I modified the text a bit, but the Beta 1 bits were just about a drop-in. After reading Bryant Likes' post and other material he referenced, I decided to hack on into this. I seem to be getting a lot of hits, and I'm guessing a lot of those folks have already downloaded Beta 1 and are wondering where the heck the product is!
First I modified my Page01.html to include the standard Silverlight.js and CreateSilverlight.js, and the appropriate Beta 1 changes to the control instantiation that has been covered amply by lots of folks. Since everything I have out there up to now is JS supported, I figured I'd have to have unique CreateSilverlight.js files for each, and I thought that sounded sucky.
So I backed that idea up, and just put the call to createObjectEx inside another script tag somewhere close to the control... hope I don't wish I hadn't done that later, but it certainly makes it easy to find, and associates the width/height/opacity/etc. right there with it, instead of being jammed out in it's own js file.
This worked perfectly with the old xaml file, no problem. I didn't upgrade the xaml at all, just renamed it xml as I've seen a lot of pages done that way, although I may change my mind after looking at more.
The Page02.html, and
Page03.html files worked identically, so I was on a roll!
Next I modified my MasterPage similarly to change the text that rotates once in the header to be Beta 1, and that worked first try in VS2005, so I was pretty pleased. I can't remember when I removed the MIX Timer on the right sidebar, that was probably last night as well.
Then I began a somewhat longer adventure of getting the Silverlight video logo re-running under Beta 1.
Since I had such good luck with running the header canvas in VS, I thought the logo would work as well... seems like I should have thought twice on that. I got it working to the point of displaying once then stopping. It also had an extra line across it running it in Beta 1 that I didn't have in the February CTP, so I had to add to the xaml to cover that up.
After doing a whole bunch of 'right' things, none of which seemed to help a whole lot, I decided to just upload that sucker and see what it did live and what do you know...
it works! ... go figure
Nothing Earth-shaking in the changes I made... just mostly the plumbing to switch over to Beta 1. I still have some "javascript:" things in there that I want to remove, but for now they're ok.
I have 28 unique Silverlight pages, some without canvases, some with multiple for a total of 23 canvases. 5 of which are now complete... almost 22% ...
As soon as I find anything I have to change to make work in Beta 1, I'll start a thread on that, but so far, so good!