NRedisGraph is a series of extensions methods for the StackExchange.Redis library that will enable you to interact with the Redis module RedisGraph. This is made possible by the Execute
and ExecuteAsync
methods already present in the StackExchange.Redis library.
The intent with this library is to duplicate the API (as much as possible) of the JRedisGraph library which extends Jedis.
PM> Install-Package NRedisGraph -Version 1.1.0
I'm assuming that you already have the RedisGraph module installed on your Redis server.
You can verify that the module is installed by executing the following command:
MODULE LIST
If RedisGraph is installed you should see output similar to the following:
1) 1) "name"
2) "graph"
3) "ver"
4) (integer) 20005
(The version of the module installed on your server obviously may vary.)
In this repository there are a suite of integration tests that should be sufficent to serve as examples on how to use all supported RedisGraph commands.