Skip to content

The web.config File

ASP.NET configuration parameters are defined in a file called web.config located in or above the root directory of an ASP.NET application. Parameters defined in these files supplement or override ASP.NET parameters that are defined system-wide.

The web.config file provided with Dyalog is located in [DYALOG]\Samples\asp.net and applies to all the examples residing in child directories of this directory. If you create a Dyalog ASP.NET application elsewhere on your system, you will need to copy web.config into the application root directory. The parameters defined in the web.config file are (further details are provided in comments in the file):

  • DyalogBinDirectory
    This specifies the full path to the Dyalog binaries (DLLs and Dyalog .NET Compiler).

  • dyalog (compiler)
    This section defines an ASP.NET language named dyalog; the expression Language = "dyalog" in a script file associates that script with the Dyalog .NET Compiler dyalogc.exe. Subsidiary parameters and keys for the dyalog compiler are:

    • debug – "true" (default) to bind the script to the Development DLL, or "false" to bind the script to the run-time DLL.

    • DyalogCompilerEncoding – "classic" or "unicode".

    • DyalogCompilerOptions – defines options for the Dyalog .NET Compiler, for example, to set ⎕WXto 1, use "/wx:1".

    • DyalogCompilerEmitPragmas – set to "true" if you are using workspace behind (for more information on workspace behind, see Workspace Behind).

  • DyalogIsolationMode
    This parameter specifies the isolation method. For more information on isolation modes, see Isolation Mode.

  • DyalogCacheDirectory
    This parameter defines the directory in which to save cached files.