This folder contains examples on how to use some features of the C# Driver for Apache Cassandra and DataStax Enterprise.
You should also visit the Documentation and FAQ.
- Concurrent execution
- Mapper
- DataStax Astra
- TLS/SSL
- Metrics
- OpenTelemetry
- Column Encryption
Each example is generally structured in a way where the Cluster and Session are connected at the beginning and shutdown/disposed at the end. While this is suitable for example console applications, you should reuse the Session and Cluster instances and only call cluster.ShutdownAsync() / cluster.Dispose() when exiting your application.
If you have any questions regarding these examples, feel free to post your questions in the mailing list.