RinneganCore 1.3.14

dotnet add package RinneganCore --version 1.3.14
                    
NuGet\Install-Package RinneganCore -Version 1.3.14
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RinneganCore" Version="1.3.14" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RinneganCore" Version="1.3.14" />
                    
Directory.Packages.props
<PackageReference Include="RinneganCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RinneganCore --version 1.3.14
                    
#r "nuget: RinneganCore, 1.3.14"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RinneganCore@1.3.14
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RinneganCore&version=1.3.14
                    
Install as a Cake Addin
#tool nuget:?package=RinneganCore&version=1.3.14
                    
Install as a Cake Tool

RinneganCore

RinneganCore is a lightweight ASP.NET Core application-service framework focused on vertical-slice use-cases, consistent API responses, and low-ceremony controller integration.

Why RinneganCore

  • Keep controllers thin and move business logic into use-case services.
  • Use one consistent response model with HTTP status + data + errors.
  • Add cross-cutting behavior through project wrappers and service hooks.
  • Register services automatically with AddRinnegan.

Packages

Package Status Purpose
RinneganCore Active Main framework: Rinnegan<TRequest, TResponse>, Result<T>, cache, DI scan
RinneganCore.Tools Active Companion utilities: pagination, Jalali date helpers, string and formatting utilities
Rinnegan Deprecated Legacy .NET Framework / MVC5 package in legacy/Rinnegan (compatibility only)

Install

dotnet add package RinneganCore
dotnet add package RinneganCore.Tools

30-Second Example

// Program.cs
builder.Services.AddRinnegan(Assembly.GetAssembly(typeof(Services.Rinnegan<,>)));

// Controller action
[HttpPost]
public Task<IActionResult> New(
    [FromServices] Services.Areas.User.Todo.New service,
    [FromBody] Services.Areas.User.Todo.New.Request request)
{
    return service.RunAsActionResultAsync(request);
}

Sample Project

A minimal runnable sample is provided at:

  • samples/HelloRinnegan

It demonstrates:

  • cached read endpoint
  • create endpoint with validation
  • paginated list endpoint with RinneganCore.Tools

Documentation

When To Use It

Use RinneganCore when you want:

  • explicit use-case classes per feature
  • controller-to-service flow without mediator boilerplate
  • uniform result handling
  • easy reuse across multiple internal backends

Avoid it when you need:

  • a broad public ecosystem with many plugins
  • full DDD/CQRS infrastructure out of the box
  • a framework that enforces repository/domain boundaries

License

MIT License. See LICENSE.

Copyright (c) KiaIT.ir / Kia.Saeid

Repository

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.14 56 8/22/2026
1.3.13 131 7/2/2026
1.3.12 103 7/2/2026
1.3.11 129 5/3/2026
1.3.10 103 5/3/2026
1.3.9 293 11/16/2025
1.3.8 209 11/15/2025
1.3.7 218 11/15/2025
1.3.6 354 6/9/2025
1.3.5 194 6/8/2025
1.3.4 273 6/7/2025 1.3.4 is deprecated because it has critical bugs.
1.3.3 179 4/5/2025
1.3.2 217 12/5/2024
1.3.1 193 11/24/2024
1.2.11 180 11/4/2024
1.2.10 179 10/28/2024
1.2.9 184 10/28/2024
1.2.8 215 9/17/2024
1.2.7 233 8/26/2024 1.2.7 is deprecated because it has critical bugs.
1.2.6 242 8/20/2024 1.2.6 is deprecated because it has critical bugs.
Loading failed

Removed unnecessary Task.Run from RunExecuteAsync. See CHANGELOG.md.