Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: module programming |
|
Author |
|
deostroll
Joined: 12 Feb 2010 Posts: 1
|
Posted: Fri 12 Feb '10 10:01 Post subject: module programming |
|
|
I am a newbie with the apache web server. Learning very slowly too. Just have an idea of building an http web server application, something in the likes of php, or asp.net.
Say I have a dll which is intended to serve a request. This dll is a managed process. I know apache treats each request as a thread. All the necessary request related data structures are available for use in the thread. I need to call this dll from the thread. I am not clear how to do so?
Since the dll is a managed one, I know I have to invoke the CLR, create the appdomain, load the assembly, etc, etc. Invoking the clr from an unmanaged process involves talking with specific COM interfaces. Hence loading the CLR itself is an expensive operation.
Does apache modules have an infrastructure/setup by means of which we can load this dll once...? And if this dll is loaded, how do I get the multiple request threads to utilize the dll methods/functionality? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
|
|
|
|
|