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:07:33 -07:00 committed by GitHub
parent 7b77a174cb
commit d334b26dc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@ applyTo: '**/*.razor, **/*.razor.cs, **/*.razor.css'
- Follow client server patterns for module development.
- The Client project has various modules in the modules folder.
- Each action in the client module is a seperate razor file that inherits from ModuleBase with index.razor being the default action.
- For complex client rocessing 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
- 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.