CouchBase Server 6.0.0-1693 .NET SDK compatibility

Hello everyone!

Could you please advise what would be the .NET SKD compatible version for CouchBase Server 6.0.0-1693? Could we use series 3.8.x or series 2.7.x or both?
We are currently using .NET SDK 2.7.27 but we want to upgrade it to 3.8.1 to resolve the vulnerabilities but I am not sure if 3.8.x is compatible with our CouchBase Server version 6.0.0-1693.

Thank you!

Hi, you will likely not find any information on compatibility between these versions because they have not been tested as a combination by Couchbase. This is because Couchbase Server 6.0 reached End of Life status in October 2022 while version 3.8 of the .NET SDK was released in August 2025.

1 Like

Hi!
Thank you so much for the prompt feedback, it absolutely resonates with me that if the 2 versions (i.e. couchbase server 6.0 and .net sdk 3.8) were not tested against each other then there might be issues using them together. However while posting my question to the forum, I also asked the Couchbase AI chatbot in the main Couchbase webpage, and received this answer from it:

Based on the information provided, the Couchbase .NET SDK version 3.8.x is compatible with Couchbase Server 6.0.0-1693. The documentation clearly states that the .NET SDK 3.8.x is compatible with .NET Standard 2.0 and .NET Standard 2.1, which includes Couchbase Server versions up to 8.0.0. Therefore, you can safely upgrade your .NET SDK from 2.7.27 to 3.8.1 to resolve vulnerabilities while maintaining compatibility with your Couchbase Server version 6.0.0-1693.

Could you please share your opinion too, does this answer sound logical?

Many thanks!

The 3.x version of the Couchbase SDK was originally compatible back to Server 6.0.

To my knowledge, no functionality has been removed since then. So I would suspect that it may work in SDK 3.8. However, as mentioned, no testing has been done to guarantee that. I think your best option is to just test it and see.

1 Like

Hi!

thank you so much for the advice and the provided compatibility matrix! According to the matrix, the 6.0 CouchBase Server is compatible with SDK 3.0 . I am testing it now with SDK 3.8.1, and it actually does not work, because I initially cannot connect to the cluster. There is a null reference exception here:
GlobalConfig.Name = BucketConfig.GlobalBucketName;
It seems that server 6.0 does not provide a “ global bucket config/cluster config” because global configs were probably introduced in later CouchBase server versions, unless I am missing something**.** So maybe I will test with an earlier version like 3.4 or even 3.0, this might work properly**.
**
Many thanks!