Accessing Neo4j from .NET

This chapter would be incomplete without the discussion on how to access Neo4j from the .NET Framework.

The .NET Framework is still the primary framework for developing all sorts of applications when it comes to the Windows platform.

How to do it...

This problem can be solved in multiple ways using some already available solutions or writing your own code on the top of the REST API.

The Neo4j client is available at https://bitbucket.org/Readify/neo4jclient/wiki/Home.

The Neo4j client claims that it makes writing Cypher queries easier with IntelliSense. It comes exclusively as a NuGet package. The following code shows you how to install the package:

# Installing the Package Install-Package Neo4jClient # Key class is GraphClient ...

Get Neo4j Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.