wwUtils::LaunchVsWebServer

Can be used to launch the Visual Studio Web Server (webserver.webdev.exe in the .NET 2.0 Framework dir) or the Web Connection Cassini Web Server for use with the Web Connection Managed module. Cassini is similar to the Visual Studio server but can be redistributed with your applications for local Web server operation.

Note this feature is also available via command the CONSOLE:

DO console WITH "LAUNCHVSWEBSERVER","c:\westwind\wconnect\webcontrols","81","/webcontrols"

or from the Windows Command Prompt:

console "LAUNCHCASSINI" "c:\westwind\wconnect\webcontrols" 81 "/webcontrols"

Please be sure to read the startup and configuration sections - both servers require startup configuration.

o.LaunchVsWebServer(lcPhysical,lnPort,lcVirtual,lnType)

Parameters

lcPhysical
The physical path of the virtual directory to run in

lnPort
The port that the server is to run on. Defaults to 81 if not provided.

lcVirtual
An optional virtual path for this application. Should be provided as a virtual, relative path ie. /wconnect or /webdemo/subapp. If not provided / is used.

lnType
0 - VS Web Server 1 - Web Connection Cassini Web Server


See also:

Library wwUtils | Using Web Connection Cassini Standalone Web Server

© West Wind Technologies, 2023 • Updated: 01/04/16
Comment or report problem with topic