【问题标题】:Mono's DateTime SerializationMono 的 DateTime 序列化
【发布时间】:2008-09-16 08:54:01
【问题描述】:

如果您在 Linux 上使用 Mono Remoting,对于 Mono 和 .NET Remoting 之间的 DateTime 编组不兼容,您有什么解决方法?

我在使用 .NET 2.0 运行时的 Windows 上使用 WinForms,在使用 Mono 的 Linux 上使用 Remoting。我还不能在两端使用 Mono 运行时,因为 Mono 的 DataGridView 还没有工作。

[更新]

我在发布问题时使用了 Mono 1.9。我现在使用 Mono 2.4,它的 DateTime 现在与 .NET 兼容。向 Miguel de Icaza、他的团队和 Novell 致敬

【问题讨论】:

    标签: .net datetime mono remoting


    【解决方案1】:

    我认为更好的解决方案是重构代码,因此不要使用(但支持不足的)远程处理,而是使用 Web 服务。 IIRC 完全支持大多数基本数据类型的 XML 序列化;并且在某些情况下,更适合架构(尤其是服务器-客户端架构)。

    【讨论】:

      【解决方案2】:

      使用测试用例提交错误。

      【讨论】:

        猜你喜欢
        • 2015-10-08
        • 1970-01-01
        • 2012-05-18
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多