CaeriusNet 9.3.5

dotnet add package CaeriusNet --version 9.3.5
                    
NuGet\Install-Package CaeriusNet -Version 9.3.5
                    
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="CaeriusNet" Version="9.3.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CaeriusNet" Version="9.3.5" />
                    
Directory.Packages.props
<PackageReference Include="CaeriusNet" />
                    
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 CaeriusNet --version 9.3.5
                    
#r "nuget: CaeriusNet, 9.3.5"
                    
#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.
#addin nuget:?package=CaeriusNet&version=9.3.5
                    
Install CaeriusNet as a Cake Addin
#tool nuget:?package=CaeriusNet&version=9.3.5
                    
Install CaeriusNet as a Cake Tool

CaeriusNet Source Generator

CaeriusNet Source Generator is a powerful .NET tool that automatically generates DTO (Data Transfer Object) mappers and TVP (Table-Valued Parameter) converters, streamlining the development process for .NET applications.

Features

  • DTO Generation: Automatically generates DTO mapping functionality for classes and records
  • SQL Type Mapping: Built-in support for mapping .NET types to SQL Server data types
  • Nullable Support: Handles nullable types appropriately in both C# and SQL contexts
  • Constructor & Property Support: Works with both constructor parameters and public properties
  • Attribute-Based: Simple to use with the [GenerateDto] attribute

Installation

Install the package via NuGet:

CaeriusNet Redis Integration Guide

CaeriusNet supports Redis caching with both traditional connection string and Aspire integration approaches.

Traditional Redis Integration

To use Redis with a connection string:

// In your startup or program file
services.AddCaeriusNet("your-sql-connection-string")
        .AddCaeriusRedisCache("your-redis-connection-string");

// Use Redis caching in stored procedure calls
var result = await dbContext.ExecuteStoredProcedureAsync<YourResultType>(
    new StoredProcedureParametersBuilder("YourStoredProcedureName")
        .AddParameter("@param1", value1, SqlDbType.NVarChar)
        .AddRedisCache("your-cache-key", TimeSpan.FromMinutes(10))
        .Build()
);
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 is compatible.  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
9.3.5 71 5/24/2025
9.3.1 137 5/21/2025
9.3.0 136 5/21/2025
9.2.3 168 4/19/2025
9.2.2 170 4/19/2025
9.2.0 79 4/19/2025
9.1.1 135 3/21/2025
9.1.0 149 3/19/2025
9.0.7 152 3/19/2025
9.0.6 114 2/19/2025
9.0.5 105 1/17/2025
9.0.4 62 1/15/2025
9.0.3 85 12/25/2024
9.0.2 70 12/25/2024
9.0.0 79 12/24/2024