[Mono-list] XSP under Microsoft framework

manzi mdaneri at vmware.com
Sun Dec 13 08:23:23 EST 2009


Hi guys,
I've some problem with mono runtime and I've to use the microsoft one, but I
want use XSP as web server, I see that MonoDevelop can use it with the
Microsoft framework , but I tried to run it alone without luck , I've also
try to use this simple program compiled under VS2008 

using System;
using System.Text;
using Mono.WebServer;
using System.Net;

namespace monoweb
{
    class Program
    {
        static void Main(string[] args)
        {
            int Port = 8083;
             XSPWebSource websource = new XSPWebSource(IPAddress.Any, Port);
            ApplicationServer WebAppServer = new
ApplicationServer(websource);                      
            WebAppServer.AddApplicationsFromCommandLine("/:.");            
            WebAppServer.Start(true);
            Console.WriteLine("Mono.WebServer running. Press enter to
exit...");
            Console.ReadLine();
            WebAppServer.Stop();

        }
    }
}

someone  coul help me , thx :)
-- 
View this message in context: http://old.nabble.com/XSP-under-Microsoft-framework-tp26766058p26766058.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list