使应用程序(.NET / C#)真正独立于平台 [英] Making a Application (.NET/C#) truely platform independant

查看:56
本文介绍了使应用程序(.NET / C#)真正独立于平台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我们有一个用C#编写的应用程序窗口,在那里我们使用了浏览器

COM和标准版中的其他基本库。 NET / C#SDK。因此,下一个

部分是为Unix和Mac平台提供此应用程序。我有几个问题这两个问题


1.我们有什么可能做这样的事情?

2我们将面临的技术挑战是什么?

3.我们实现目标的直接间接解决方案是什么?

4.缺乏支持我们可以从MONO,ROTOR和WINE获得?


请关注这些........我真的很感激..

添加你所评论的内容因为我们致命需要很多想法。


谢谢,

问候,

Nirosh。

解决方案

1.可能性非常高 - Ximian正在开发Mono项目,

这是linux的.NET框架;我做跨越windows / linux编程

到目前为止它的工作原理,在某些情况下比microsofts更好:)

2. Mac -...不确定,但是考虑到mac正在运行BSD

,如果Mono在那里编译也不会感到惊讶。

3.我担心.NET很快就会成为唯一的跨平台这个解决方案似乎太阳可能会把Java带下来(可能会感到羞耻但是嘿 -

这是另一个阵营)

4随着Novell开始涉足Linux(以及他们最近购买的产品)他们必须搬到某个地方(当然他们的所有产品都会转移到b
)但是我会如果他们开始研究某些东西会让他们与其他发行版区别开来(比如.NET? - 这就像它得到的那样疯狂猜测,这并不奇怪。)

5.如果您正在开发跨平台为痛苦做好准备(仅限CLR

兼容代码)


Champika Nirosh < CN ***** @ textcentric.lk>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP11.phx.gbl ...

大家好,我们有一个用C#编写的应用程序窗口,我们使用了
浏览器COM和标准.NET / C#SDK中的其他基本库。所以接下来的部分是让这个应用程序可用于Unix和Mac平台。我在这里有几个问题

1.我们做这样的事情有什么可能性?
2.我们将面临的技术挑战是什么? ?
3.我们实现目标的直接间接解决方案是什么?
4.我们可以从MONO,ROTOR和WINE获得什么样的支持?

请对这些有些了解........我真的很感激..
添加你所评论的内容因为我们致命需要很多想法。

谢谢,问候,
Nirosh。



感谢Arthur的详细评论


Arthur Mnev < AR ******** @ optonline-no-spam.net>在消息中写道

新闻:u9 ************** @ TK2MSFTNGP10.phx.gbl ...

1.可能性很大非常高 - Ximian正在开发Mono项目,这是用于Linux的.NET框架;我做跨越windows / linux编程
到目前为止它的工作原理,在某些情况下比microsofts更好:)
2. Mac -...不确定,但考虑到mac正在运行BSD 3.我担心.NET很快就会成为唯一的跨平台解决方案,因为它看起来像Sun可能会把Java带下来(将是一个耻辱但是嘿 -
这是另一个阵营)
4.随着Novell进入Linux(以及他们最近购买的SuSe),他们必须搬到某个地方(当然所有的他们的产品将移动
到linux)但是如果他们开始研究
会让他们与其他发行版区别开来(即.NET? - 这个
就像狂野的那样)我也不会感到惊讶因为它得到了猜测。)
5.如果你确实开发了跨平台为痛苦做好准备(仅限CLR
兼容代码)

Champika Nirosh < CN ***** @ textcentric.lk>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP11.phx.gbl ...

大家好,
我们有一个用C#编写的应用程序的窗口,我们使用了


浏览器

COM和标准.NET / C#SDK中的其他基本库。所以
的下一部分是让这个应用程序可用于Unix和Mac平台。我


这里有几个问题

1.我们有什么可能做这样的事情?
2我们将面临的技术挑战是什么?
3.我们实现目标的直接间接解决方案是什么?
4.我们可以从MONO,ROTOR那里得到什么样的支持,还有葡萄酒吗?

请对这些内容有所了解........我真的很感激..
添加你所评论的内容因为我们致命地需要很多想法。

谢谢,
问候,Nirosh。




< blockquote>


如果你想让事情运行起来,只需使用java工作非常好并且非常类似于c#的

MONO,ROTOR和WINE
需要多年才能让这些东西运行,目前你不能做很多

没有用它们,你可以运行你好世界。


见c#转换为java的控件看起来与.NET完全相同。
http://www.lumisoft.ee/lsWWW/Downloa...UI/testUI.html

" Champika Nirosh" < CN ***** @ textcentric.lk>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP11.phx.gbl ...大家好,
我们有一个用C#编写的应用程序窗口,我们使用了
浏览器COM和标准.NET / C#SDK中的其他基本库。所以接下来的部分是让这个应用程序可用于Unix和Mac平台。我在这里有几个问题

1.我们做这样的事情有什么可能性?
2.我们将面临的技术挑战是什么? ?
3.我们实现目标的直接间接解决方案是什么?
4.我们可以从MONO,ROTOR和WINE获得什么样的支持?

请对这些有些了解........我真的很感激..
添加你所评论的内容因为我们致命需要很多想法。

谢谢,问候,
Nirosh。



Hi All,

We have a windows from application written in C#, there we have used Browser
COM and other basic libraries present in standard .NET/C# SDK. So the next
part is to make this appliaction available to Unix and Mac platform. I have
couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.

解决方案

1.Possibilities are very very high - Ximian is working on Mono project,
which is .NET framework for linux; I do cross windows / linux programming
and thus far it works and in some cases better then microsofts:)
2. Mac -... not sure about that, but considering that mac is running BSD
underneath, would not be surprised if Mono compiles there as well.
3. I have fears that .NET soon will be the only cross platform solution as
it looks like Sun might take Java down with it (would be a shame but hey -
that is another camp)
4. With Novell getting involved into Linux (and their recent purchase of
SuSe) they got to move somewhere (surely all of their products will move to
linux) but I would not be surprised if they start working on something that
will differentiate them from the rest of distributions (i.e. .NET? - this is
as wild guess as it gets.)
5. If you do develop cross platform get ready for the pain (no pivoke CLR
compliant code only)

"Champika Nirosh" <cn*****@textcentric.lk> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...

Hi All,

We have a windows from application written in C#, there we have used Browser COM and other basic libraries present in standard .NET/C# SDK. So the next
part is to make this appliaction available to Unix and Mac platform. I have couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.



Thanks Arthur for your detailful comment

"Arthur Mnev" <ar********@optonline-no-spam.net> wrote in message
news:u9**************@TK2MSFTNGP10.phx.gbl...

1.Possibilities are very very high - Ximian is working on Mono project,
which is .NET framework for linux; I do cross windows / linux programming
and thus far it works and in some cases better then microsofts:)
2. Mac -... not sure about that, but considering that mac is running BSD
underneath, would not be surprised if Mono compiles there as well.
3. I have fears that .NET soon will be the only cross platform solution as
it looks like Sun might take Java down with it (would be a shame but hey -
that is another camp)
4. With Novell getting involved into Linux (and their recent purchase of
SuSe) they got to move somewhere (surely all of their products will move to linux) but I would not be surprised if they start working on something that will differentiate them from the rest of distributions (i.e. .NET? - this is as wild guess as it gets.)
5. If you do develop cross platform get ready for the pain (no pivoke CLR
compliant code only)

"Champika Nirosh" <cn*****@textcentric.lk> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...

Hi All,

We have a windows from application written in C#, there we have used


Browser

COM and other basic libraries present in standard .NET/C# SDK. So the next part is to make this appliaction available to Unix and Mac platform. I


have

couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.




Hi,

If you want get things running, just use java works pretty nice and is very
similar to c#.

MONO, ROTOR, and WINE Takes years to get this stuff running, currently you can''t do pretty much
nothing with them, you can run hello world.

See c# controls converted to java, looks exactly same as in .NET.
http://www.lumisoft.ee/lsWWW/Downloa...UI/testUI.html
"Champika Nirosh" <cn*****@textcentric.lk> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl... Hi All,

We have a windows from application written in C#, there we have used Browser COM and other basic libraries present in standard .NET/C# SDK. So the next
part is to make this appliaction available to Unix and Mac platform. I have couple of questions here

1. What are the possibilities we have of doing some thing like this?
2. What are the technical chalenges we will face of doing this?
3. What are the direct indirect solution we have to achive our goal?
4. What short of support we can get from MONO, ROTOR, and WINE?

Please shade some light on these ........ I really appreciate it..
Add what ever comment you have becos we deadly need lots of ideas.

Thanks,
Regards,
Nirosh.



这篇关于使应用程序(.NET / C#)真正独立于平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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