123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- Index: trunk/CassiniDev/CassiniDevServerOP.cs
- ===================================================================
- --- trunk/CassiniDev/CassiniDevServerOP.cs (revision 63619)
- +++ trunk/CassiniDev/CassiniDevServerOP.cs (working copy)
- @@ -80,6 +80,16 @@
- }
-
- /// <summary>
- + /// Will start specified application as "localhost" on loopback and first available port in the range 8000-10000 with vpath "/"
- + /// </summary>
- + /// <param name="applicationPath">Physical path to application.</param>
- + /// <param name="virtualPath">Optional. defaults to "/"</param>
- + public void StartServer(string applicationPath, string virtualPath)
- + {
- + StartServer(applicationPath, CassiniNetworkUtils.GetAvailablePort(8000, 10000, IPAddress.Loopback, true), virtualPath, "localhost");
- + }
- +
- + /// <summary>
- /// Will start specified application on loopback
- /// </summary>
- /// <param name="applicationPath">Physical path to application.</param>
- Index: trunk/CassiniDev/CassiniServer.cs
- ===================================================================
- --- trunk/CassiniDev/CassiniServer.cs (revision 63619)
- +++ trunk/CassiniDev/CassiniServer.cs (working copy)
- @@ -65,12 +65,22 @@
- /// Will start specified application as "localhost" on loopback and first available port in the range 8000-10000 with vpath "/"
- /// </summary>
- /// <param name="applicationPath">Physical path to application.</param>
- + /// <param name="virtualPath">Optional. defaults to "/"</param>
- public void StartServer(string applicationPath)
- {
- StartServer(applicationPath, CassiniNetworkUtils.GetAvailablePort(8000, 10000, IPAddress.Loopback, true), "/", "localhost");
- }
-
- /// <summary>
- + /// Will start specified application as "localhost" on loopback and first available port in the range 8000-10000 with vpath "/"
- + /// </summary>
- + /// <param name="applicationPath">Physical path to application.</param>
- + public void StartServer(string applicationPath, string virtualPath)
- + {
- + StartServer(applicationPath, CassiniNetworkUtils.GetAvailablePort(8000, 10000, IPAddress.Loopback, true), virtualPath, "localhost");
- + }
- +
- + /// <summary>
- /// Will start specified application on loopback
- /// </summary>
- /// <param name="applicationPath">Physical path to application.</param>
|