orleans-result-pattern
CommunitySerialization-safe result pattern for Orleans grains.
AuthorVincentH-Net
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The Orleans Result Pattern solves the challenge of signaling grain-method failures without exceptions, using a version-tolerant enum-based error model that serializes cleanly across grain boundaries.
Core Features & Use Cases
- Provides Result and Result<T> wrappers with an enum ErrorNr and string error messages for predictable, exception-free failure flows.
- Enables easy integration with ASP.NET Core minimal APIs and MVC endpoints on top of Orleans grains.
- Supports RFC7807-compatible validation and error reporting when ErrorNr is annotated with a ValidationError flag.
Quick Start
Define a grain contract that returns Result<string> and a client that handles success and error branches using a switch expression.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: orleans-result-pattern Download link: https://github.com/VincentH-Net/dotnet-agentic-engineering/archive/main.zip#orleans-result-pattern Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.