[Mono-aspnet-list] difference between Visual Studio ASP.NET and Mono ASP.NET

Chris Capon ttabyss at gmail.com
Mon Sep 3 18:44:33 UTC 2012


I'm not an expert, but from my own experience they run pretty much the 
same.  An ASP.NET app compiled under Visual Studio will run under 
Mono/Linux and at close to the same speed.

Our application uses .NET 2.0 so all of the library objects we use have 
been implemented under Mono.  You may want to check out their library 
documentation or just run your app to find out.  You can't assume all of 
the System library has been written yet, though I've found the Dev team 
pretty responsive to requests for missing pieces.

One item I've found is that Web.config settings do not inherit 
properties from parent folders, so if you use a hierarchy of 
applications you may have to set up the Web.config at each level.

When setting up an ASP.NET application, install Apache2 and mono-server4 
on your Debian/Linux server.  You don't need to configure anything under 
Apache, rather, just add a configuration folder and file under 
/etc/mono-server4/conf.d, specify the path= and alias= parameters then 
restart the server using the mod_mono control panel (located at 
http://localhost/mono).

Depending on the location of your executables, you may need to fiddle 
with security permissions to allow user www-data access to the folder.  
Also, if you use any authenticated access to your application, you may 
need to rework or rethink it.  Windows integrated authentication is not 
available, but alternatives are.




On 2012-09-03 08:46, Gergely Buday wrote:
> Hi there,
>
> what are the crucial differences of using Visual Studio asp.net on
> Windows versus using Mono asp.net on Linux?
>
> - Gergely
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list



More information about the Mono-aspnet-list mailing list