[Mono-list] asp.net and virtual hosting

Jaroslaw Kowalski jaak@zd.com.pl
Thu, 20 May 2004 21:28:50 +0200


1. Applications define appdomain boundaries - each application runs in a
separate appdomain so that the types it uses are kept separate from other
applications running within the same process (mod-mono-server.exe and under
MS.NET: aspnet_wp.exe).

2. It is possible to extend mod-mono-server.exe to accept wildcards for
application names. This way automated hosting would be possible. For example
you can map each directory to a separate application:

/var/users/user1/ - would be app1
/var/users/user2/ - would be app2
...
/var/users/userN/ - would be appN

I think that a patch like this would be relatively easy to write and very
useful.

Jarek
----- Original Message ----- 
From: "mc" <mc@netx.com.hk>
To: <mono-list@lists.ximian.com>
Sent: Thursday, May 20, 2004 9:10 PM
Subject: [Mono-list] asp.net and virtual hosting


> Hi all,
>
> Sorry if this is not the right place to ask this question....
>
> I am a newbie to mono and .NET..in fact I don't know much about ASP.NET. I
> have a doubt which really annoys me.
>
> Why is it a must to keep the asp.net pages in a so-called 'application'? I
> don't really understand what's meant by an application exactly...coz I am
> used to writing php/perl CGIs, and seems that they don't have such
concept.
>
> This idea annoys me because my apache is configured to serve mass virtual
> hosts dynamically. Usually for the perl/php case, I just need to map *.pl
> *.php to their respective handler. But for the asp.net (or maybe even the
> JSP as well?) I need to setup applications to handle the pages. Why is it
> necessary to have applications? It sounds to me that it would be quite
> troublesome to setup so many applications on the web server....
>
> By the way, would that imply that it is not sensible/possible to provide
> asp.net hosting service to a lot of users on a shared server if the
> 'application' restriction must apply? coz I might need to create thousands
> of applications for them, which could add a lot of work load to me, and
> causing the httpd.conf to grow very very big.
>
> Could anyone kindly give me some guidance on this matter?
> I'd appreciate your help!!
>
>
> Best regards
> mc.
>
> P.S.: sorry for my poor english :)
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>