[Mono-aspnet-list] I'm a Windows web developer, need help with Mono

Marek Habersack grendel at twistedcode.net
Tue May 26 05:03:46 EDT 2009


mlad0921 wrote:
> Like mentioned, I am a windows-based web developer.  Recently, I was
> approached about doing a project and the person was insistent on using a
> host that uses unix-based servers.  I told them I would prefer to develop
> with ASP.net, and was told about the mono project.  Before this, I have
> never heard about Mono at all.  Though they have control over this server,
> they don't want to install the Mono runtime on the machine.  I looked
Well, it seems they want to have the cake and eat the cake. Or, in other words, they rather have no 
idea what they are talking about. It's as if you wanted to host ASP.NET on Windows without 
installing .NET and IIS - not possible. I would ask them how they imagine running .NET code without 
.NET environment installed?

> through this site, and saw that you can embed Mono in your applications. 
Yes, you can, but you still need to install Mono, of course. Unless you want to create a bundle, 
which will be a one, huge file with everything needed embedded. Even if you went along that route, 
you'd have to implement your own web server (you could reuse Mono's XSP code, but it's not a 
general-purpose webserver) and unless they pay you really good money, the whole task is not worth it.

> Does this mean I can run my asp.net pages on the Unix machine without them
> doing anything to the server?  If so, can someone please explain how I go
As described above, yes, it is possible. Is it practical? No. But if you insist, you can check this 
repository - http://anonsvn.mono-project.com/viewvc/trunk/gert/ - and hunt for Web tests in there 
which will show you how to host ASP.NET in a stand-alone application. Also, have a look at 
http://www.west-wind.com/presentations/aspnetruntime/aspnetruntime.asp (old, but still stands). If 
you still want to embed Mono in your C application, take a look at 
http://www.mono-project.com/Embedding_Mono

> about doing this, I have no idea where to even begin.  I tried to read the
> tutorial on this site, but I am not that advanced of a programmer, I need it
> explained in the simplest terms possible.  Any help would be much
> appreciated.
Well, I would recommend not taking the project unless you can convice them to install Mono (or ask 
them why they don't want to do so and, if they have any concerns, reflect them to this mailing list 
and we'll try to address them one by one)

regards,

marek



More information about the Mono-aspnet-list mailing list