SquidStd.Core
0.7.0
See the version list below for details.
dotnet add package SquidStd.Core --version 0.7.0
NuGet\Install-Package SquidStd.Core -Version 0.7.0
<PackageReference Include="SquidStd.Core" Version="0.7.0" />
<PackageVersion Include="SquidStd.Core" Version="0.7.0" />
<PackageReference Include="SquidStd.Core" />
paket add SquidStd.Core --version 0.7.0
#r "nuget: SquidStd.Core, 0.7.0"
#:package SquidStd.Core@0.7.0
#addin nuget:?package=SquidStd.Core&version=0.7.0
#tool nuget:?package=SquidStd.Core&version=0.7.0
<p align="center"> <img src="https://raw.githubusercontent.com/tgiachi/squid-std/main/assets/icon.png" alt="SquidStd" width="120" height="120" /> </p>
<h1 align="center">SquidStd.Core</h1>
<p align="center"> <a href="https://www.nuget.org/packages/SquidStd.Core/"><img src="https://img.shields.io/nuget/v/SquidStd.Core.svg" alt="NuGet" /></a> <img src="https://img.shields.io/nuget/dt/SquidStd.Core.svg" alt="Downloads" /> <a href="https://tgiachi.github.io/squid-std/articles/core.html"><img src="https://img.shields.io/badge/docs-DocFX-1390A3.svg" alt="docs" /></a> <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="license" /> </p>
Foundational contracts and utilities for the SquidStd stack. It defines the core service interfaces (configuration, event bus, jobs, timing, metrics, storage) and ships dependency-free helpers — YAML/JSON serialization, a Serilog event sink, and string/environment/directory extensions — that the other SquidStd packages build on.
Install
dotnet add package SquidStd.Core
Features
- Configuration contracts:
IConfigEntry(a YAML section) andIConfigManagerService. - In-process messaging:
IEventBuswithISyncEventListener<T>/IAsyncEventListener<T>overIEvent. - Background work & timing:
IJobSystem,ITimerService,IMainThreadDispatcher. - Metrics & secrets:
IMetricProviderand secret-protection contracts. - Serialization:
IDataSerializer/IDataDeserializer(defaultJsonDataSerializer), plusYamlUtils/JsonUtils. - Utilities: a Serilog
EventSink, and string/env/directory extensions. - Shared domain enums under
Types(e.g.LogLevelType,PlatformType).
Usage
using SquidStd.Core.Extensions.Env;
using SquidStd.Core.Yaml;
// Expand "$VAR" tokens against the environment (unknown vars are left untouched).
var path = "$HOME/squidstd/data".ReplaceEnv();
// Serialize / deserialize YAML.
var yaml = YamlUtils.Serialize(new { name = "squid", port = 9000 });
Key types
| Type | Purpose |
|---|---|
IConfigEntry |
A registrable YAML configuration section. |
IConfigManagerService |
Loads YAML config and exposes typed sections. |
IEventBus |
Publish/subscribe in-process event bus. |
IJobSystem |
Background job scheduling/execution. |
ITimerService |
Timer-wheel based scheduling. |
IMetricProvider |
Source of metric samples for collection. |
IStorageService |
File/object storage abstraction. |
License
MIT — part of SquidStd.
| 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
- DryIoc.dll (>= 5.4.3)
- Serilog (>= 4.3.1)
- YamlDotNet (>= 18.0.0)
NuGet packages (24)
Showing the top 5 NuGet packages that depend on SquidStd.Core:
| Package | Downloads |
|---|---|
|
SquidStd.Abstractions
Package Description |
|
|
SquidStd.Storage.Abstractions
Package Description |
|
|
SquidStd.Messaging.Abstractions
Package Description |
|
|
SquidStd.Services.Core
Package Description |
|
|
SquidStd.Storage
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.24.1 | 0 | 7/6/2026 |
| 0.24.0 | 0 | 7/6/2026 |
| 0.23.0 | 87 | 7/4/2026 |
| 0.22.0 | 84 | 7/4/2026 |
| 0.21.0 | 128 | 7/3/2026 |
| 0.20.0 | 130 | 7/3/2026 |
| 0.19.0 | 133 | 7/3/2026 |
| 0.18.0 | 144 | 7/3/2026 |
| 0.17.0 | 144 | 7/3/2026 |
| 0.16.0 | 146 | 7/3/2026 |
| 0.15.0 | 244 | 7/2/2026 |
| 0.14.1 | 270 | 7/2/2026 |
| 0.14.0 | 256 | 7/2/2026 |
| 0.13.0 | 267 | 7/2/2026 |
| 0.12.0 | 266 | 7/2/2026 |
| 0.11.0 | 271 | 7/2/2026 |
| 0.10.0 | 370 | 6/30/2026 |
| 0.9.0 | 435 | 6/29/2026 |
| 0.8.0 | 435 | 6/28/2026 |
| 0.7.0 | 427 | 6/26/2026 |