Serializing Expression Trees – V1

October 5, 2008

I’ve blogged before (in hebrew) about the difficulty of serializing expression trees to XML.

To conclude my hebrew post, I’ve found a project in CodePlex, called MetaLinq which might be the solution to the problem – this open source allows to perform Linq queries over expression trees, and as a consequence, might allow serialization of the navigable expression tree.

I’ve worked in past few days to fix the code of the project to allow serializing the tree with DataContractSerializer.

The project can be downloaded from here.

The next version will :

  1. Support XML serialization with XmlSerializer
  2. Better documented code
  3. Extensive test project and samples
  4. Code improvements (thread safe, performance …)

Comments are welcomed.

Enjoy.

Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*

one comment

  1. SextonAugust 6, 2012 ื‘ 2:02 pm

    Excellent post! We will be linking to this great post on our
    website. Keep up the good writing.

    Reply