PowerCSharp v2.0.2 — Features Framework & Cache Family #32
marioarce
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 PowerCSharp v2.0.2 — Features Framework & Cache Family
What Is the Features Framework?
The Features system is a first-class extension point for the PowerCSharp ecosystem. It defines two tiers of capability:
PowerCSharp.BuiltInFeaturesPowerCSharp.Feature.*)Both tiers are self-contained, independently versioned, and share a common contract surface (
PowerCSharp.Features.Abstractions) that any developer or company can implement to build their own feature.📦 New Packages in v2.0.x
Features Framework Trio — v1.0.1
PowerCSharp.Features.AbstractionsIFeatureModule,IFeatureFlagProvider,FeatureOptionsBase,FeatureDescriptor. Zero third-party deps.netstandard2.0+net8.0.PowerCSharp.FeaturesPowerCSharp.BuiltInFeaturesCache Feature Family — v1.3.1
PowerCSharp.Feature.Cache.AbstractionsICacheService,IDiskCacheService,CacheResult<T>,CacheMetadata). NoOp safe-off floor.netstandard2.0+net8.0.PowerCSharp.Feature.CacheCacheFeatureOptions,AddCacheFeature().PowerCSharp.Feature.Cache.BitFasterBitFaster.Caching. Stampede protection.PowerCSharp.Feature.Cache.Disk⚡ Quick Start
Features Framework
Cache Feature
dotnet add package PowerCSharp.Feature.Cache dotnet add package PowerCSharp.Feature.Cache.BitFaster # or .Disk🏗️ Architecture Highlights
Flag Resolution Chain (highest precedence first)
Environment variable convention:
Two-Layer Gating (Pluggable Features)
Diagnostics Endpoint
When enabled,
GET /power-featuresreturns the live feature matrix:[ { "Key": "Cache", "Tier": "Pluggable", "Enabled": true, "Source": "Configuration", "Version": "1.3.1" }, { "Key": "Cors", "Tier": "BuiltIn", "Enabled": true, "Source": "Configuration", "Version": "1.0.1" } ]🔧 Also in v2.0.x
DirectoryExtensions—TrySafeDeleteand safe directory-manipulation helpersupdate-versionworkflow now supports independent version bumping per package family (core/features/cache) viaworkflow_dispatchConsole.WriteLinedebug artifacts removed from production library code; startup logging viaILoggerinUsePowerFeatures📚 Documentation
AddPowerFeatures,UsePowerFeatures,PowerFeaturesOptions, registry🚀 Installation — Full Suite
🤝 Build Your Own Feature
The contract is open. Any developer or company can:
PowerCSharp.Features.AbstractionsIFeatureModuleIFeatureFlagProviderfor custom flag sources (Azure App Config, AWS SSM, database, etc.)options.ScanAssemblies(...)oroptions.AddModule(...)The engine handles discovery, flag resolution, DI orchestration, startup logging, and diagnostics — your module focuses only on its own capability.
📊 Package Statistics
🔮 Roadmap — v2.1.x
PowerCSharp.Feature.Cache.Memory— nativeIMemoryCacheproviderCorrelationId,SecurityHeaders,ExceptionHandlingPowerCSharp.Feature.Observability— OpenTelemetry integration🙏 Thank You
Built by Mario Arce — Software Architect with 20+ years of enterprise C# experience. This release is the foundation for a modular, composable C# ecosystem that grows with your project, not against it.
⭐ Star the repo — it helps more developers discover the library.
🐛 Report Issues
💬 GitHub Discussions
PowerCSharp v2.0.2·PowerCSharp.Features v1.0.1·PowerCSharp.Feature.Cache v1.3.1#PowerCSharp#CSharp#DotNet#OpenSource#NuGet#FeatureFlags#ArchitectureThis discussion was created from the release PowerCSharp v2.0.2 — Features Framework & Cache Family.
Beta Was this translation helpful? Give feedback.
All reactions