Module
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 Full definition for transaction (opens in a new tab)A unit of work that either succeeds in full or leaves no trace. using
ExecuteReadAsync()andExecuteWriteAsync() - Implementing the unit of work Full definition for pattern (opens in a new tab)A graph structure written in Cypher, such as a node joined to another node by a relationship. for grouping related queries
- Understanding thread safety Full definition for constraint (opens in a new tab)A rule the database enforces on every node or relationship with a given label or type, rejecting any write that breaks it. on sessions vs the driver
- Handling database errors with
Neo4jException,ClientException, andTransientException - Using the
IsRetriableFull definition for property (opens in a new tab)A named value stored on a node or a relationship. to determine whether an operation can be retried