Welcome to WindowsClient.net | Sign in | Join

Rob Relyea - XAMLified

WPF, Silverlight and XAML

Syndication

Sponsors





  • advertise here
XamlWriter.Save() for Silverlight

I tweeted a pointer to David Poll’s “To XAML with Love (an experiment with XAML Serialization in Silverlight)” recently. Wanted to make sure I did a short blog post about it, as it is worthy of more than just a quick tweet!

I’m really happy with the progress of the XAML engine in Silverlight. First, Silverlight 4 does a XAML Parse Overhaul, now a XamlWriter.Save for Silverlight from David.

Since you can now Read and Write XAML in Silverlight (like you can do on WPF since v3), that opens many scenarios where XAML may be useful.

Perhaps:

Please give David feedback on his experiment with XAML Serialization.

(oh, and thanks to David for putting his passion for great software into this experiment!)

Published Thursday, July 29, 2010 8:19 AM by Rob_Relyea

Comments

# Windows Client Developer Roundup 035 for 8/2/2010@ Monday, August 02, 2010 12:40 AM

This is Windows Client Developer roundup #35. The Windows Client Developer Roundup aggregates information

# re: XamlWriter.Save() for Silverlight@ Monday, August 02, 2010 7:53 AM

Hello,

it's Offtopic, but I don't know how to address you.

Some time ago I found the XamlT-Tool and it was really useful for me. Because my Notebook crashed, I had to reinstall and don't have the Tool anymore.

The Page www.xamlt.com is down, so I can't download it. Could you please tell me how to get XamlT?

Regards

by Dominik

# re: XamlWriter.Save() for Silverlight@ Thursday, August 05, 2010 2:21 PM

One of the issues with using XAML to persist data values is that XamlReader.Load() does not handle primitive values other than System.Int32 properly (System.Double is parsed but as a 32-bit floating point, parsing 3.4 into 3.40000009536743). This is fine for visual display, but is a problem for storing data values such as in a data grid.

What is the timeline for resolving these issues and bringing primitive parsing in line with WPF?

by Aaron

# re: XamlWriter.Save() for Silverlight@ Thursday, August 05, 2010 9:40 PM

Aaron-

Are you giving feedback on the SL XamlWriter work that David Poll did? Or on the result of parsing in that data into Silverlight 4?

Or something else entirely?

Thanks, Rob

# re: XamlWriter.Save() for Silverlight@ Friday, August 06, 2010 9:20 AM

I'm giving feedback on the native parser in Silverlight - the code that gets invoked by XamlReader.Load(). David's work looks good, but these issues prevent round-tripping (saving and then loading without parse exceptions or rounding errors) for data where precise values are needed, such as in engineering and financial domains.

by Aaron

Leave a Comment

(required) 
(required) 
(optional)
(required) 
Page view counter