Cypher.Net – A Neo4j Cypher API

I’ve knocked up a .Net client for the NoSQL Database Neo4j. Specifically, it’s an API the new Cypher Transactional Endpoint.

I’ve put the code over here.

If you haven’t used Neo4j (or any graph Database) you should head over here and check it out. And for a really cool look at graphs in action, check out Rik’s awesome articles on using Neo4j with Beer and IKEA.

There is already a great .Net API for the Neo4j Rest Endpoint by the Readify guys that you can get over here. This is what I used when first playing around with Neo4j and it’s pretty sweet. What I wanted however was something a little less ORM and a little more dynamic as is the nature of Neo4j. So, I thought I’d have a crack at writing my own. (I’ve since read that the Readify approach is what the Neo guys had in mind as an API, but I’m going to kick on just the same)

Cypher.Net supports transactions via the standard TransactionScope pattern, and also provides “strongly typed” access to the Neo4j Cypher Query Language.

There is some basic documentation in the ReadMe over at my GitHub so I won’t put any up here for now, and I have added a Beta to Nuget if you want to have a play.

I’m going to start adding Issues to Github so if anyone wants to help out or has any ideas, please sing out for a pull request.

About these ads

4 thoughts on “Cypher.Net – A Neo4j Cypher API

  1. Really neat. And it is not as if we endorse just one approach, I really like a cypher focused lib for .Net and especially if it embraces the transactional endpoint in 2.0.

    Well done. I’d love to have some more docs though and a screencast for beginners. Want to put your driver onto neo4j.org too.

    Cheers

    • Hi Michael,

      Thanks for the feedback.

      Some more docs are definitely on their way. I’ve just touched up the examples in GitHub and if anyone would like to know a bit more in the mean time, please check the IntegrationTests.cs in the Tests project in the GitHub codebase.

      With regards to putting the driver up onto neo4j.org, that would be great but we may want to wait till I iron out a few little issues here in there in the next few weeks.

      Thanks again.

      Mark.

  2. Really neat. And it is not as if we endorse just one approach, I really like a cypher focused lib for .Net and especially if it embraces the transactional endpoint in 2.0.

    Well done. I’d love to have some more docs though and a screencast for beginners. Want to put your driver onto neo4j.org too.

    Cheers

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s