Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-11-2020 06:46 AM
Hi
I just upgraded the .NET driver from 1.7.2 to 4.0.0 in Visual Studio and got all sorts of building errors.
Now I can't find any Session object even though it's in several documented samples on the neo4j site.
Am I missing something or is only Async supported?
BR
HHH
02-11-2020 11:52 AM
Hey HHH,
The Neo4j.Driver
package is only async
- but! there is also a Neo4j.Driver.Simple
package that is closer to what you're used to.
All the best
Chris
02-13-2020 03:49 AM
Thx for the feedback.
Is there a .NET code sample for basic async usage in Neo4j.Driver?
I can only find outdated stuff like this:
BR
HHH
02-13-2020 04:34 AM
Not that I'm aware of particularly - do you have an example in 'sync' that you would like to see in async?
I might be able to convert one for you?
02-14-2020 02:47 AM
Thx Chris, That's a generous offer. I'll may come back to that.
In the doc you write " Each IDriver
instance maintains a pool of connections inside, as a result, it is recommended to only use one driver per application ."
Does that mean you recommend the application server share the same driver instance for all users and all requests? Typically instantiate a global driver in global.asax for .NET applications?
BR
HHH
03-02-2020 05:56 PM
Your docs here have no reference to the Neo4J.Driver.Simple here. Defeats the purpose and wastes developer's precious time.
https://neo4j.com/docs/driver-manual/current/get-started/
All the sessions of the conference are now available online