.NET driver
This section presents the breaking changes between the Neo4j 1.7 .NET driver and 4.x .NET driver.
The latest version of the .NET driver for Neo4j can be found on the .NET driver’s official page.
-
The
Neo4j.Driverpackage contains only the asynchronous API.-
Synchronous session API (Simple API) has been moved to the Neo4j.Driver.Simple package.
-
Reactive API is presented in the Neo4j.Driver.Reactive package.
-
-
The
IDriverLoggerhas been renamed toILogger. -
TrustStrategyis replaced withTrustManager.
See full changelog: https://github.com/neo4j/neo4j-dotnet-driver/wiki/4.0-changelog.
Example 1. Example of changes between the 1.7 and 4.0 .NET drivers
| Example code for the 4.0 .NET driver | Example code for the 1.7 .NET driver |
|---|---|
|
|