[Mono-devel-list] xsp webservice initialization on startup
chicago5 at gmx.de
chicago5 at gmx.de
Sun Nov 7 04:06:36 EST 2004
> > so i guess the Application_Start is never called.?
>
> Try using the global.asax attached.
>
> -Gonzalo
Not working. I am using the debian release since the CVS version seriously
made too much trouble and didn't compile once fully in at least a dozen
trys. (I had that mscorlib problem, too).
root at usdev:/home/us/.NET/Server3# ls
global.asax
root at usdev:/home/us/.NET/Server3# xsp --version
xsp.exe 1.0.0.0
(c) 2002,2003 Ximian, Inc.
(c) 2003,2004 Novell, Inc.
Minimalistic web server for testing System.Web
root at usdev:/home/us/.NET/Server3# cat global.asax
<script runat="server" language="c#">
void Application_Start (object o, EventArgs args)
{
Console.WriteLine ("Application_Start");
}
void Application_End (object o, EventArgs args)
{
Console.WriteLine ("Application_End");
}
</script>
root at usdev:/home/us/.NET/Server3# xsp
Adding applications '/:.'...
Registering application:
Host: any
Port: any
Virtual path: /
Physical path: /home/us/.NET/Server3
Listening on port: 8080
Listening on address: 0.0.0.0
Root directory: /home/us/.NET/Server3
Hit Return to stop the server.
???
regards,
ulrich
More information about the Mono-devel-list
mailing list