[Mono-devel-list] xsp webservice initialization on startup

Gonzalo Paniagua Javier gonzalo at ximian.com
Sat Nov 6 18:29:27 EST 2004


On Sun, 2004-11-07 at 00:00 +0100, chicago5 at gmx.de wrote:
> hello,
> i can't post from my other email account. there is one email from me to be
> moderated (because i sent an 81kb log file) and now i can't post any email
> to the list at all through my other email account. 
> 
> anyway, here is what i originally wanted to say + ask (many thanks in
> advance):
> ---
> hello,
> 
> please ignore my unknowledge in this field, but is there a way to initialize
> my webservice (written in an .asmx file) upon xsp startup?
> 
> My books i have available don't tell me if it's possible or not and the web
> is not very clean on this topic.
> 
> my constructor is called once, but only as soon as a client accesses the
> service - i need to start some other stuff ...
> 
> am i doing things right or should i use another approach (i.e. an exe with
> implements web service methods)? what do i need to add to call something as
> soon as the server starts?
> 
> many thanks in advance!
> Mono is an outstanding package - especially in conjunction with soap+java!
> best regards,
> ulrich

You can use the Application_Start event. See the documentation on
Global.asax file in MSDN.

-Gonzalo





More information about the Mono-devel-list mailing list