Mono上的DevExpress ASP.Net组件 [英] DevExpress ASP.Net Component on Mono

查看:111
本文介绍了Mono上的DevExpress ASP.Net组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是DevExpress组件的愉快用户,尽管目前我仍在Linux网络主机上.

I'm a happy user of DevExpress components, though currently I'm still on a linux web host.

在另一个主题中,我谈到了计划迁移到Windows环境,以便可以使用DevExpress的ASP.Net组件.一段时间以来,DevExpress一直认为,由于P/Invoke的大量使用,它们的组件不太可能在Mono上运行.

In another thread I've spoken about my plans to move to a Windows environment so that I can use DevExpress's ASP.Net components. For some time now DevExpress's stand has been that their components is not likely to work on Mono, due to heavy usage of P/Invoke.

我对他们的ASP.Net组件没有任何经验,我的问题是,有没有人成功地在Mono下使用过他们的ASP.Net控件?我读过一些文章,指出与MonoForm相比,他们在ASP.Net方面的运气要好于WinForms.

Having no prior experience with their ASP.Net components, my question is, has anyone successfully used their ASP.Net controls under Mono? I've read some posts that indicated that they had much better luck with ASP.Net stuff under mono than WinForms stuff.

推荐答案

如果他们声明控件是P/Invoke的重载,则可以删除控件或删除Linux. Mono并没有错,唯一要怪的是只考虑Windows编写的代码.根据我的经验,由于使用P/Invokes在Linux上中断的代码也将在Windows 64位上中断(因为本机库不像托管程序集那样与32/64位无关).

If they state their controls are P/Invoke heavy, than you can either drop the controls or drop Linux. Mono is not at fault, only thing to blame is the code that has been written with only Windows in mind. And from my experience - code that breaks on Linux because of using P/Invokes will also break on Windows 64 bit (as the native libraries are not 32/64 bit agnostic like the managed assemblies).

这篇关于Mono上的DevExpress ASP.Net组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆