dotnet-sdk/examples
Whit Waldo 89d9d56bd5
Fixed Jobs SDK bugs (#1456)
fix: Point-in-time not getting scheduled, job payload not being property set on job invocation

When setting a single point-in-time job, the SDK was incorrectly assigning it as a schedule which would promptly fail cron validation. Rather, this now properly sets it to `dueTime` instead. Further, when a Job is invoked, only the payload it was registered with is provided in the callback, not all the elements of a Get Job response, so this was modified to return the `ReadOnlyMemory<byte>` originally provided in the payload back to the caller.

Reviewed by: @philliphoff
Refs: #1455 #1457
2025-02-11 01:16:35 -06:00
..
AI/ConversationalAI Conversation builder consistency changes (#1423) 2024-12-11 13:42:23 -06:00
Actor Remove unused variables (#1314) 2024-10-24 15:27:39 -05:00
AspNetCore Remove unused using statements. (#1313) 2024-10-24 17:00:09 -05:00
Client Simplfying Crypto example (#1442) 2025-01-14 17:38:28 -06:00
GeneratedActor FIX: Actor source generator generates invalid code for generic interfaces (#1419) 2024-12-05 11:36:45 -06:00
Jobs/JobsSample Fixed Jobs SDK bugs (#1456) 2025-02-11 01:16:35 -06:00
Workflow Adds workflow replay-safe logger (#1434) 2024-12-19 16:23:46 -06:00
.editorconfig SDK Docs (#572) 2021-02-16 22:15:33 -08:00
Directory.Build.props SDK Docs (#572) 2021-02-16 22:15:33 -08:00
README.md Additional API surface area for Dapr Workflow authoring SDK (#1012) 2023-01-24 15:41:56 -08:00

README.md

Dapr .NET Core examples

This repository contains a samples that highlight the Dapr .NET SDK capabilities:

Sample Description
1. Client The client example shows how to make Dapr calls to publish events, save state, get state and delete state using a Dapr client.
2. Actor Demonstrates creating virtual actors that encapsulate code and state.
3. ASP.NET Core Demonstrates ASP.NET Core integration with Dapr by creating Controllers and Routes.
4. Workflow Demonstrates creating durable, long-running Dapr workflows using code.