Skip to content

Commit 4eca621

Browse files
fix failing link check
1 parent d357cfb commit 4eca621

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/concepts/tasks/tasks.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,10 @@ catch (McpException ex) when (ex.ErrorCode == McpErrorCode.InvalidParams)
457457

458458
## Complete Example
459459

460-
See the [LongRunningTasks sample](../../../samples/LongRunningTasks) for a complete working example demonstrating:
460+
<!-- TODO: Remove mlc-disable block after merging to main -->
461+
<!-- mlc-disable -->
462+
See the [LongRunningTasks sample](https://github.com/modelcontextprotocol/csharp-sdk/tree/main/samples/LongRunningTasks) for a complete working example demonstrating:
463+
<!-- mlc-enable -->
461464

462465
- Server setup with a file-based `IMcpTaskStore` for durability
463466
- Explicit task creation via `IMcpTaskStore` in tools returning `McpTask`
@@ -558,7 +561,10 @@ public class JobProcessor(IMcpTaskStore taskStore)
558561

559562
### Simplified Example: File-Based Task Store
560563

561-
The [LongRunningTasks sample](../../../samples/LongRunningTasks) demonstrates a simplified fault-tolerant approach using the file system. The `FileBasedMcpTaskStore` persists task state to disk, allowing tasks to survive server restarts:
564+
<!-- TODO: Remove mlc-disable block after merging to main -->
565+
<!-- mlc-disable -->
566+
The [LongRunningTasks sample](https://github.com/modelcontextprotocol/csharp-sdk/tree/main/samples/LongRunningTasks) demonstrates a simplified fault-tolerant approach using the file system. The `FileBasedMcpTaskStore` persists task state to disk, allowing tasks to survive server restarts:
567+
<!-- mlc-enable -->
562568

563569
```csharp
564570
// Use a file-based task store for durability

0 commit comments

Comments
 (0)