Comments (4)
Are you using the same HZ RC version on both sides? The reason being there were some serialization changes between the EA releases and latest snapshots. You can try using the 3.6-EA2 Hazelcast releases. If you are still having issues, could you add some code demonstrating the problem you are experiencing?
from hazelcast-csharp-client.
Well on the dotnet side I am using version 3.6.0-EA , the only one available on nuget.org .
On the java side I am using hazelcast-3.6-RC2-20151203.155725-88.jar .
Below the code I am using on the java side:
HazelcastInstance instance = Hazelcast.newHazelcastInstance(cfg);
Map<Integer, String> mapCustomers = instance.getMap("customers");
mapCustomers.put(1, "Joe");
mapCustomers.put(2, "Ali");
mapCustomers.put(3, "Avi");
On the C# side:
var client = HazelcastClient.NewHazelcastClient(config);
var map = client.GetMap<Int32, string>("customers");
var entries = map.EntrySet().AsEnumerable();
foreach (var keyValuePair in entries)
{
Console.Out.WriteLine(keyValuePair.Key + " " + keyValuePair.Value);
}
Let me know if there is something else I can try
from hazelcast-csharp-client.
Looks like the version on nuget is the previous EA version still. We will
have it updated, meanwhile you can download the latest EA from the website:
http://download.hazelcast.com/clients/3.6-EA2/hazelcast-csharp-client-3.6-EA2.zip
On Saturday, 5 December 2015, Alexandre Victoor [email protected]
wrote:
Well on the dotnet side I am using version 3.6.0-EA , the only one
available on nuget.org .
On the java side I am using hazelcast-3.6-RC2-20151203.155725-88.jar .
Below the code I am using on the java side:HazelcastInstance instance = Hazelcast.newHazelcastInstance(cfg); Map<Integer, String> mapCustomers = instance.getMap("customers"); mapCustomers.put(1, "Joe"); mapCustomers.put(2, "Ali"); mapCustomers.put(3, "Avi");
On the C# side:
var client = HazelcastClient.NewHazelcastClient(config);
var map = client.GetMap<Int32, string>("customers");
var entries = map.EntrySet().AsEnumerable();
foreach (var keyValuePair in entries)
{
Console.Out.WriteLine(keyValuePair.Key + " " + keyValuePair.Value);
}Let me know if there is something else I can try
—
Reply to this email directly or view it on GitHub
#35 (comment)
.
from hazelcast-csharp-client.
Indeed this new version solves my problem!
Thanks! Hope it will be published soon.
from hazelcast-csharp-client.
Related Issues (20)
- The memory usage reporting is misleading on SOAK
- Fix Explicit Run for Cloud Tests [API-2064] HOT 1
- Overload `CompactGenericRecord.ToString()`
- Add `arm` based worker to testing process. HOT 1
- [TRACKING ISSUE] [TPC] Allow TLS sockets in TPC Bootstrapping [HZ-2764]
- Remove Moq as a dependency [API-2119] HOT 1
- Error executing SQL query using IN operator [API-2160] HOT 6
- Question: Predicates as a static and building complex expressions HOT 3
- [TRACKING ISSUE] Make tpcEnable for client configurable through system property. [API-2162] HOT 1
- [TRACKING ISSUE] Promote alto auth codecs to stable [API-2161] HOT 1
- Question: Setting In-Memory-Format for a map different than the cluster default possible? HOT 3
- [TRACKING ISSUE] TPC default to 1 connection
- [TRACKING ISSUE] Fix the `ReliableTopicConfig.setName` method to allow empty names [HZ-2274] [API-2172]
- [TRACKING ISSUE] Continue trying if initial membership event retrieval fails and client is failover [API-2171]
- [TRACKING ISSUE] NearCachedClientMapProxy getAsync fix double invocation [API-1811]
- Client shuts down on failover [API-2176] HOT 1
- Compact Serialization: UnknownSchemaException when using Paging Predicates on getEntriesAsync, etc. HOT 3
- Mention `ClusterConnectionTimeoutMilliseconds` on Blue/Green Docs
- .Net 8 Does Not Support Binary Formatter Anymore [API-2225] HOT 1
- CP Session Manager Miss to Release Session Semaphore. [API-2226] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hazelcast-csharp-client.