有人有在 Mono 下使用 CSLA 的经验吗?

发布于 2024-07-17 04:59:08 字数 1037 浏览 4 评论 0原文

我非常尊重 Mono 和 CSLA。 我想在非 Microsoft 操作系统上使用 CSLA。 我承认 Mono 永远落后 Microsoft 两步,但是 Mono 支持足够的 .Net 框架来促进各种有趣的应用程序。 我还意识到 Mono 不支持许多 3.0 .Net 附加功能,例如 WPF(尽管 Moonlight 必须在很小的程度上才能发挥作用)。 对于我目前的需求,WPF支持并不重要,WCF也不重要。 我真诚地感谢 Rocky 在 CSLA 中实施并继续维护的所有繁琐的数据绑定支持。 对于许多应用程序来说,我认为 CSLA 在这里增加了巨大的价值。 我意识到 CSLA 带来了许多其他功能,但对我来说数据绑定非常重要。 我怀疑 Mono 下 CSLA 的主要兼容性问题集中在 Mono 没有实现所有 .Net 数据绑定细微差别(尤其是 DataGrid)和序列化格式差异。 我对如何解决这些明显的问题有一些想法,但我很想听听已经走上这条路的人的意见。

编辑: 无论如何,我不久前确实在 CSLA 论坛上发布了这个确切的问题。 CSLA 社区和 Rocky 很快就回答了问题。 然而,这个问题从未得到任何答案。 我相信原因很简单:Rocky 长期以来只专注于 MS 技术。 我不会因此而责怪他。 Rocky 对 CSLA 进行了大量投资。 他是仁慈的独裁者。 我很感谢他将 CSLA 开源。 我怀疑他在应对 Microsoft 世界中每隔几年发生的主要 API 变动时遇到了足够的问题。 Linux/Mac OS 可能不在他的关注范围内。 无论如何,目前可能不应该是这样。 大多数 Linux 或 Mac OS 用户甚至从未听说过 CSLA。

您始终可以分叉源代码、剥离源代码、增强源代码等,以使其与 Mono 兼容。 如果您这样做,您将不会得到 CSLA 社区的支持(至少目前如此)。 为此,我放弃了这项努力。

更新: 看来Rocky现在对Mono很感兴趣。 查看CSLA 路线图

I have a great deal of respect for Mono and CSLA. I would like to utilize CSLA on non-Microsoft operating systems. I accept the fact that Mono will always be two steps behind Microsoft, but Mono supports enough of the .Net framework to facilitate a wide range of interesting applications. I also realize that Mono does not support many of the 3.0 .Net additions such as WPF (although it must to a small degree for Moonlight to function). For my current needs, WPF support is not important, nor is WCF. I sincerely appreciate all the tedious data binding support Rocky has implemented and continues to maintain in CSLA. For many applications, this is where I see CSLA adding substantial value. I realize CSLA brings many other features to the table, but for me data binding is very important. I suspect that the main compatibility issues with CSLA under Mono are centered around Mono not implementing all the .Net data binding nuances (especially DataGrids) and serialization format differences. I have a few ideas on how to attack these perceived problems, but I would love to hear from anyone that has already been down this road.

Edit:
For what it's worth, I did post this exact question on the CSLA forum quite some time ago. The CSLA community and Rocky are quick to answer questions. However, this question never received any answer. I believe the reason for this is simple: Rocky has been focused only on MS tech for a long time. I don't fault him for this. Rocky has a substantial investment in CSLA. He is the benevolent dictator. I'm thankful that he made CSLA open source. I suspect he has enough issues keeping up with the major API churn every couple of years in the Microsoft world. Linux/Mac OS is probably not on his radar. It probably should not be...currently anyway. Most Linux or Mac OS folks have never even heard of CSLA.

You can always fork the source, strip it down, enhance, etc. to make it work with Mono. If you do this, you won't have the CSLA community behind you (at least for now). For this reason, I have abandoned this effort.

Update:
It seems that Rocky is interested in Mono now. Check out the CSLA Roadmap.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一腔孤↑勇 2024-07-24 04:59:08

我会尝试下载 CSLA.NET 源代码并尝试在 Mono 下编译它。 我自己没有做过,但可能就是这么简单。 您甚至可以尝试不同版本的代码,因为最新版本的 CSLA.NET 使用了许多 .NET 的新功能,而这些功能目前可能尚未转换。 我认为这将是一个有趣的开源项目。

What I would try is to download the CSLA.NET source and try to compile it under Mono. I haven't done it my self but it might be as easy as that. You might even try different versions of the code since the latest version of CSLA.NET uses a lot of the new features of .NET that might not be converted as of right now. I think it would be a fun open source project to do.

苯莒 2024-07-24 04:59:08

对于遇到此问题的任何人,CSLA 现在完全支持 Mono。 现在 CSLA 论坛上也有大量关于它的讨论 (http:// /forums.lhotka.net/search/SearchResults.aspx?q=mono)

For anyone coming across this, CSLA now fully supports Mono. There is now a good amount of discussion of it on the CSLA forum too (http://forums.lhotka.net/search/SearchResults.aspx?q=mono)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文