跨平台的.NET?平台、NET

2023-09-03 07:23:07 作者:抖音昵称

如果你是写在本地运行,并调用Web服务,是跨平台的GUI应用程序,你可以与.net这样做,你会推荐什么样的工具?

If you were to write an GUI application that runs locally and calls a webservice, to be cross platform, can you do it with .Net, what tools would you recommend?

我正在考虑Java的,因为它会相对容易拿起由于其C#相似,然后我可以使用JVM。

I was considering Java as it would be relatively easy to pick up due to its C# similarity and then I could use the JVM.

推荐答案

您应该熟悉 Mono项目并 MonoDevelop的;这些项目的前preSS的目的是为了让构建和运行.NET code在多种平台,包括Windows,Linux和Mac OSX。

You should get familiar with the Mono project and MonoDevelop; the express purpose of those projects is to allow building and running .NET code on a variety of platforms, including Windows, Linux, and Mac OSX.

由于Mono是一个重新实现.NET的,它总是滞后有点落后Microsoft.NET,但他们已经得到了.NET 2.0良好的覆盖和部分.NET 3.x的功能。需要注意的是单声道执行.NET二进制文件,所以只要你的程序的特点是由单声道的支持,你可以把一个应用程序EXE您遵守在Windows和Linux上的/单声道运行而无需重新编译。

Since the Mono is a re-implementation of .NET, it always lags a little behind Microsoft.NET, but they've got good coverage of .NET 2.0 and some .NET 3.x features. Note that Mono executes .NET binaries, so as long as your program features are supported by Mono, you can take an application EXE you complied on Windows and run it on Linux/Mono without recompiling.