Skip to main content

C#

.NET SDK

Modern .NET SDK with async/await and dependency injection.

$dotnet add package Appneural.SDK
Async/await throughoutDI container integrationSource link debuggingNullable reference types.NET 8+ compatibleSystem.Text.Json serialization

Code

Get started in minutes.

initialization.cs
using Appneural.SDK;

var client = new AppneuralClient(new AppneuralConfig
{
    ApiKey = Environment.GetEnvironmentVariable("APPNEURAL_API_KEY"),
    Environment = "production"
});

Configuration

SDK options.

OptionTypeDescription
ApiKeystringYour API key
Environmentstringproduction | sandbox
TimeoutTimeSpanRequest timeout
MaxRetriesintMax retry attempts

Best Practices

Recommended patterns.

Use DI for client lifecycle management
Use IAsyncEnumerable for streaming
Implement Polly for advanced retry policies
Enable source link for debugging

Enterprise Intelligence

Get started with .NET SDK.

Modern .NET SDK with async/await and dependency injection.

Scope and availability confirmed individually · Written terms define the engagement