Ruya.EntityFrameworkCore.SqlServer
11.0.5
See the version list below for details.
dotnet add package Ruya.EntityFrameworkCore.SqlServer --version 11.0.5
NuGet\Install-Package Ruya.EntityFrameworkCore.SqlServer -Version 11.0.5
<PackageReference Include="Ruya.EntityFrameworkCore.SqlServer" Version="11.0.5" />
<PackageVersion Include="Ruya.EntityFrameworkCore.SqlServer" Version="11.0.5" />
<PackageReference Include="Ruya.EntityFrameworkCore.SqlServer" />
paket add Ruya.EntityFrameworkCore.SqlServer --version 11.0.5
#r "nuget: Ruya.EntityFrameworkCore.SqlServer, 11.0.5"
#:package Ruya.EntityFrameworkCore.SqlServer@11.0.5
#addin nuget:?package=Ruya.EntityFrameworkCore.SqlServer&version=11.0.5
#tool nuget:?package=Ruya.EntityFrameworkCore.SqlServer&version=11.0.5
Ruya Common .NET Libraries
A collection of opinionated, observability-first .NET libraries for building production-grade services. Each package below links to its own README with installation, configuration, and usage details.
Package Naming
Ruya.* packages fall into two categories:
- Extensions to Microsoft libraries build on the corresponding .NET platform area. For example,
Ruya.Diagnosticsextends the diagnostics stack built onSystem.Diagnostics, andRuya.Extensions.HostingextendsMicrosoft.Extensions.Hosting. - Ruya-defined capabilities introduce abstractions where the Microsoft platform does not provide an equivalent. For example,
Ruya.Services.CloudStorage.Abstractionsdefines Ruya's provider-neutral cloud-storage contracts.
Contents
- Package Naming
- Primitives & Testing
- Extensions
- Diagnostics & Observability
- ASP.NET Core
- Data Access
- System Utilities
- Distributed Lock
- Message Queue
- Reliable Messaging
- Cloud Storage
- Token Broker
Primitives & Testing
| Package | Description | NuGet |
|---|---|---|
| Ruya.Primitives | Common primitives, constants, and extensions used across the framework. | |
| Ruya.Testing.Primitives | Base classes and utilities (TestBase, TestHost) for unit and integration tests. |
Extensions
| Package | Description | NuGet |
|---|---|---|
| Ruya.Extensions.Configuration | Configuration helpers including feature flags and startup loading. | |
| Ruya.Extensions.DependencyInjection | Service collection validation to ensure required services are registered. | |
| Ruya.Extensions.Hosting | WorkerBackgroundService with Cron scheduling, idle backoff, retries, and observability. |
Diagnostics & Observability
| Package | Description | NuGet |
|---|---|---|
| Ruya.Diagnostics.Abstractions | Abstractions for the Ruya Diagnostics framework. | |
| Ruya.Diagnostics | Distributed tracing helpers and ActivitySource debugging tools. |
|
| Ruya.OpenTelemetry | OpenTelemetry registration with sensible defaults for traces, metrics, and logs. |
ASP.NET Core
| Package | Description | NuGet |
|---|---|---|
| Ruya.AspNetCore.DataProtection.StackExchangeRedis | Data Protection with Redis key persistence, plus tracing, metrics, and health checks. | |
| Ruya.AspNetCore.Diagnostics | Global exception handler for ASP.NET Core applications. | |
| Ruya.AspNetCore.Middleware | Middleware for adding application metadata (version, environment) to response headers. |
Data Access
| Package | Description | NuGet |
|---|---|---|
| Ruya.EntityFrameworkCore.SqlServer | SQL Server extensions for EF Core: BatchLock, BulkInsert, and ModelMetadataService. |
System Utilities
| Package | Description | NuGet |
|---|---|---|
| Ruya.System.Xml.Serialization | Thread-safe, cached XmlSerializer wrapper with a simple static API. |
Distributed Lock
A provider-agnostic distributed locking abstraction with multiple backends.
| Package | Description | NuGet |
|---|---|---|
| Ruya.Services.DistributedLock.Abstractions | Core IDistributedLock interface, options, and helpers. |
|
| Ruya.Services.DistributedLock | Base implementation with telemetry, health checks, and the "acquire, execute, release" pattern. | |
| Ruya.Services.DistributedLock.InMemory | SemaphoreSlim-based provider for testing and single-instance apps. |
|
| Ruya.Services.DistributedLock.MsSql | SQL Server sp_getapplock-based provider. |
|
| Ruya.Services.DistributedLock.Redis | Redis-based provider (SET NX PX or RedLock). |
Message Queue
A provider-agnostic async messaging abstraction with unified API and middleware support.
| Package | Description | NuGet |
|---|---|---|
| Ruya.Services.MessageQueue | Core abstractions, middleware pipeline, telemetry, and health checks. | |
| Ruya.Services.MessageQueue.InMemory | System.Threading.Channels-based provider for testing and single-process apps. |
|
| Ruya.Services.MessageQueue.MsSql | SQL Server Service Broker provider with transactional publish, receive, retry, and dead-letter storage. | |
| Ruya.Services.MessageQueue.RabbitMq | RabbitMQ provider with durable exchanges, delayed delivery, and priority queues. | |
| Ruya.Services.MessageQueue.Redis | Redis Pub/Sub subscriptions and Streams publishing for low-latency messaging. |
Reliable Messaging
Transactional Outbox + Inbox primitives for reliable, persistence- and transport-agnostic messaging.
| Package | Description |
|---|---|
| Ruya.Services.ReliableMessaging | Core Outbox/Inbox abstractions with per-TContext registration. |
| Ruya.Services.ReliableMessaging.EntityFrameworkCore | EF Core storage adapter with a SaveChangesAsync interceptor for atomic commits. |
| Ruya.Services.ReliableMessaging.MessageQueue | Ruya.Services.MessageQueue transport adapter with scope-aware atomic Inbox processing. |
Cloud Storage
A unified, stateless interface for file storage across multiple cloud providers.
| Package | Description | NuGet |
|---|---|---|
| Ruya.Services.CloudStorage.Abstractions | ICloudFileService and ICloudStorageFactory abstractions with built-in telemetry. |
|
| Ruya.Services.CloudStorage.Amazon | Amazon S3 provider. | |
| Ruya.Services.CloudStorage.Azure | Azure Blob Storage provider. | |
| Ruya.Services.CloudStorage.Google | Google Cloud Storage provider. | |
| Ruya.Services.CloudStorage.Local | Local file system provider for development and on-premise deployments. |
Token Broker
A JWT-based service-to-service authentication system with API key auth and nested actor chain token exchange (on-behalf-of flow).
| Package | Description | NuGet |
|---|---|---|
| Ruya.Services.TokenBroker.Abstractions | Contracts, models, validation, and constants shared across the broker, client, and validation packages. | |
| Ruya.Services.TokenBroker | The token broker service: issues and exchanges JWTs, backed by Redis for API keys. | |
| Ruya.Services.TokenBroker.Client | Client for requesting and exchanging tokens against the broker. | |
| Ruya.Services.TokenBroker.Validation | JWT validation extensions and ClaimsPrincipal helpers for resource servers. |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Microsoft.Data.SqlClient (>= 8.0.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 11.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 11.0.0)
- Microsoft.Extensions.Options.DataAnnotations (>= 11.0.0)
- Ruya.Diagnostics.Abstractions (>= 11.0.5)
- Ruya.Extensions.DependencyInjection (>= 11.0.5)
- Ruya.Primitives (>= 11.0.5)
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 |
|---|---|---|
| 11.0.6 | 0 | 12/6/2026 |
| 11.0.5 | 0 | 12/6/2026 |
| 11.0.4 | 0 | 12/6/2026 |
| 8.2.26 | 177 | 8/21/2026 |
| 8.2.25 | 122 | 8/21/2026 |
| 8.2.24 | 133 | 8/20/2026 |
| 8.2.23 | 162 | 3/31/2026 |
| 8.2.22 | 147 | 3/15/2026 |
| 8.2.21 | 154 | 3/9/2026 |
| 8.2.20 | 140 | 3/8/2026 |
| 8.2.19 | 148 | 3/5/2026 |
| 8.2.18 | 142 | 3/3/2026 |
| 8.2.17 | 146 | 3/2/2026 |
| 8.2.16 | 160 | 1/18/2026 |
| 8.2.15 | 171 | 1/14/2026 |
| 8.2.14 | 166 | 1/6/2026 |
| 8.2.13 | 162 | 12/30/2025 |
| 8.2.12 | 156 | 12/30/2025 |
| 8.2.11 | 156 | 12/28/2025 |
| 8.2.10 | 170 | 12/28/2025 |
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [11.0.0]
### Changed
- Upgraded target framework across all libraries and test projects from `net8.0` to `net11.0` (enabling .NET 11 Runtime Async).
- Upgraded package versions to .NET 11 and latest compatible releases (`OpenTelemetry 1.21.0`, `Dapr 1.19.1`, `Microsoft.Data.SqlClient 8.0.0`, `StackExchange.Redis 3.5.0`, `Google.Cloud.Storage.V1 5.1.0`, `RabbitMQ.Client 7.3.0`, `MSTest 4.5.3`, `Testcontainers 4.17.0`, and cloud SDKs).
- Adopted C# 15 `union` types on `LockResult` and `MessageResult` with backward-compatible members, C# 14 `extension(...)` blocks (`HostEnvironmentExtensions`, `EnumExtensions`, `ClaimsPrincipalExtensions`), C# 14 `field`-backed properties (`Azure.Setting`), C# 15 `[with(...)]` collection expressions, and `System.Threading.Lock`.
### Fixed
- Added `EnsureContainerExists` configuration toggle, per-container single-flight initialization, `ExistsAsync` pre-check (avoiding `409 ContainerAlreadyExists` telemetry on existing containers), and source-blob existence validation before destination container initialization in `Ruya.Services.CloudStorage.Azure`.
- Replaced obsolete `GoogleCredential.FromJson` and `Object.Updated` usage in `Ruya.Services.CloudStorage.Google`, and removed redundant framework-provided `NU1510` package references.
- Fixed `Release` `<PackageReference>` conditions on `Ruya.Services.ReliableMessaging.EntityFrameworkCore` and `Ruya.Services.ReliableMessaging.MessageQueue`.
- Updated `Dockerfile.build` and `Ruya.slnx` to match the current repository layout.
[Unreleased]: https://github.com/cilerler/ruya/compare/v11.0.0...HEAD
[11.0.0]: https://github.com/cilerler/ruya/commits/main