cloops.microservices
1.1.18
dotnet add package cloops.microservices --version 1.1.18
NuGet\Install-Package cloops.microservices -Version 1.1.18
<PackageReference Include="cloops.microservices" Version="1.1.18" />
<PackageVersion Include="cloops.microservices" Version="1.1.18" />
<PackageReference Include="cloops.microservices" />
paket add cloops.microservices --version 1.1.18
#r "nuget: cloops.microservices, 1.1.18"
#:package cloops.microservices@1.1.18
#addin nuget:?package=cloops.microservices&version=1.1.18
#tool nuget:?package=cloops.microservices&version=1.1.18
CLOOPS Microservices SDK
An opinionated library to build highly available, lean and scalable cloud native microservices using NATS as the primary communication layer.
See Change Log for change log and what's new.
versions 1.1.14 and above target .net 10. If you need .net 9, please use 1.1.13.
🎯 Overview
Minimize undifferentiated work and get all the bells and whistles for a lean, high-performance, and scalable microservices setup. Check out the docs for detailed guides.
This SDK uses NATS as the primary way for services to communicate. Lightweight REST support is included for Kubernetes probes and webhook ingress. See REST Support for more details.
🚀 Why C# for Microservices?
Modern C# is an excellent choice for building microservices! It's lean, fast, and fully open source with cross-platform support. With .NET's native Linux support, you get exceptional performance that rivals or exceeds many other languages. C# offers a perfect balance of developer productivity, type safety, and runtime efficiency—making it ideal for high-throughput, low-latency microservices architectures. Plus, with features like async/await, minimal APIs, and native AOT compilation, you can build services that are both performant and maintainable.
⚡ Why NATS over REST?
- Lower latency - Direct messaging without HTTP overhead
- Higher throughput - Optimized for performance at scale
- No protocol bloat - Lightweight and efficient
- Temporal decoupling - Services communicate asynchronously
- Built-in load balancing - No additional hops required
- Decentralized PKI - AuthN and AuthZ without central servers
- Zero exposed ports - Services connect to NATS, not each other
- Global distribution - Easy to create highly available, globally distributed services
📚 Learning NATS
- YouTube Playlist
- Official Docs
- Rethinking Microservices with NATS
- Escaping the HTTP Mindset (Podcast)
- NATS Super Clusters
📖 Documentation
Comprehensive guides available in the docs directory.
For data persistence, see SQL database operations and TigerBeetle ledger database usage.
This SDK is built on cloops.nats, which provides annotation-based consumer definitions and foundational features.
Agent Skill
Install agent skill with
npx skills add connectionloops/cloops.microservices --skill cloops-microservices
| 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. |
-
net10.0
- cloops.nats (>= 1.1.6)
- cronos (>= 0.13.0)
- dbup-sqlserver (>= 7.2.0)
- Microsoft.Data.SqlClient (>= 7.0.1)
- Microsoft.Extensions.Caching.Hybrid (>= 10.1.0)
- Microsoft.Extensions.Caching.StackExchangeRedis (>= 10.0.7)
- OpenTelemetry (>= 1.15.3)
- OpenTelemetry.Api (>= 1.15.3)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.15.3)
- OpenTelemetry.Extensions.Hosting (>= 1.15.3)
- OpenTelemetry.Instrumentation.Http (>= 1.15.1)
- OpenTelemetry.Instrumentation.Runtime (>= 1.15.1)
- OpenTelemetry.Instrumentation.SqlClient (>= 1.15.2)
- Serilog (>= 4.3.1)
- Serilog.Enrichers.Thread (>= 4.0.0)
- Serilog.Extensions.Hosting (>= 10.0.0)
- Serilog.Formatting.Compact (>= 3.0.0)
- Serilog.Sinks.Console (>= 6.1.1)
- System.Linq.Async (>= 7.0.1)
- tigerbeetle (>= 0.17.3)
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.1.18 | 43 | 7/2/2026 |
| 1.1.17 | 40 | 7/2/2026 |
| 1.1.16 | 121 | 5/7/2026 |
| 1.1.15 | 93 | 5/7/2026 |
| 1.1.13 | 143 | 1/11/2026 |
| 1.1.12 | 204 | 12/23/2025 |
| 1.1.11 | 164 | 12/23/2025 |
| 1.1.10 | 182 | 12/23/2025 |
| 1.1.9 | 148 | 12/21/2025 |
| 1.1.8 | 305 | 12/16/2025 |
| 1.1.7 | 266 | 12/16/2025 |
| 1.1.6 | 263 | 12/16/2025 |
| 1.1.5 | 261 | 12/16/2025 |
| 1.1.4 | 276 | 12/16/2025 |
| 1.1.3 | 267 | 12/16/2025 |
| 1.1.2 | 265 | 12/16/2025 |
| 1.1.1 | 261 | 12/16/2025 |
| 1.0.14 | 279 | 12/15/2025 |
| 1.0.13 | 264 | 12/15/2025 |
| 1.0.12 | 314 | 11/17/2025 |