![]() |
VOOZH | about |
dotnet add package CasCap.Common.Abstractions --version 4.12.1
NuGet\Install-Package CasCap.Common.Abstractions -Version 4.12.1
<PackageReference Include="CasCap.Common.Abstractions" Version="4.12.1" />
<PackageVersion Include="CasCap.Common.Abstractions" Version="4.12.1" />Directory.Packages.props
<PackageReference Include="CasCap.Common.Abstractions" />Project file
paket add CasCap.Common.Abstractions --version 4.12.1
#r "nuget: CasCap.Common.Abstractions, 4.12.1"
#:package CasCap.Common.Abstractions@4.12.1
#addin nuget:?package=CasCap.Common.Abstractions&version=4.12.1Install as a Cake Addin
#tool nuget:?package=CasCap.Common.Abstractions&version=4.12.1Install as a Cake Tool
Core interface definitions shared across the CasCap ecosystem. This project provides the foundational contracts that other CasCap libraries and applications may depend upon.
dotnet add package CasCap.Common.Abstractions
This library contains no concrete implementations — only interfaces and abstractions that define the contracts between components.
Target frameworks: netstandard2.0, net8.0, net9.0, net10.0
| Interface | Description |
|---|---|
| Marker interface implemented by all application configuration records to allow easy identification and generic constraint usage | |
Identifies a feature-gated background service — exposes a string FeatureName and ExecuteAsync entry point. Matched case-insensitively against the enabled features set at startup |
|
[Obsolete] Generic predecessor of IBgFeature that used a bitwise feature-flag enum via FeatureType. Retained for backward compatibility |
|
Generic write-path event sink contract (unconstrained — accepts both reference and value types). Exposes a SinkType property for targeted dispatch filtering. Domain events are fanned out to every registered IEventSink<T> implementation in parallel. Read-path queries are defined by domain-specific interfaces (e.g. IFroniusQuery, IKnxQuery) in the consuming projects |
|
Abstraction for an in-process cache provider supporting Get, Set, Delete, and DeleteAll |
|
Represents a blob with associated metadata (bytes, DateCreatedUtc, BlobName, SizeInBytes, HasImage) |
|
| Abstracts a notification service capable of sending and receiving messages with optional attachment support | |
| Represents an outgoing notification message (text, sender, recipients, attachments) | |
Metadata for an attachment received as part of a notification (Id, ContentType) |
|
Represents a named group in a notification service (Id, Name, members) |
|
Response returned after sending a notification (Timestamp) |
|
Represents a notification received from an external messaging service (Sender, GroupId, Message, attachments) |
|
| Abstraction for persisting HTTP audit entries (net8.0+ only) | |
| Exposes Azure Blob Storage connection properties (endpoint/connection string, container name, health check probe type) for feature-specific configuration records | |
| Exposes Azure Table Storage connection properties (endpoint/connection string, health check probe type) for feature-specific configuration records | |
[Obsolete] Pairs with IFeature<T> to carry the enabled EnabledFeatures flags into the BackgroundService launcher |
|
| Exposes Kubernetes-specific runtime properties (node name, pod name, namespace, pod IP, service account name) | |
| Exposes OpenTelemetry metric configuration (metric name prefix, OTel service name) |
| Type | Description |
|---|---|
[Flags] enum for Kubernetes container health probe types: None, Readiness, Liveness, Startup |
| Type | Description |
|---|---|
Basic authentication settings for a REST API (Username, Password, AnonymousPathPrefixes) |
|
| Dictionary of name → | |
Per-sink settings: Enabled, and a Settings dictionary for sink-specific key/value settings |
|
| Compile-time constants for common sink setting keys |
| Type | Description |
|---|---|
Represents a single HTTP request/response audit record — Source, HttpMethod, RequestUri, StatusCode, ElapsedMs, RequestBody, ResponseBody (net8.0+ only) |
| Type | Description |
|---|---|
A comms stream entry with Source, Message, TimestampUtc, and optional JsonPayload for AI agent context |
| Attribute | Description |
|---|---|
Decorates implementations with a string type name (e.g. "Redis", "AzureTables", "Console") used by for discovery |
| Method | Description |
|---|---|
| Discovers and registers all implementations in the supplied assembly whose name is enabled in | |
KubernetesProbeTypes.GetTags() |
Returns the string health-check tag array for a probe type ("ready", "live", "startup") |
string SinkType { get; }
Task InitializeAsync(CancellationToken cancellationToken);
Task WriteEvent(T @event, CancellationToken cancellationToken = default);
Task HousekeepingAsync(IReadOnlyCollection<string> validIds, CancellationToken cancellationToken = default);
SinkType is a self-describing property that each implementation sets to its own sink identifier (e.g. "Redis", "AzureTables", "Console"). This enables targeted dispatch filtering at runtime without reflection. The value should match the string passed to on the same class.
InitializeAsync and HousekeepingAsync have default no-op implementations so that sink authors only need to implement SinkType and WriteEvent.
Read-path queries (retrieving stored events, snapshots) are intentionally not part of this interface. Each domain defines its own query interface (e.g. IFroniusQuery, IKnxQuery) with methods tailored to the domain's access patterns. This follows the Interface Segregation Principle — write-only sinks (e.g. Console, SignalR) are not forced to implement read methods they cannot support.
The only valid dependencies for this library are other Abstractions-style libraries.
| Package |
|---|
| Microsoft.Extensions.Hosting.Abstractions |
This project has no project references.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on CasCap.Common.Abstractions:
| Package | Downloads |
|---|---|
|
CasCap.Common.Net
Helper library for common HttpClient/WebAPI requirements. |
|
|
CasCap.Common.Caching
Helper library for local and remote object caching. |
|
|
CasCap.Common.Extensions.Diagnostics.HealthChecks
Custom ASP.NET Core health check base classes for monitoring HTTP endpoint availability. |
|
|
CasCap.Common.Services
Feature-flag background service launcher using bitwise EnabledFeatures flags to activate IFeature implementations. |
|
|
CasCap.Common.Configuration
Configuration bootstrapping helpers — standard IConfiguration pipeline setup and validated IOptions binding for IAppConfig records. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.12.1 | 388 | 6/14/2026 |
| 4.12.0 | 483 | 6/12/2026 |
| 4.11.9 | 496 | 6/10/2026 |
| 4.11.8 | 450 | 5/27/2026 |
| 4.11.7 | 313 | 5/27/2026 |
| 4.11.6 | 610 | 5/26/2026 |
| 4.11.5 | 334 | 5/22/2026 |
| 4.11.4 | 417 | 5/20/2026 |
| 4.11.3 | 722 | 5/13/2026 |
| 4.11.2 | 322 | 5/11/2026 |
| 4.11.1 | 300 | 5/11/2026 |
| 4.11.0 | 624 | 5/8/2026 |
| 4.10.5 | 323 | 5/4/2026 |
| 4.10.4 | 303 | 5/2/2026 |
| 4.10.3 | 501 | 4/24/2026 |
| 4.10.2 | 251 | 4/24/2026 |
| 4.10.1 | 369 | 4/23/2026 |
| 4.10.0 | 244 | 4/23/2026 |
| 4.9.3 | 255 | 4/20/2026 |
| 4.9.2 | 241 | 4/19/2026 |