.NET 和 Mono 的开发差异

Differences in development between .NET and Mono(.NET 和 Mono 的开发差异)
本文介绍了.NET 和 Mono 的开发差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究 Mono 和 .NET C#,将来开发项目时,我们需要在 Linux 服务器上运行代码.在这一点上,我一直在研究 ASP.NET MVC 和 Mono.

I'm looking into Mono and .NET C# and we'll be needing to run the code on Linux Servers in the future when the project is developed. At this point I've been looking at ASP.NET MVC and Mono.

我运行一个 Ubuntu 发行版并想开发 Web 应用程序,其他一些开发人员使用 Windows 并使用 Visual Studio 运行其他 .NET 项目.

I run an Ubuntu distro and want to do development for a web application, some of the other developers use Windows and run other .NET items with Visual Studio.

Mono 没有提供 Visual Studio 提供的哪些功能?

如果稍后在 Linux 上运行它,我们不应该使用 MonoDevelop 吗?

是否有一些第三方工具或插件以后可能会成为 Mono 的问题?

推荐答案

Mono 没有提供哪些 Visual Studio 提供的功能?
MonoDevelop 大概就是你在这里的意思.MonoDevelop 提供基于 GTK 的 Linux、Mac OS X、Windows 上的跨平台开发.然而,由于显而易见的原因,它不像 Visual Studio 那样精致——它是 3 个人制作的,而不是数百人.它有一些不错的特性,尤其是它的源代码控制插件架构.然而,由于 Visual Studio Express 是免费的,因此在 Windows 上使用它并没有太多优势.

What does Mono not provide that Visual Studio does?
MonoDevelop is presumably what you mean here. MonoDevelop offers cross platform development on Linux, Mac OS X, Windows based on GTK. However it is not as polished as Visual Studio for obvious reasons - it's 3 people making it, not hundreds. It has some nice features, especially its source control plugin architecture. However as Visual Studio Express is free there aren't many advantages on Windows to using it.

它使用与 Visual Studio 相同的 .csproj.sln 格式,但是 XML 文档格式不同.

It uses the same .csproj and .sln format as Visual Studio, however the XML docs format is different.

如果稍后在 Linux 上运行它,我们不应该使用 MonoDevelop 吗?
正如我上面提到的,项目格式是可互操作的.

If running this on Linux later shouldn't we use MonoDevelop ?
As I mentioned above, the project formats are inter-operable.

是否有一些第三方工具或插件以后可能会成为 Mono 的问题?
与 Visual Studio 不同,Monodevelop 没有大量的插件.您在 Monodevelop 中使用的文件根本不会影响您的 .csproj 文件,因为 Visual Studio 无法读取的任何内容通常都会忽略.

Are there some third party tools or add-ins that might be an issue with Mono later?
Unlike Visual Studio, there aren't a huge wealth of add-ins for Monodevelop. The ones that you use in Monodevelop won't effect your .csproj files at all, as anything Visual Studio cannot read it generally ignores.

正如人们所说,不要将 Mono 与 MonoDevelop 混淆.MonoDevelop 是 Mono 的 IDE,最初来自(分叉)SharpDevelop.

As people have said don't confuse Mono for MonoDevelop. MonoDevelop is an IDE for Mono that originally came from (forked) SharpDevelop.

Mono 是模仿"Microsoft CLR 和框架库的跨平台框架.

Mono is the cross platform framework that 'apes' the Microsoft CLR and framework libraries.

这篇关于.NET 和 Mono 的开发差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

DispatcherQueue null when trying to update Ui property in ViewModel(尝试更新ViewModel中的Ui属性时DispatcherQueue为空)
Drawing over all windows on multiple monitors(在多个监视器上绘制所有窗口)
Programmatically show the desktop(以编程方式显示桌面)
c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
LINQ many-to-many relationship, how to write a correct WHERE clause?(LINQ多对多关系,如何写一个正确的WHERE子句?)