Skip to content

KeyserDSoze/Rystem

Repository files navigation

Rystem

Rystem is a open-source framework to improve .NET with powerful utilities, patterns, and integrations.

πŸ“š Documentation

πŸ€– AI-Powered Development with MCP

Rystem provides a Model Context Protocol (MCP) server that enables AI assistants (like GitHub Copilot, Claude, etc.) to access comprehensive documentation, best practices, and code examples directly during development.

Access the MCP server at: https://rystem.cloud/mcp

Features:

  • πŸ“– 32+ Documentation Topics: DDD patterns, Repository framework, Authentication, Content management, and more
  • πŸ” Smart Search: Find documentation by keyword across all topics
  • πŸ’‘ Code Examples: Ready-to-use code snippets and templates
  • 🎯 Best Practices: Alessandro Rapiti's proven patterns and conventions

Help the project

Reach out us on Discord

Contribute

Support the project: https://www.buymeacoffee.com/keyserdsoze

Get Started

🎯 Core Libraries

Rystem (core library)

Essential utilities for .NET: JSON extensions, LINQ serialization, reflection helpers, text utilities, stopwatch, discriminated unions, and more.

πŸ“– Documentation

Rystem.DependencyInjection (core library)

Advanced dependency injection with Factory pattern, named services, decorators, and automatic assembly scanning.

πŸ“– Documentation

Rystem.DependencyInjection.Web (core library)

Web-specific DI extensions for ASP.NET Core applications.

πŸ“– Documentation


πŸ” Authentication

Rystem.Authentication.Social

Social login integration for Google, Microsoft, Facebook, GitHub, LinkedIn, X (Twitter), Instagram, and Pinterest with automatic token management.

πŸ“– Documentation

Rystem.Authentication.Social.Blazor

Social authentication UI components for Blazor Server and Blazor WebAssembly with automatic routing protection.

πŸ“– Documentation

Rystem.Authentication.Social.React

React hooks and components for social authentication in TypeScript/JavaScript applications.

πŸ“– Documentation


πŸš€ API Framework

Rystem.Api.Server

Auto-generate REST APIs from repositories without writing controllers - includes authentication, LINQ queries, and Swagger documentation.

πŸ“– Documentation

Rystem.Api.Client

Consume REST APIs with automatic retry logic, circuit breaker, and authentication handling.

πŸ“– Documentation


βš™οΈ Background Processing

Concurrency (Async Lock and Race Condition)

Prevent race conditions with key-based async locking - supports in-memory and Redis distributed locks.

πŸ“– Documentation

Background Job

Schedule recurring tasks with CRON expressions - run automated jobs, data sync, cleanup tasks, and notifications.

πŸ“– Documentation

Queue

Buffer operations in-memory and process in batches - collect items until buffer size or time limit is reached.

πŸ“– Documentation


πŸ“¦ Data Access

Repository Framework (Repository pattern and CQRS)

Complete repository pattern implementation with CQRS support, multiple storage backends, business logic injection, and Factory pattern.

πŸ“– Documentation

Content Repository (Upload/Download files)

Unified interface for file storage across Azure Blob Storage, Azure File Storage, SharePoint Online, and in-memory storage with metadata and tags support.

πŸ“– Documentation


🌍 Localization

Simplified localization for .NET applications with resource file management and multi-language support.

πŸ“– Documentation


πŸ—οΈ Architecture Patterns

Rystem follows Domain-Driven Design (DDD) principles and supports:

  • βœ… Single Domain: Flat structure for small applications
  • βœ… Multi-Domain: Isolated bounded contexts for enterprise applications
  • βœ… CQRS: Command/Query separation with repository framework
  • βœ… Event-Driven: Domain events and messaging patterns
  • βœ… Microservices: Complete domain isolation with API communication

πŸ“– Learn more at https://rystem.net


πŸ“„ License

MIT License - see LICENSE for details


πŸ™ Credits

Created and maintained by Alessandro Rapiti (KeyserDSoze)

Special thanks to all contributors

About

Rystem is an add-on to .Net functionalities like Dependency Injection (with Factory, Scan, Decoration). Repository Framework to have an easier integration for your DDD or CQRS pattern, and many many others fancy stuff.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors