dotnet-file-io

Installation
SKILL.md

dotnet-file-io

File I/O patterns for .NET applications. Covers FileStream construction with async flags, RandomAccess API for thread-safe offset-based I/O, File convenience methods, FileSystemWatcher event handling and debouncing, MemoryMappedFile for large files and IPC, path handling security (Combine vs Join), secure temp file creation, cross-platform considerations, IOException hierarchy, and buffer sizing guidance.

Scope

  • FileStream construction with async flags
  • RandomAccess API for thread-safe offset-based I/O
  • FileSystemWatcher event handling and debouncing
  • MemoryMappedFile for large files and IPC
  • Path handling security (Combine vs Join) and secure temp files

Out of scope

  • PipeReader/PipeWriter and network I/O -- see [skill:dotnet-io-pipelines]
  • Async/await fundamentals -- see [skill:dotnet-csharp-async-patterns]
  • Span/Memory/ArrayPool deep patterns -- see [skill:dotnet-performance-patterns]
  • JSON and Protobuf serialization -- see [skill:dotnet-serialization]
  • GC implications of memory-mapped backing arrays -- see [skill:dotnet-gc-memory]
Related skills

More from novotnyllc/dotnet-artisan

Installs
4
GitHub Stars
208
First Seen
Feb 24, 2026