Opinions on Expression Tree Serialization Library from CodePlex?

匿名 (未验证) 提交于 2019-12-03 08:46:08

问题:

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

10x

回答1:

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/



回答2:

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.



回答3:

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.



回答4:

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.



回答5:

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.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!