[Mono-devel-list] xsp webservice initialization on startup
Ulrich.Staudinger at gmx.de
Sat Nov 6 19:39:49 EST 2004
thanks for replying so fast.
It doesn't work. I am using
http://bdn.borland.com/article/0,1410,32057,00.html#ListingFour to test this
Application_Start by adding some Console.WriteLine()s into the function. i
am doing exactly the same as on the tutorial page - but there is no output
in the xsp console.
when adding WriteLines to the other cs file, the WriteLines are printed ...
so i guess the Application_Start is never called.?
Is this a bug?
thanks in advance,
> 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
> > moderated (because i sent an 81kb log file) and now i can't post any
> > 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
> > 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
> > 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
> > implements web service methods)? what do i need to add to call something
> > soon as the server starts?
> > many thanks in advance!
> > Mono is an outstanding package - especially in conjunction with
> > best regards,
> > ulrich
> You can use the Application_Start event. See the documentation on
> Global.asax file in MSDN.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list