[Mono-list] Web: Apache v/s IIS
Sat, 22 Dec 2001 21:14:02 +0530
----- Original Message -----
From: "Patrik Torstensson" <firstname.lastname@example.org>
To: "Bob Smith" <email@example.com>; "Gaurav Vaish" <firstname.lastname@example.org>
Sent: Saturday, December 22, 2001 18:47
Subject: SV: [Mono-list] Web: Apache v/s IIS
: Therefore I implemeted a new interface that then the correct request provider can implement, and I think the HttpRuntime should be
abstract and be implemented for different web servers. The webservers Ãƒs then responsible for starting the HttpRuntime and post
the request via the implementation of the request handler. I can post the code soon for my server (just need to flush out the bugs)
and I think a lot of that code could be reused for Mono.
I am not sure of making HttpRuntime abstact since in my opinion, we should not tamper with the API - though we may add another
abstact class and appreciate the developers to use that instead of HttpRuntime (lest we find time to debate over this issue).
But, yes, your code may prove to be of great help to us.
: The named pipe implementation in IIS is in unmanaged code and the unmanaged code hostes a AppDomain that starts the HttpRuntime.
And I think this could be a good idea for the Mono implementation also due to that the Web framework uses threads (a thread pool
that is implemented in the unmanaged code using IOCP) and for example Apache is not. With the abstraction with a named pipe or
TCP/IP layer we don't need to take that into considiration for each implementation plus we can implement things like webgardens and
other cool functionality.
Can you please enlight more on this since I have not looked into the IIS very closely. Not sure much about starting the
HttpRuntime, but yes, definitely, there's a lot of unmanaged code that has gone into the runtime.
Anyway, Bob's idea of mod_mono for Apache would be good thing - noting that it may not only be of great help to Mono but also to
others who wish to interface using the .NET aware languages.
: - Patrik
: -----Ursprungligt meddelande-----
: FrÃ¥n: Bob Smith [mailto:email@example.com]
: Skickat: fr 2001-12-21 18:48
: Till: Gaurav Vaish
: Kopia: firstname.lastname@example.org
: Ã„mne: Re: [Mono-list] Web: Apache v/s IIS
: What I was thinking of doing is adding a mod_mono into apache which would
: allow apache modules to be written with CIL. Then, write a module that
: passes the required information to HttpRuntime. The other way would be to
: do it the way Microsoft did it. Have a totally seperate process for the
: HttpRuntime and send requests at it via named pipes.
: On Fri, 21 Dec 2001, Gaurav Vaish wrote:
: > Hello,
: > Some variables in System.Web.HttpRuntime (App*, Clr*) are highly Windows/IIS specific. I can get the required information
: > aspnet_isapi.dll etc, but I am totally stuck at from where to load in case of Apache - and that too when I have two cases:
: > and linux.
: > Any clues?
: > [One example of what I actually need is System.Web.Utils.ApacheVersionInfo as against <namespace>.IISVersionInfo]
: > Cheers,
: > Gaurav Vaish
: > ----------------------------
: > _______________________________________________
: > Mono-list maillist - Monoemail@example.com
: > http://lists.ximian.com/mailman/listinfo/mono-list
: Mono-list maillist - Monofirstname.lastname@example.org