What problem does it solve?
This Skill provides robust patterns for implementing and managing feature flags in ASP.NET Core Razor Pages applications, enabling safe deployments, gradual rollouts, and A/B testing.
Core Features & Use Cases
- Configuration-Based Flags: Define feature toggles in
appsettings.json with environment-specific overrides.
- Typed Feature Flags: Use constants for compile-time safety and better discoverability.
- Razor Pages Integration: Conditionally render UI elements and control routing based on feature flag status.
- Gradual Rollouts: Implement user-based and percentage-based rollouts for new features.
- Time-Based Flags: Enable features automatically during specific time windows.
- Use Case: Roll out a new dashboard feature to 10% of users initially, then gradually increase the percentage while monitoring performance and user feedback.
Quick Start
Use the feature-flags skill to enable the 'NewDashboard' feature for beta testers in your ASP.NET Core application.