[Mono-list] Starting a XSP instance from code

Mat Arge argemat1010 at gmail.com
Wed Apr 10 09:39:09 UTC 2013


Hello!

For some nunit tests I would like to start (and stop) an xsp instance from 
code. I found a pretty old blog entry which describes how to do it here: 
http://weblogs.asp.net/britchie/archive/2005/07/25/embedding-xsp-mono-webserver-in-your-application.aspx

This works basically fine, the only problem is, that I am getting a compiler 
warning: 
test.cs(11,9): warning CS0618: `Mono.WebServer.XSPWebSource' is obsolete: 
`This class should not be used. It will be removed from Mono.WebServer.dll'

Since XSPWebSource has been obsoleted, is there a class which replaces it? 
What is the current and more future proof way of running a webserver from 
code?

cheers
Mat


More information about the Mono-list mailing list