开发者

Extent of platform independence of the .NET framework

I am a budding .NET developer. I 开发者_如何学Cwanted to know to what extent does the Mono project support the .NET applications. Where can I find detailed information about what classes/functionalities have been implemented?

Also, is there a significant difference in coding style when targeting the mono implementation of the CLR?(I realize that this question is not very clear, please try to answer it if possible.)

Additionally, what about WPF support?

I know I could Google a lot of this(and I did too), but somehow, it's not the same.


WPF is not supported at all, plain and simple. Silverlight (aka Moonligth) is. Class implementation status is tracked automatically online. Also, you can use a tool called MoMA to help you find API you use that is not yet present in Mono.


See this page for a comprehensive list.

WPF among other things is not supported.


Things Supported by MONO (PROS):

1- MONO perfectly supports the whole .NET framework up until version 2.0.

2- Support for Windows Forms is almost complete and it has never troubled me.

3- The MONO Project also provides a .NET Binding of GTK+ called GTK# included in MONO and provided as an installer for .NET 1.1 and later.

4- Mono runs exes compiled by the .NET Framework (The vice-versa is also true till .NET 2.0)

5- You can run Windows Executables (.exe) with MONO from other platforms directly without needing to cross-compile.

6- Microsoft Silverlight has a MONO implementation called MoonLight.

7- You can embed the MONO Runtime into your executables (optional and untested).

Things not Supported (CONS):

1- No or incomplete support after .NET 2.0 including new things like WPF.

2- MONO only completely supports C# and a little of VB (C++ .NET and Boo are not supported)

All in all MONO is completely compatible with the .NET Framework as long as you are using .NET 2.0 or earlier, hence .NET 2.0 or earlier is completely cross-platform, but things made later can be a problem. So if you are using only ,NET 2,0 or earlier features in your code, you can run it perfectly with MONO.


See here regarding WPF:

I would not hold my breath for WPF from Mono. I have seen estimates of 50 developer years of effort and it is not worth that much to Novell. They are targeting mobile and games as far as I can tell. It seems unlikely that anybody else will step-up for that kind of effort.

@BoltClock wpf on mono won't happen.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜