Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A .NET client for Neo4j, designed to make it easy to write Cypher queries in C# with IntelliSense.
For historical reasons, Neo4jClient also supports basic CRUD operations (legacy), legacy indexing (legacy) and Gremlin queries (also legacy). The Neo4j direction is towards everything being done via Cypher, and Neo4jClient is onboard with that vision. None of the non-Cypher interfaces are seeing active development. Over time, more and more of them will have
[Obsolete] attribute added to that. This is primarily driven by the underlying Neo4j APIs becoming legacy themselves, and because Cypher is just a better way to do most things anyway.
Licensed under MS-PL. See LICENSE in the root of this repository for full license text.
Getting the Library
Neo4jClient ships exclusively as a NuGet package.
To install it, run
Install-Package Neo4jClient in the NuGet Package Manager Console.
The NuGet package is automatically updated whenever new code is pushed to the central source repository. You may see several new builds per day during active development. We use a heavily test-driven approach to validate new features and to guard against regressions. In the absolute worst case, you can always roll back to an older version of the package anyway.
For questions, ask on StackOverflow using the neo4jclient tag and you'll generally get a response within 24 hours.
For general discussions, and the occasional announcement about more major updates to the library, join the Neo4jClient Google Group.
If you think you've found a bug or a missing feature, open an issue so we can fix it.
These pages only document our .NET library. They are not intended to explain how Neo4j works. We're assuming that you understand nodes, relationships, indexing and Cypher queries. If not, you should refer to the neo4j documentation for that information.
- Getting Connected (start here)
- Performing Cypher Queries (all the principles of our Cypher support that you need to know)
- Cypher Examples (specific examples)
- Influencing Serialization
- Async Support
- Bad Habits (some we've seen in the wild, that we'd like you not to write)
- Basic CRUD Operations (legacy)
- Performing Gremlin Queries (legacy)
- Working with Relationships (legacy)
- Working with Indexes (legacy)
The library is predominantly written by consultants from Readify. This is done in the course of supporting some of our commercial customers who use Neo4j, then as a general open source project on a best-effort basis. If you'd like something more guaranteed, or related Neo4j and .NET consulting services, get in touch.
Other projects of interest, but not maintained nor supported by this project are
Merge, match and create nodes or relationships using domain objects directly.
Provides repository pattern classes for Neo4jClient including an AppSettings repository
A .NET client for API's exposed by the Neo4j host GraphStory.com
The CI build is run via My-Get and is currently: