简体   繁体   中英

Opinions on Expression Tree Serialization Library from CodePlex?

did someone tried this code library and have opinion about it? http://code.msdn.microsoft.com/exprserialization

10x

It looks like the project was abandoned but I did some work on it and now it works with .NET 4.0 and Silverlight. I made bug fixes to their code and also made it more DAL-independent.

http://expressiontree.codeplex.com/

I have found that it cannot serialize custom closures and I am currently writing my own binary serializer. With that said the fact that expression tree serialization was not included in .net 4.0 is extremely dissapointing.

I'm using this library to serialize/deserialize "linq to object" queries. The library doing this pretty well. There was some problems, but I was able to fix them due to the library's open source. The problem that it's not supported any more.

Security aspects of this library are really scary to me. It's almost like executing an arbitrary code that came from configuration or through a request.

It's used in the client proxy for ADO.NET Data Services for performing LINQ queries against a RESTful service and having that query serialized and executed on the service. Works great in my experience.

If you want to test its usefulness, try out an ADO.NET Data Service .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM