webConnectionConfiguration Settings

Main configuration class for the Web Connection Module that holds operational settings.

These settings are persisted in the WebConnectionConfiguration section of the Web.config file and be set there.

<webConnectionConfiguration>
  <add key="Timeout" value="10" />
  <add key="PollTimeout" value="100" />
  <add key="PostBufferLimit" value="0" />
  <add key="TempPath" value="c:\temp\wc\" />
  <add key="TempFilePrefix" value="WC_" />
  <add key="MessagingMechanism" value="File" />
  <add key="AdminAccount" value="ANY" />
  <add key="AdminPage" value="~/admin.asp" />
  <add key="UpdateFile" value="c:\temp\server\wcdemo.exe" />
  <add key="LogDetail" value="False" />
  <add key="ValidateRequest" value="True" /> 
  <add key="ComServerProgId" value="wcdemo.wcdemoserver" />
  <add key="ComServerLoadingMode" value="LoadBased" />
  <add key="ServerCount" value="2" />
  <add key="ExeFile" value="c:\wwapps\wc3\wcdemo.exe" />
  <add key="AutoStartServers" value="True" />
  <add key="MessageDisplayFooter" value="&lt;small&gt;Page generated by Web Connection IIS Connector Module&lt;/small&gt;" />
  <add key="FileServerAutoStartAccountMode" value="Interactive" />
  <add key="UseCustomManifestLoading" value="False" />
</webConnectionConfiguration>
System.Object
   Westwind.Tools.wwAppConfiguration
      Westwind.WebConnection.AppConfiguration

Class Members

MemberDescription
AdminAccount The AdminAccount key sets the account that is allowed access to the administration functions in the Web Connection .NET or ISAPI Handler. The following values can be set: ANY Any authenticated…
AdminPage The adminstration page in the application. Allows use of ~ for the application path. The default is: <add key="AdminPage" value="~/administration.wc" />
AutoStartServers Determines whether servers are automatically started when the first hit comes into the module in File Mode (COM servers always auto-start). This flag also determines several related behaviors: If…
ComServerLoadingMode Deterimines how servers are processing requests. Round Robin simply goes through each of the servers one after the other while LoadBased always starts with the first server. The two settings values…
ComServerProgId The ProgId of the COM server to be loaded. Example: wcDemo.wcDemoServer which is a typical FoxPro generated COM server - by default generated from Project.Classname.
ExeFile Name of the EXE file for the server application. Used for launching File Based servers and also for uploading and hot swapping servers. The exe file needs to be a fully qualified path name or using a…
LogDetail Determines whether request data is logged in detail. True - create detail log entries False - create normal log entries
MessageDisplayFooter A default footer message displayed on the bottom of the Module's generic messages. This message should be Html encoded for safe display inside of an Html document.
MessagingMechanism Determines how messaging between the Web Server and FoxPro works in Web Connection: File COM File mode uses messaging semaphore file polling to check for new requests. FoxPro picks up the message…
PostBufferLimit Max size of the POST buffer in bytes - if bigger request is aborted 0 - means no checks are performed. Note that ASP.NET settings may override
ServerCount Determines how many server instances of the server are loaded both in COM mode (automatically) or in File Mode (via explicit launch or AutoStart option). Multiple server instances are needed to…
TempFilePrefix The temp file prefix for file based message files
TempPath The Path where message files are written for file based messaging. This path can either be a physical path or a path relative to the Web root folder. Web Root Folder Syntax…
Timeout The request timeout in seconds
UpdateFile The Update EXE file from which the Exe file can be hot swapped

Assembly: webconnectionmodule.dll