[Mono-list] HTTP 500 error while accessing a webservice developed in asp.net from RHEL with Mono installed

Edward Ned Harvey (mono) edward.harvey.mono at clevertrove.com
Mon Feb 22 13:51:14 UTC 2016

> From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> bounces at lists.ximian.com] On Behalf Of Madhu Gowda
> I am new to linux and Mono.
> I have a simple webservice developed in asp.net using visual studio.
> I want to host this on a linux apache httpd server.

Just so you know, although .NET and mono both support ASP.NET and MVC, they are quite different from each other. You may have success, but I know I never had much luck running the ASP.NET project from Visual Studio on mono, or vice-versa. I found that it works well if you either (a) develop your service on mono, using xamarin studio or monodevelop, and then run on mono, or (b) develop your service in VS, and deploy on windows server or Azure.

Again, you might have better luck than me.

Side note: I'm extremely impressed with the ease of developing ASP.NET in VS, and deploying to azure. It's fully integrated; you just enter your azure credentials and Publish. I didn't feel love for mono ASP.Net a year ago, as it was not supported in any of the distro packages - you had to build from source, watch for security fixes, re-build from source to apply updates, and manage your own selinux/apparmor policies and stuff like that. It felt very undercooked to me, but some people are using it.

More information about the Mono-list mailing list