Reference
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.
Auto-Generated Code
Section titled “Auto-Generated Code”The following files are automatically generated when using rIDE to save you time.
Frontend DTOs
Section titled “Frontend DTOs”The frontend Dtos in AppDto.ts are automatically generated to match the backend Dtos.
Frontend Enums
Section titled “Frontend Enums”The frontend Enums in the Enums folder are automatically generated to match the backend Enums.
Frontend Managers
Section titled “Frontend Managers”The frontend managers that call the backend managers are automatically generated?
Auto-Generation
Section titled “Auto-Generation”Auto-generation of these items occurs when you build the backend
Disabled Editing
Section titled “Disabled Editing”The AI Code Editor is blocked from editing these files outside auto-generation. You can edit them manually but they will be overwritten when you build the backend. To fix issues in these files you need to fix the backend files that create the auto-generated code.
Known Issue | Troubleshooting | Status |
---|---|---|
Primitives, Dtos wrapped in ILists, and null returns were introduced as return or request types in my C# manager and then into front-end manager via auto-gen manager throwing errors. Couldn’t figure out where enums needed to be stored to auto-generate in the Enums file. | Had to tell it a couple times in the C# manager to not use primitives but use Dto objects everywhere. | Not Reported. |
Frontend Routing
Section titled “Frontend Routing”Page routing for the frontend is in the react-app/src/routes/Routes.tsx file.
API Handling
Section titled “API Handling”We utilize a generic invoke pattern.