Day 3/100✅User Secrets config Used to store sensitive data during local development. Works only at the project level. Not intended for Production or Staging environments. Common examples:API Keys Database passwords Connection strings OAuth secrets #100DaysOfCode#CS#ASPNET
3. In-Memory Configuration Provider
Stores configuration as key-value pairs directly in code.
Very fast because everything is kept in memory.
Best suited for:Unit testing, Temporary configuration
, Runtime-generated settings
✅Host and App Configurations
- Host: happens first to handle app startup and lifetime. (bootstraps the app)
like/ Environment, App name, Content root, web root, etc.
- App: Happens after to control app behaviour (drives the app)
like/ Connection strings, Logging levels, etc.
Day 2/100✅Configurations in https://t.co/LKkq9jsAmH Core
-A centralised way to store and manage settings to control app behaviour without hardcoding.
#100DaysOfCode#CS#ASPNET