Questions tagged [neo4j-dotnet-driver]

11 questions
1
vote
1 answer

How to properly use apoc.periodic.iterate to reduce heap usage for large transactions?

I am trying to use apoc.periodic.iterate to reduce heap usage when doing very large transactions in a Neo4j database. I've been following the advice given in this presentation. BUT, my results are differing from those observed in those…
1
vote
1 answer

How to listen to neo4j trigger events in c# neo4j driver

Is there is way that i could subscribe to events from neo4j and listen to neo4j triggers that made using APOC (like add/update/delete etc) events in c# neo4j driver . Any help is appreciated. Thanks in advance.
user1844634
  • 1,221
  • 2
  • 17
  • 35
0
votes
1 answer

C# Driver - Session.CloseAsync() not closing the connections effectively

I am using .NET Driver for Neo4j . Environment: .NET 6 Neo4j Server version : 4.3.2 Driver version : Neo4j.Driver 4.4.0 We are using a singleton driver connection with the server using the following code snippet and reusing it across all the…
0
votes
1 answer

Neo4j Driver for .NET Readonly mode not working

I have problem with Neo4j Driver for .NET. To execute query, i use session with ReadOnly mode and Read transaction, but still i can modify graph via query like: Match (n) where Id(n) = 123 set n.foo = 33 return n; My code: using (var session =…
Krystian
  • 95
  • 1
  • 5
0
votes
1 answer

Performing Match and Create in single neo4j query with .net

I am trying to write a program that generates a list of Days of the Week that are all linked together. in the form (Monday)-> (Tuesday)-> (Wednesday)... Although I am able to do this by writing the Cypher queries directly through the web interface,…
Justin Yapp
  • 89
  • 1
  • 6
0
votes
1 answer

Is it possible to access Keys of a Dictionary used as a foreach loop Parameter?

I have a chyper Query which uses a Dictionary object as a foreach loop parameter. I want to access the dictonary Keys inside the loop but this doesnt seem to work , i always get an invalid input error: Invalid input '.' …
Mapendra
  • 75
  • 6
0
votes
1 answer

Azure Functions: Adding Neo4j Driver dependency to C# HTTP Trigger throws Error

Im creating a Azure function which should connect to a neo4j database after receiving a https request. I used the Visual Studio 2015 function preview to set up my project and to create a C# HTTP trigger function. I then added a Neo4j dependency to…
Mapendra
  • 75
  • 6
0
votes
2 answers

Neo4j neo4j No operations allowed until you send an INIT message successfully

Using WebApiConfig.Neo4jDriver.Session.Run(...) an error is thrown. "No operations allowed until you send an INIT message successfully". Anyone know how to resolve this?
Josh Wheelock
  • 369
  • 4
  • 9
0
votes
0 answers

Connection with neo4j-client failed on OS X yosemite

I've tried to establish a connection by both command line and in my C++ project. In a "secure" version I received: OpenSSL error: 336130315:SSL routines:SSL3_GET_RECORD:wrong version number If I try with an insecure connection, I…
-1
votes
1 answer

How to update a node property with official Neo4j .Net Driver using parameters

I want to update a value in my model using Neo4j official driver for .Net in asp.net mvc app. My code is as: [HttpPost] [ValidateAntiForgeryToken] public ActionResult Edit(string name, Category category) { try { …
-3
votes
1 answer

How to process results of a neo4j-dotnet-driver query to pass to mvc view as model

I want to pass the result of a cypher query to MVC's view using model. The obtained result is in form of nodes which I get in var result. Now I want to pass this result to a view as model, so that I can print the obtained result in a razor view. My…