CaeriusNet 10.0.0-alpha
This is a prerelease version of CaeriusNet.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package CaeriusNet --version 10.0.0-alpha
NuGet\Install-Package CaeriusNet -Version 10.0.0-alpha
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="10.0.0-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CaeriusNet" Version="10.0.0-alpha" />
<PackageReference Include="CaeriusNet" />
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 10.0.0-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CaeriusNet, 10.0.0-alpha"
#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 CaeriusNet@10.0.0-alpha
#: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=CaeriusNet&version=10.0.0-alpha&prerelease
#tool nuget:?package=CaeriusNet&version=10.0.0-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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.
-
net10.0
- Aspire.Microsoft.Data.SqlClient (>= 9.5.1)
- Aspire.StackExchange.Redis (>= 9.5.1)
- CaeriusNet.Generator (>= 9.5.0)
- Microsoft.Data.SqlClient (>= 7.0.0-preview2.25289.6)
- Microsoft.Extensions.Caching.Memory (>= 10.0.0-rc.2.25502.107)
- Microsoft.Extensions.Configuration.Json (>= 10.0.0-rc.2.25502.107)
- Microsoft.Extensions.DependencyInjection (>= 10.0.0-rc.2.25502.107)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0-rc.2.25502.107)
- StackExchange.Redis (>= 2.9.32)
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 | |
|---|---|---|---|
| 10.0.0.4-alpha | 0 | 10/28/2025 | |
| 10.0.0.3-alpha | 0 | 10/28/2025 | |
| 10.0.0.2-alpha | 36 | 10/27/2025 | |
| 10.0.0.1-alpha | 62 | 10/25/2025 | |
| 10.0.0-alpha | 124 | 10/21/2025 | |
| 9.4.1 | 188 | 9/5/2025 | |
| 9.4.0 | 195 | 9/3/2025 | |
| 9.3.8 | 272 | 7/19/2025 | |
| 9.3.7 | 213 | 6/30/2025 | |
| 9.3.6 | 167 | 6/27/2025 | |
| 9.3.5 | 145 | 5/24/2025 | |
| 9.3.1 | 205 | 5/21/2025 | |
| 9.3.0 | 194 | 5/21/2025 | |
| 9.2.3 | 237 | 4/19/2025 | |
| 9.2.2 | 242 | 4/19/2025 | |
| 9.2.0 | 139 | 4/19/2025 | |
| 9.1.1 | 188 | 3/21/2025 | |
| 9.1.0 | 226 | 3/19/2025 | |
| 9.0.7 | 206 | 3/19/2025 | |
| 9.0.6 | 179 | 2/19/2025 | |
| 9.0.5 | 157 | 1/17/2025 | |
| 9.0.4 | 96 | 1/15/2025 | |
| 9.0.3 | 127 | 12/25/2024 | |
| 9.0.2 | 103 | 12/25/2024 | |
| 9.0.0 | 137 | 12/24/2024 |