Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✅ Azure Data Explorer
Set up your environment to use Kusto client libraries. These libraries let you create apps that connect to a cluster, run queries, or ingest data.
This article explains how to install client library packages for your preferred language.
Prerequisites
Choose the prerequisites for the programming language used to create your app.
Note
Kusto client libraries are compatible with JavaScript and TypeScript. To convert TypeScript examples to JavaScript, remove the type annotations used for variables, parameters, and return values.
One or more of the following .NET SDK frameworks:
- .NET SDK 5.0 or later
- .NET Core 2.1 or later
- .NET Standard 2.1 or later
- .NET Framework 4.7.2 or later
Verify installation: In a command shell, run dotnet sdk check to confirm that the installed versions meet the minimum requirements.
Install the package
This section walks you through installing the Kusto client library in your environment.
The following table lists the client libraries and the corresponding package names.
| Library Name | Description |
|---|---|
| Kusto Data library | Provides a client for connecting to clusters. Use the client library to query data or run management commands. |
| Kusto Ingest library | Provides a client for ingesting data into clusters. For more information, see Kusto Ingest library overview into your cluster. |
Add the Kusto client libraries for your preferred language to your project. Use the package manager appropriate for your language to install the client libraries.
dotnet add package Microsoft.Azure.Kusto.Data --version 11.2.2
dotnet add package Microsoft.Azure.Kusto.Ingest --version 11.2.2
The Kusto SDKs include quick start sample applications that show how to authenticate, administer, query, and ingest data using the Kusto client libraries. Use them as a starting point for your application by modifying the code or incorporating specific sections into your project.
Learn how to create apps that use client libraries
The following articles guide you through creating apps that use the Kusto client libraries.
- Create your first app
- Secure your app
- Create an app to run basic queries
- Create an app to run management commands
- Create an app to get data using queued ingestion
Related content
- Learn more about the sample app generator wizard.