Open Closed

Was this PR already part of release 10.1 #10497


User avatar
0
sinancondo created

https://github.com/abpframework/abp/pull/24034 Want to make sure we can now enable/disable feature flag from appsettings.json


2 Answer(s)
  • User Avatar
    0
    sinancondo created

    Can we enable or disable feature flag in appsettings.json in ABP 10.1 ?

  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • In ABP 10.1.0, there is no built-in feature value provider that reads feature flags from appsettings.json. ABP’s feature system is designed to resolve feature values from providers like the Feature Management module store (database) and related providers, not from application configuration.
    • So, you can’t enable/disable ABP features via appsettings.json out-of-the-box in 10.1.0.
    • If PR abpframework/abp#24034 adds an appsettings.json-based feature provider (or similar), that would need to be included in 10.1.x after the PR was merged. From the information I can verify here, I can’t confirm that this PR is included in 10.1.0.

    If you want config-based flags today, the verified approach in ABP is to use the Feature Management module UI/API (which persists values), or implement your own custom IFeatureValueProvider (if available in your ABP version) that reads from IConfiguration and register it.

    Links (validated):

    • https://abp.io/docs/10.1/framework/infrastructure/features
    • https://abp.io/docs/10.1/modules/feature-management
    • https://github.com/abpframework/abp/pull/24034

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.3.0-preview. Updated on March 02, 2026, 08:48
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.