AI AGENT ADDONS

Csharp Concurrency Patterns

aaronontheweb/dotnet-skills

Concurrency in .NET can be confusing with many options available. async/await is the best choice for most I/O tasks like reading files or calling APIs. Channels make it easy to manage work queues between producers and consumers. Akka.NET helps with complex state machines and managing many independent entities. The goal is to avoid shared mutable state and locks whenever possible.

This guide helps you pick the right tool for your situation. Start simple with async/await. Only move to Channels, Reactive Extensions, or Akka.NET when you have a specific need they solve better. Remember that locks should be a last resort after trying immutability, message passing, and concurrent collections.

Add Csharp Concurrency Patterns skill to your workflow

Global

mkdir -p ~/.claude/skills/csharp-concurrency-patterns

Project

mkdir -p .claude/skills/csharp-concurrency-patterns

Source Repository

Stars
1,033
Forks
97
Watchers
1,033
License
MIT
Last Push
1 month ago
Created
8 months ago