Azure Functions, Neo4j and Dependency Injection

By Charlotte

TL;DR; – It’s on GitHub: https://github.com/cskardon/Neo4jDriverWithAzureFunctionsDI You, just now I know what you’re thinking, that is an exciting headline, and you’re right! Back in May… May 2018 (!!!) I wrote a blog post about using the Neo4j Driver with Azure Functions – and well, things have moved on a bit since then. Largely the code…

Testing Neo4j.Driver (4.1.1) Part 2 – Session Config

By Charlotte

In my previous post we showed how we could test a few different areas of the Neo4j.Driver nuget package. One area we didn’t touch was the SessionConfig – as part of the IAsyncSession. Now, for the most part – things are done in interfaces, which makes our lives easier – as we can Mock them…

Testing Neo4j.Driver (4.1.1) Part 1

By Charlotte

There are a few challenges when dealing with the official Neo4j.Driver when it comes to testing, over a period of time, I’ve hit a few of them, and thought it would be good to share them with you. TL;DR; This is all be available on GitHub So, let’s write a method, in which we pass…

Using Neo4j.Driver? Now you can EXTEND it!

By Charlotte

Hot on the heels of Neo4jClient 4.0.0, I was doing some work with the Neo4j.Driver (the official client for Neo4j), and in doing so, I realised I was writing a lot of boiler plate code. So I started adding extension methods to help me, and as my extension methods became more involved, I moved them…

Neo4jClient 4.0

By Charlotte

After what probably seems like ages to you (and indeed me) Neo4jClient 4.0 has finally left the pre-release stages and is now in a stable release. Being a major version change, that means there are breaking changes, and you should be in the process of testing stuff before you just use it. Having said that,…

Reactive Neo4j using .NET

By Charlotte

Version 4.0 of Neo4j is being actively worked on, and aside from the new things in the database itself, the drivers get an update as well – and one of the big updates is the addition of a Reactive way to develop against the DB. Now – I’ve not done reactive programming for a long…

Neo4j with Azure Functions

By Charlotte

Recently, I’ve had a couple of people ask me how to use Neo4j with Azure functions, and well – I’d not done it myself, but now I have – let’s get it done! Login to your Azure Portal Create  a new Resource, and search for ‘function app’: Select ‘Function App’ from the Market Place: Press…

Migrating from NUnit to XUnit – SetupFixture fun

By

Originally posted on: http://geekswithblogs.net/cskardon/archive/2017/02/22/migrating-from-nunit-to-xunitndashsetupfixture-fun.aspx So I was limited to a specific version of NUnit for various reasons, and needed to start being able to run ‘core’ tests, so I migrated to XUnit. Generally not a problem until I hit ‘SetupFixture’. XUnit has no concept of ‘SetupFixture’ and from what I can gather, won’t either (https://github.com/xunit/xunit/issues/111).…

Neo4jClient 1.1.0.1

By

Originally posted on: http://geekswithblogs.net/cskardon/archive/2015/08/07/neo4jclient-1.1.0.1.aspx Big milestone this one, Neo4jClient now supports Transactions, Authentication and some other little changes. Transaction info is all here: https://github.com/Readify/Neo4jClient/wiki/Transactions You can find the connecting stuff here (at the bottom): https://github.com/Readify/Neo4jClient/wiki/connecting And the other big(ish) change is the change to make the ‘CollectAs’ method return the class type specified (<T>) instead…