Update instructions/oqtane.instructions.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Mark Davis 2025-09-04 16:10:22 -07:00 committed by GitHub
parent db3d171e2b
commit 2df6b50be4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@ applyTo: '**/*.razor, **/*.razor.cs, **/*.razor.css'
- For complex client processing like getting data, create a service class that inherits from ServiceBase and lives in the services folder. One service class for each module. - For complex client processing like getting data, create a service class that inherits from ServiceBase and lives in the services folder. One service class for each module.
- Client service should call server endpoint using ServiceBase methods - Client service should call server endpoint using ServiceBase methods
- Server project contains MVC Controllers, one for each module that match the client service calls. Each controller will call server-side services or repositories managed by DI - Server project contains MVC Controllers, one for each module that match the client service calls. Each controller will call server-side services or repositories managed by DI
- Servier projects use repository peterns for modules, one reposioty class per module to match the controllers. - Server projects use repository patterns for modules, one repository class per module to match the controllers.
## Error Handling and Validation ## Error Handling and Validation