Fri Feb 8 08:55:55 EST 2008
the same way as IIS (and other web servers) in that
you app is only going to get a chance to do anything
when its first request is received.
Likewise global.asax only gets called when the first
request is received. To get access to objects from
global.asax you will need to use singletons, as you
suggest, or pass them around in the Application
>chicago5 at gmx.de
Date: Sun, 7 Nov 2004 10:33:18 +0100 (MET)
From: "Ulrich Staudinger" <chicago5 at gmx.de>
To: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-devel-list] xsp webservice
initialization on startup
Hmm.... i experimented a bit and found out that the
after the first call to the server on any url. And
in fact global and i can't work on my webservice
applications in the
global.asax. Or do all applications inside the xsp
container share the
memory, thus a static object initialized in
global.asax can be accessed
used in a webservice, i.e. service.asmx?
Well, that's not what i was looking for - i was
looking for a way to
initialize my WebService on server startup.
Can you help a little more?
Do you Yahoo!?
Check out the new Yahoo! Front Page.
More information about the Mono-devel-list