Notes for .NET Developers
The
GridServerNetClient.dll references GridServerNetBridge, which isn’t needed for clients. This causes a build warning about GridServerNetBridge, but can safely be ignored.
To throw a custom exception from a .NET Service and retain all data when the exception reaches the .NET client, the exception must implement
ISerializable. For more information, consult MSDN.
Parts of the
BatchInfo, ServiceInfo, Options, and Discriminator classes use variable / constant names that are not CLS compliant, and might not be usable from non-C# Framework languages. If this is an issue, contact DataSynapse technical support for a possible workaround.
.NET cache loaders for GridCache must be packaged as a Super Grid Library. For more information about using Super Grid Libraries, see the TIBCO GridServer® Administration.
Related information
For .NET5 users
For .NET5 users, .NET5 version 5.0.404 for Windows and Linux is supported. The example of .NET5 is under
examples\service\net5 directory and the client assemblies are in the NET5Driver directory. For the NET5 service, you must configure Service Type as NET5.
If you are running .NET5 service on Linux, you must change the
GCC build version to gcc49 in the Engine Configuration.
If your system does not support globalization and you get the following error:
Couldn't find a valid ICU package installed on the system,
add the following environment variable before running NET5:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true
**Note:**When you compile a .NET5 project, ensure that the outpath does not contain spaces. If the outpath contains spaces, then enter the outpath in double quotes (" "). For example,
-o "${basedir}\work\net5calculator-1.0.0.1\assemblies"