# .NET SDK[](#net-sdk)

> For the complete machine-readable documentation index, see [llms.txt](https://apidocs.chargebee.com/llms.txt).


The official Chargebee .NET SDK provides a convenient way to interact with the Chargebee API from your .NET applications.

## Installation[](#installation)

**NuGet**

```bash
Install-Package ChargeBee
```

**.NET CLI**

```bash
dotnet add package ChargeBee
```

## Requirements[](#requirements)

-   .NET Standard 1.2+
-   .NET Core 1.0+
-   .NET Framework 4.5+

## Quick Start[](#quick-start)

## Create a Resource[](#create-a-resource)

## List & Pagination[](#list-pagination)

## Idempotent Requests[](#idempotent-requests)

Use the builder method `.SetIdempotencyKey()`:

## Error Handling[](#error-handling)

## Retry & Rate Limits[](#retry-rate-limits)

Retries are disabled by default. Enable with `RetryConfig`:

Rate-limited responses (HTTP 429) are automatically retried after the `Retry-After` duration.

## OpenTelemetry[](#opentelemetry)

Request telemetry is supported in all Chargebee client libraries. Pass a telemetry adapter when configuring the client to emit standardized spans (`chargebee.{resource}.{operation}`) with OTel HTTP and `chargebee.*` attributes.

See [OpenTelemetry integration](/docs/api/opentelemetry) for span attributes and language-specific examples.

## Links[](#links)

-   [GitHub Repository](https://github.com/chargebee/chargebee-dotnet)
-   [NuGet Package](https://www.nuget.org/packages/ChargeBee)
-   [API Reference](/docs/api/getting-started)