Module 3

Best practices

In this module, you will learn best practices for using the Neo4j .NET Driver in production applications.

You will cover the following topics:

  • Opening async sessions with driver.AsyncSession()
  • Executing read and write transactionsA unit of work that either succeeds in full or leaves no trace. using ExecuteReadAsync() and ExecuteWriteAsync()
  • Implementing the unit of work pattern for grouping related queries
  • Understanding thread safety constraints on sessions vs the driver
  • Handling database errors with Neo4jException, ClientException, and TransientException
  • Using the IsRetriable propertyA named value stored on a node or a relationship. to determine whether an operation can be retried
Ready, let's go! →