Most people will be aware of Microsoft Surface, the multi-touch, table top computer. As a learning aid for Silverlight, I was looking for a great sample project to look at. This is when I came across the Silverlight Surface sample available from Microsoft (take a look here).
So, my aim was to learn from the code and improve on it where I could.
With a strict time limit of one (very wet!) weekend, I extended it by:
- Adding support for Video items,
- List of Photo’s and Videos to show are retrieved by call to server, leveraging LINQ-to-SQL,
- Items can have captions,
- Improved code structure.
Click on the image above, or click hereto go to the online version. I will be making the code available too … it’s a great way to learn. I’ve been involved with more ASP.NET applications in recent years than Windows Forms.
What struck me most was how much I really missed the rich, state-ful experience that Windows Forms provides. Now that the same experience is available through a browser using Silverlight, is simply fantastic.
UPDATE: With the recent release of Silverlight Beta 2, this sample has now been updated. If you have problems viewing it, just make sure that you have the latest version installed on your machine.
UPDATE: Thanks to all those that requested the source code for this. I’m pleased to say that it is now (finally) available for download from www.pureblue.co.nz.
UPDATE: With the final release of Silverlight 2.0, the code and demo site has now been updated.

