Explore the Temporal .NET SDK namespaces
mainThe Temporal .NET SDK is organized into several namespaces based on the component you are developing or using:
Core SDK Namespaces
- Temporalio.Activities: Types for developing activities.
- Temporalio.Client: Client for accessing Temporal (starting workflows, querying, etc.).
- Temporalio.Common: Common types used across other namespaces.
- Temporalio.Converters: Data converters, including support for custom conversion logic.
- Temporalio.Exceptions: Well-known exceptions for clients, activities, and workflows.
- Temporalio.Runtime: Overarching runtime that can have telemetry configured.
- Temporalio.Testing: Testing environments and utilities for unit and integration testing.
- Temporalio.Worker: Worker for running workflows and/or activities.
- Temporalio.Workflows: Types for developing workflows.
Extension Namespaces
- Temporalio.Extensions.Aws.Lambda: Support for running Temporal in AWS Lambda.
- Temporalio.Extensions.Aws.Lambda.OpenTelemetry: OpenTelemetry support specifically for AWS Lambda extensions.
- Temporalio.Extensions.DiagnosticSource: Integration with .NET DiagnosticSource.
- Temporalio.Extensions.Hosting: Integration with .NET Generic Host (e.g.,
IHostedService). - Temporalio.Extensions.OpenTelemetry: General OpenTelemetry integration for telemetry and observability.