A Silverlight Calculator
OK so I finally found some time to start playing around with SL2 B1 in earnest this last weekend. The results? A Silverlight Calculator. I don’t know why but a calculator has always been my HelloWorld, every new programming language or UI stack I learn always starts with a calculator. Anyway you can try out the live version of it here and download the full source code here. You can find some good instructions on how to get up and running on Silverlight here if needed.
A Basic Calculator

A quick overview of the things I explored during this process.
Some known issues/ToDos:
· Resetting the AddIns is a fairly jarring experience right now (since Assemblies cannot be unloaded, a full page refresh is done to cycle the AppDomain). At a minimum I need to have an Are you sure? MessageBox (but SL has no such thing yet). Ideally you should be able to turn off the add-ins one at a time and the calculator would just quit using the extension even though they still exist in the domain.
· No versioning support for the AddIns. If you want to get a new version of your AddIn loaded you currently have to unload all the AddIns, reset the AppDomain and then reload your addins.
· Application Errors are either ignored or unhandled right now. I have to figure out a good model for dealing with these things.
· Currently only text is supported in the Command Buttons, I need to explore the wonderful world of loading/parsing XAML at runtime and allow commands to have more sophisticated button views. Styling is currently putting a serious crimp in these efforts, but we’ll see where it goes.
Anything else? Comments? Ideas on additional areas/techniques to explore here?