What are the differences between Mono's and Mi

2019-08-08 21:06发布

问题:

I'm about to launch an ASP.NET web site which will be running on a Linux server using Mono. First I would like to do some testing on my own machine. I have heard lots of info about Mono, but this is the first time I actually use it for a project.

So far, I have only deployed my applications on IIS servers. I would like to get some information about the differences between the two, but most of the questions about Mono on StackOverflow are a bit dated.

So, here are my specific questions:

  • Which parts of ASP.NET 4.0 are not supported?
  • Can I use NHibernate with MySQL with Mono?
  • Can I use ASP.NET MVC with Mono? Is it a part of it, or its assembly needs to be in my bin directory?
  • Can I use MEF with Mono? Is it a part of it, or its assembly needs to be in my bin directory?
  • Is it possible to map extensionless URLs to Mono's ASP.NET on Apache?

Thanks in advance for your answers!

EDIT:

I know that the avaliable version of Mono may differ between Linux distributions, but it is usually possible to install the latest version on any of them. Thus, the question is about the latest available Mono version.

回答1:

Which parts of ASP.NET 4.0 are not supported?

Full support for ASP.NET 4.0 API is planned in version 2.8.

Can I use NHibernate with MySQL with Mono?

Yes you can.

Can I use ASP.NET MVC with Mono? Is it a part of it, or its assembly needs to be in my bin directory?

ASP.NET MVC 2 is included in Mono 2.6.7 and you don't need the assembly in your bin folder.

Can I use MEF with Mono? Is it a part of it, or its assembly needs to be in my bin directory?

MEF should also be included in version 2.6.7, however I can't confirm it since I only tried ASP.NET MVC 2.

Is it possible to map extensionless URLs to Mono's ASP.NET on Apache?

No idea about this.