Getting Started

Welcome to the Datadog SDK for .NET MAUI! This section will help you get up and running quickly.

For SDK Users

New to the SDK? Start here to integrate Datadog into your .NET MAUI application.

Core Documentation

  1. Using the SDK - Complete usage guide
    • Installation and setup
    • Configuration options
    • Logging, RUM, and Tracing
    • Best practices
  2. API Reference - Complete API documentation
    • All classes, methods, and properties
    • Configuration objects
    • Interfaces for dependency injection
  3. Code Examples - Practical examples
    • Basic setup
    • Real-world scenarios
    • E-commerce, authentication flows
    • MAUI integration patterns

Quick Start

// 1. Install the package
dotnet add package Datadog.MAUI

// 2. Initialize in MauiProgram.cs
builder.UseDatadog(config =>
{
    config.ClientToken = "YOUR_CLIENT_TOKEN";
    config.Environment = "production";
    config.ServiceName = "my-app";
});

// 3. Start using the SDK
var logger = Logs.CreateLogger("my-logger");
logger.Info("Hello, Datadog!");

For SDK Developers

Contributing to the SDK? This section is for developers building and maintaining the SDK itself.

Core Documentation

  1. Installation & Setup - Development environment setup
    • Prerequisites and tools
    • Building iOS and Android bindings
    • Creating NuGet packages
    • Testing with sample apps
  2. Developer Guide - Development workflows
    • Project structure
    • Build scripts
    • Testing strategies
    • Troubleshooting
  3. Unified API Design - API architecture
    • Cross-platform design patterns
    • Platform abstraction layer
    • Interface definitions

Platform-Specific Guides

  • Android Development - Android binding development
    • Dependency management
    • Integration packages
    • Maven to NuGet mapping
  • iOS Development - iOS binding development
    • Binding strategy
    • API identification
    • XCFramework handling

Architecture & Build System


What’s Next?

For SDK Users

For SDK Developers


Table of contents