Question
· Jan 28

Connect to .Net8 on Linux for cache db

I have an old .NET 4.5 project, working with database InterSystems.Cache. The project is deployed on a Windows server. Data is retrieved using the InterSystems.Data.CacheClient.dll library.

But now I'm planning migration of the project to .NET 8 to container with linux centos.

How can I get data from InterSystems.Cache in this case?

As I understand it, InterSystems.Data.CacheClient.dll is only for the .NET framework.

The InterSystems.Data.IRISClient.dll library recommended for the more modern InterSystems.IRIS database throws an error 'InterSystems Iris Provider is not compatible with Cache xDBC server'

Discussion (2)2
Log in or sign up to continue

As a result InterSystems.Data.CacheClient.dll is not only for the .NET framework

After some selection, we managed to obtain data using the set: Net8 + Linux Debian 12.8 + InterSystems.Data.CacheClient.dll Version:2015.2.0.517.0

 var cacheConnect = new CacheConnection
 {
     ConnectionString = connectionString
 };
 cacheConnect.Open();
     Console.WriteLine("CacheConnection connected");
 cacheConnect.Close();

It works fine