The first three fields in a .NET gateway definition are common to all gateways and the next three are specific to .NET gateways. These are shown in order in the following:
-
Type (required) — Type of the gateway. When defining a .NET gateway, this is set to .NET.
-
Port (required) — TCP port number for communication between the gateway and the proxy classes in InterSystems IRIS. This port number must not conflict with any other local TCP port on the server.
-
Resource — The gateway resourceOpens in a new tab that controls access to this gateway; in the default CPF, this is %Gateway_Object.
Important:
If no resource is specified, the gateway is public, but InterSystems strongly recommends protecting all gateways using this mechanism.
-
DotNetVersion — Specifies the .NET version to be used. Possible values are N6.0, N5.0, F4.6.2, F4.5, F3.5, F2.0, and C2.1; the default is N6.0.
Note:
The default of N6.0 is specified in the default CPF to ensure it is set when an instance is upgraded from a prior version in which the default was F4.5.
-
FilePath — Location of the gateway executable, used in assembling the command to start the gateway on the local server. If this setting is not specified, the default directory install-dir\dev\dotnet\bin\ is used, with the appropriate subdirectory selected according to the DotNetVersion setting, for example if DotNetVersion is N6.0 the FilePath would be install-dir\dev\dotnet\bin\net6.0.
Note:
Executables for DotNetVersion values F4.5, F2.0 and C2.1 are not installed with the current version of InterSystems IRIS, but the values are provided to support use of these executables from an earlier version.
-
Exec32 — On 64-bit platforms, a value of 1 indicates that the gateway is to be executed as 32-bit; the default is 0, for 64–bit.