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

Ulrich Staudinger Ulrich.Staudinger at gmx.de
Sun Nov 7 04:02:44 EST 2004


> 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.
 

???




More information about the Mono-devel-list mailing list