CasCap.Common.Abstractions
4.9.0
Prefix Reserved
dotnet add package CasCap.Common.Abstractions --version 4.9.0
NuGet\Install-Package CasCap.Common.Abstractions -Version 4.9.0
<PackageReference Include="CasCap.Common.Abstractions" Version="4.9.0" />
<PackageVersion Include="CasCap.Common.Abstractions" Version="4.9.0" />
<PackageReference Include="CasCap.Common.Abstractions" />
paket add CasCap.Common.Abstractions --version 4.9.0
#r "nuget: CasCap.Common.Abstractions, 4.9.0"
#:package CasCap.Common.Abstractions@4.9.0
#addin nuget:?package=CasCap.Common.Abstractions&version=4.9.0
#tool nuget:?package=CasCap.Common.Abstractions&version=4.9.0
CasCap.Common.Abstractions
Core interface definitions shared across the CasCap ecosystem. This project provides the foundational contracts that other CasCap libraries and applications may depend upon.
Purpose
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
Interfaces
| Interface | Description |
|---|---|
IAppConfig |
Marker interface implemented by all application configuration records to allow easy identification and generic constraint usage |
IFeature<T> |
Identifies a service launched via a bitwise feature-flag enum — exposes the FeatureType property and an ExecuteAsync entry point |
IEventSink<T> |
Generic event sink contract. Domain events are fanned out to every registered IEventSink<T> implementation in parallel |
ILocalCache |
Abstraction for an in-process cache provider supporting Get, Set, Delete, and DeleteAll |
IMyBlob |
Represents a blob with associated metadata (bytes, DateCreatedUtc, BlobName, SizeInBytes, HasImage) |
INotifier |
Abstracts a notification service capable of sending and receiving messages with optional attachment support |
INotificationMessage |
Represents an outgoing notification message (text, sender, recipients, attachments) |
INotificationAttachment |
Metadata for an attachment received as part of a notification (Id, ContentType) |
INotificationGroup |
Represents a named group in a notification service (Id, Name, members) |
INotificationResponse |
Response returned after sending a notification (Timestamp) |
IReceivedNotification |
Represents a notification received from an external messaging service (Sender, GroupId, Message, attachments) |
IAzBlobStorageConfig |
Exposes Azure Blob Storage connection properties (endpoint/connection string, container name, health check probe type) for feature-specific configuration records |
IAzTableStorageConfig |
Exposes Azure Table Storage connection properties (endpoint/connection string, health check probe type) for feature-specific configuration records |
IFeatureConfig<T> |
Pairs with IFeature<T> to carry the enabled EnabledFeatures flags into the BackgroundService launcher |
IKubeAppConfig |
Exposes Kubernetes-specific runtime properties (node name, pod name, namespace, pod IP, service account name) |
IMetricsConfig |
Exposes OpenTelemetry metric configuration (metric name prefix, OTel service name) |
Enums
| Type | Description |
|---|---|
KubernetesProbeTypes |
[Flags] enum for Kubernetes container health probe types: None, Readiness, Liveness, Startup |
IEventSink<T> Contract
Task InitializeAsync(CancellationToken cancellationToken);
Task WriteEvent(T @event, CancellationToken cancellationToken = default);
IAsyncEnumerable<T> GetEvents(string? id = null, int limit = 1000, CancellationToken cancellationToken = default);
Task HousekeepingAsync(IReadOnlyCollection<string> validIds, CancellationToken cancellationToken = default);
InitializeAsync and HousekeepingAsync have default no-op implementations so that sink authors only need to implement WriteEvent and GetEvents.
Dependencies
The only valid dependencies for this library are other Abstractions-style libraries.
NuGet Packages
| Package |
|---|
| Microsoft.Extensions.Hosting.Abstractions |
This project has no project references.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.6)
-
net10.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.6)
-
net8.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.6)
-
net9.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.6)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on CasCap.Common.Abstractions:
| Package | Downloads |
|---|---|
|
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. |
|
|
CasCap.Api.Azure.Auth
Helper library for Azure authentication. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.9.0 | 45 | 4/15/2026 |
| 4.8.1 | 253 | 4/2/2026 |
| 4.8.1-2026-04-updates.6 | 53 | 4/1/2026 |
| 4.8.0 | 237 | 4/1/2026 |