Repository navigation
feat(dotnet): migrated code from .NET pages - #5591
flippedcoder wants to merge 39 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Snipsync coverageSDK code lines in
All sectionsAll languages: 33.0% (15,534 of 47,024 lines).
Compared with |
📖 Docs PR preview links
|
There was a problem hiding this comment.
🟡 Changes recommended
The shared environment guide still uses the outdated EnvConfig namespace, and the Cloud Run deployment link points to a sample missing the promised configuration and deployment instructions.
2 open issues
What changed in this PR
This PR migrates .NET documentation examples to Snipsync-managed snippets from documentation-sdk-code-examples, connecting the SDK guides to shared source files.
Changes:
- Adds synchronized examples across .NET Workflows, Activities, Clients, Workers, and testing guides.
- Corrects sample syntax, API usage, source links, and quickstart instructions.
- Updates Standalone Nexus Operation troubleshooting across SDK guides and the encyclopedia.
| File | Description |
|---|---|
| docs/encyclopedia/nexus/standalone-nexus-operation.mdx | Updates the disabled-operation troubleshooting command. |
| docs/develop/typescript/nexus/standalone-operations.mdx | Adds local-server enablement troubleshooting. |
| docs/develop/python/nexus/standalone-operations.mdx | Adds local-server enablement troubleshooting. |
| docs/develop/java/nexus/standalone-operations.mdx | Adds local-server enablement troubleshooting. |
| docs/develop/go/nexus/standalone-operations.mdx | Adds local-server enablement troubleshooting. |
| docs/develop/dotnet/workflows/workflow-streams.mdx | Synchronizes streaming and subscriber examples. |
| docs/develop/dotnet/workflows/versioning.mdx | Synchronizes patching and cutover examples. |
| docs/develop/dotnet/workflows/timers.mdx | Synchronizes the Timer example; removes an obsolete comment. |
| docs/develop/dotnet/workflows/timeouts.mdx | Synchronizes examples and corrects ExecutionTimeout. |
| docs/develop/dotnet/workflows/schedules.mdx | Synchronizes Schedule examples and uses UTC for backfills. |
| docs/develop/dotnet/workflows/message-passing.mdx | Synchronizes handler examples and corrects asynchronous calls. |
| docs/develop/dotnet/workflows/dynamic-workflow.mdx | Synchronizes the example and fixes object construction. |
| docs/develop/dotnet/workflows/continue-as-new.mdx | Synchronizes state-transfer and testing examples. |
| docs/develop/dotnet/workflows/child-workflows.mdx | Synchronizes Child Workflow examples. |
| docs/develop/dotnet/workflows/cancellation.mdx | Synchronizes examples and corrects Activity cancellation code. |
| docs/develop/dotnet/workflows/basics.mdx | Synchronizes definition, initialization, and deterministic API examples. |
| docs/develop/dotnet/workers/serverless-workers/cloud-run.mdx | Migrates Worker, container, and telemetry examples. |
| docs/develop/dotnet/workers/serverless-workers/aws-lambda.mdx | Migrates Lambda and telemetry configuration examples. |
| docs/develop/dotnet/workers/run-worker-process.mdx | Migrates Worker snippets and completes Activity registration. |
| docs/develop/dotnet/workers/interceptors.mdx | Synchronizes interceptor examples and updates Worker execution. |
| docs/develop/dotnet/set-up.mdx | Synchronizes quickstart examples and corrects expected output. |
| docs/develop/dotnet/platform/observability.mdx | Synchronizes metrics, logging, and Visibility examples. |
| docs/develop/dotnet/platform/enriching-ui.mdx | Synchronizes UI metadata examples and updates logging. |
| docs/develop/dotnet/nexus/standalone-operations.mdx | Migrates Client examples and adds enablement troubleshooting. |
| docs/develop/dotnet/nexus/quickstart.mdx | Replaces embedded code strings with synchronized snippets. |
| docs/develop/dotnet/nexus/feature-guide.mdx | Migrates Nexus handler, caller, and Worker examples. |
| docs/develop/dotnet/client/temporal-client.mdx | Synchronizes connection examples and corrects configuration namespaces. |
| docs/develop/dotnet/best-practices/testing-suite.mdx | Synchronizes tests and corrects waiting and replay examples. |
| docs/develop/dotnet/best-practices/error-handling.mdx | Synchronizes exception-handling examples. |
| docs/develop/dotnet/best-practices/data-handling/data-encryption.mdx | Synchronizes codec examples and corrects metadata conversion. |
| docs/develop/dotnet/best-practices/data-handling/data-conversion.mdx | Synchronizes the converter example and fixes statement ordering. |
| docs/develop/dotnet/activities/timeouts.mdx | Synchronizes timeout, retry, and Heartbeat examples. |
| docs/develop/dotnet/activities/standalone-activities.mdx | Migrates examples and updates sample execution commands. |
| docs/develop/dotnet/activities/standalone-activities-quickstart.mdx | Updates repository setup, project paths, and synchronized examples. |
| docs/develop/dotnet/activities/execution.mdx | Synchronizes execution code and corrects Workflow definition syntax. |
| docs/develop/dotnet/activities/dynamic-activity.mdx | Synchronizes the Dynamic Activity example. |
| docs/develop/dotnet/activities/benign-exceptions.mdx | Synchronizes the benign-exception example. |
| docs/develop/dotnet/activities/basics.mdx | Synchronizes the Activity definition example. |
| docs/develop/dotnet/activities/asynchronous-activity.mdx | Synchronizes asynchronous completion examples. |
Review effort: Balanced
| to create a client. Connection options include the Temporal Server address, Namespace, and (optionally) TLS | ||
| configuration. You can provide these options directly in code, or load them from **environment variables** and/or a | ||
| **TOML configuration file** using the `Temporalio.Client.EnvConfig` helpers. We recommend environment variables or a | ||
| **TOML configuration file** using the `Temporalio.Common.EnvConfig` helpers. We recommend environment variables or a |
- Use Temporalio.Common.EnvConfig in the shared environment configuration guide - Point the Collector sidecar link back to samples-dotnet, which has the collector config, Worker Pool manifest, and deployment README

What does this PR do?
This moves all of the inline code into the docs code repo.
Notes to reviewers