简体   繁体   English

关于CodePlex表达式树序列化库的观点?

[英]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 http://code.msdn.microsoft.com/exprserialization

10x 10倍

It looks like the project was abandoned but I did some work on it and now it works with .NET 4.0 and Silverlight. 看起来该项目已被放弃,但我做了一些工作,现在它适用于.NET 4.0和Silverlight。 I made bug fixes to their code and also made it more DAL-independent. 我对他们的代码进行了错误修复,并使其更加独立于DAL。

http://expressiontree.codeplex.com/ 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. 有了这个说,表达式树序列化不包含在.net 4.0中的事实非常令人失望。

I'm using this library to serialize/deserialize "linq to object" queries. 我正在使用此库来序列化/反序列化“linq to object”查询。 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. 它在ADO.NET数据服务的客户端代理中用于对RESTful服务执行LINQ查询,并在服务上序列化并执行该查询。 Works great in my experience. 在我的经验中工作得很好。

If you want to test its usefulness, try out an ADO.NET Data Service . 如果要测试其实用性,请尝试ADO.NET数据服务

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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