SilverTrader: JavaScriptSerializer to DataContractJsonSerializer

November 19th, 2008 / Tales from a Trading Desk

The original SilverTrader codebase used JavaScriptSerializer to serialize JSON to Isolated Storage. With the revised Silverlight 2.0 codebase I’ve moved to using DataContractJsonSerializer. DataContract and KnownType make life very easy, its just a shame that since I need to persist widget location, System.Windows.Point isn’t appropriately tagged (

I’ve also managed to get the virtual workspace working in SilverTrader tonight, and fixed a few nagging bugs from the original codebase that I never fixed 12 months ago. The vista style sidebar is also partially working; although I need to do some work in the sizing of minimize widgets.

Overall, I’m pretty happy with the progress I’ve made on SilverTrader 2.0 given the limited hours I’m managing to spend each night/morning – the night job, not the day job )

      

Comments are closed.