O'Reilly logo

Neo4j Cookbook by Ankur Goel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required