geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rupert St John Webster <rup...@impress-solutions.com>
Subject C# native client problem
Date Tue, 06 Feb 2018 09:30:09 GMT
Dear All,

Per https://stackoverflow.com/questions/48628342/ I have a C# class Geode.cs that sets up
a native client local cache, pool and region and does some work.

I want to reuse the class and have 2 or more local caches that do work (ultimately to have
different callbacks<http://gemfire-native.docs.pivotal.io/geode/dotnet-caching-api/application-callbacks.html>)
but very simply like in the Program.cs

new Geode();
new Geode();

The 2nd time around to create a new local cache and find the server connection pool is fine,
but to initialise a region at the following code:

IRegion<string, string> test = rf.SetPoolName("myPool").Create<string, string>("test");

I get the error:

[cid:image001.png@01D39F2C.E14ACEF0]

I have attached a simple test program to show this. Please can you let me know what’s wrong?

Thanks 😊


Kind regards

Rupert St John Webster
FX Consultant
Mime
View raw message