Configuration Management
Frontend Configuration
Section titled “Frontend Configuration”Stored in: “.env”
C:\Users\<Your-User>\CodeBuddy\Projects\<Your-Project-Name>\react-app\.env
Backend Configuration
Section titled “Backend Configuration”Stored in: “Appsettings.development.json”
C:\Users\<Your-User>\CodeBuddy\Projects\<Your-Project-Name>\Services\App.Api\Appsettings.development.json
Configured in AppConfiguration.cs
Setting Configuration
Section titled “Setting Configuration”The .env and appsettings.development.json files are git ignored so RIDE AI will not be able to access them to add keys and settings. rIDE will add new configuration settings to your AppConfiguration for the backend and but will not add them to your appsettings.development.json. You will need to go find the file in your File Explorer and manually add them.
NOTE: You will need to manually add configuration settings to your local settings files and in GitHub environment secrets and variables or Azure App Service for the develop and or production environments in Azure.
Known Issue | Troubleshooting | Status |
---|---|---|
No way to add config settings via RIDE to appsettings.development.json, .env folder, or to GitHub Environment Secrets and Variables or Azure App Service Environment Variables. | Manually add config settings. | Not Reported. |
Dependency Injection
Section titled “Dependency Injection”NOTE: We use dependency injection in the Program.cs file. If you create new backend managers, engines, or accessors you will need to instruct RIDE to add them to the Program.cs dependency injection.