Microsoft .NET (Octonica)
Overview⚓︎
Query your Hydrolix cluster with .NET and the Octonica ClickHouse client.
Prerequisites⚓︎
Before you begin, be sure to have the following:
- The .NET SDK installed, version 6.0 or higher
- The Octonica ClickHouse client added to the project
- A working Hydrolix cluster
- The host address, port, and database name
- A valid username and password for authentication
- A local environment that allows outbound connections to the ClickHouse native interface port; default is
9440with TLS
Query with .NET example⚓︎
This example sets TLSMode=Require to enforce a secure connection. It connects with a Hydrolix cluster, runs a query, and outputs the results.
Replace the following fields with your cluster information:
HostDatabaseUser-
Password