Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Apr 26, 2012 12:35 AM|LINK
Hi there I am using CassiniDev server (one which is used by VS2010 as a local ASP.NET development server ).
I have a class MyCassiniDevUtil which has following method:
public CassiniDevServer launchWebsite(string path, string navigate, int _portNo)
CassiniDevServer _server = new CassiniDevServer(); ///server
_server.StartServer(path, _portNo, "/", "localhost");
portNo = _portNo;
System.Diagnostics.Process.Start("http://localhost:" + portNo +
"/" + navigate);
But because I am not setting the TimeOut option of the server, after some time when I refresh the webpage. the browser says Cannot connect. How can I set the TimeOut option of the CassiniDev server?