Skip to content

Commit 34ee81f

Browse files
Update docs/develop/dotnet/core-application.mdx
Co-authored-by: Justin Anderson <44687433+jmaeagle99@users.noreply.github.com>
1 parent 196a2b6 commit 34ee81f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/develop/dotnet/core-application.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ For logger configuration, see [Observability: Logging](/develop/dotnet/observabi
9999

100100
#### Random numbers and UUIDs
101101

102-
Use [`Workflow.Random`](https://dotnet.temporal.io/api/Temporalio.Workflows.Workflow.html) to get a deterministic `Random` instance. For UUIDs, use [`Workflow.NewGuid()`](https://dotnet.temporal.io/api/Temporalio.Workflows.Workflow.html). Never use `System.Random` or `Guid.NewGuid()` directly:
102+
Use [`Workflow.Random`](https://dotnet.temporal.io/api/Temporalio.Workflows.Workflow.html#Temporalio_Workflows_Workflow_Random) to get a deterministic `Random` instance. For UUIDs, use [`Workflow.NewGuid()`](https://dotnet.temporal.io/api/Temporalio.Workflows.Workflow.html#Temporalio_Workflows_Workflow_NewGuid). Never use `System.Random` or `Guid.NewGuid()` directly:
103103

104104
```csharp
105105
// Good - deterministic across replays

0 commit comments

Comments
 (0)