This site was written in (mostly) Silverlight 2. It still has some ASP.Net 2.0 features. It was mostly written using Silverlight 2, ASP.Net, WCF, and some LINQ here and there. There are some other interesting technologies running under the hood. But I have to keep some secrets. ;)
The toughest choices to make about the site were all about the content rendering. The decision about how to author and display blog entries took a long time. Because there are limitations with how text is displayed using Silverlight 2, and since I had a bunch of old posts stored as html, my choices were limited. The html could be converted to xaml. The html could be converted to pdf documents. The html could also even be rendered as XPS. There is a converter out there on MSDN for html to xaml and with some experimentation I found it wasn't what I wanted. The other converter projects were and probably still are in research phases. I looked at these options and tried a few out. For a while I was testing an xbap blog reader. The WPF flow document is sooo nice! But it isn't ported to Silverlight. :( Anyway, that would only work on PCs and I still had the problem of older stuff in html. It was the C# code to html converter that my blog uses which was the straw to break the camel's back. There was a whole open source project to do that and I didn't want to rewrite it for xaml. (Not enough time).
Ultimately, I decided to go with an html iframe hovering over Silverlight. The hardest part with that was placement in the browser. It was different between Firefox and IE, of course. The technique I came up with works well on most of the major browsers (still testing on others). Staying with html for content proved to be the right choice because I have an RSS page that also still depends on html content. I could also keep my authoring tools for html content. So that was nice. It meant using more ASP.Net in the site than I originally wanted. But they worked and I didn't need to spend time rewriting code. I imagine the New York Times reader project went through similar tough choices with content display and I suspect they are using iframes for the Mac based reader.
The best way then to describe this site is as a Silverlight 2/ASP.Net hybrid. I came up with a simple layout and color scheme for the site as I was going. Yep, it is red and blue! With the black font it seems to make the text easier to read. The really fun work was in the animations. If you refresh the page, you will see the banner animation. (At the time of this writing, there was a nice lens flare animation in the banner). That was a composition of several images made using GIMP. I did that yesterday and it took some time to implement since it was my first time using GIMP. That photo editing software had the best looking lens flare and free is a very good price. I may put other animations up later. The other animation that was fun was the right side date filter bar. I use a progammatic storyboard to change the width to zero to hide it and bring it back to the original width when needed. So, I got a couple of simple but nice animations in the site. I'm looking forward to making improvements.
There are a list of features that I'd like to get done. Comments, tags and tag clouds, interaction with Microsoft services in the cloud, Facebook integration, twitter integration, and SEO (search engine optimization). All that will take some time. I'm waiting for Silverlight 3 and RIA Services that should be coming out soon. The next version will be a complete rewrite. Other than cosmetics, I'll be switching gears to start developing using the beta tools for Silverlight 3. I hope to blog about my progress as interesting discoveries are made.
So, here is my Silverlight 2 Blog...like it? Oh ya, I still don't have a way for anyone to comment on blog entries. I'll put that in the next version. If you know me, you can always send comments to my email or Facebook. :)
fbf4755d-a976-4831-b259-dcb48b0508ca|0|.0