Forum Discussion
Introducing PASS — Project Aware Smart Scaffolder for ASP.NET Core MVC
PASS addresses a genuine weakness in database-first scaffolding: preserving developer customizations during code regeneration.
The most important technical challenge will be reliably distinguishing generated code from manually maintained logic.
My recommendations:
- Use Roslyn syntax trees for structural analysis and controlled merging.
- Keep generated and custom code separate wherever possible (partial classes, separate services).
- Maintain a generation manifest to track generated files and changes.
- Detect conflicts and request developer approval rather than silently overwriting code.
- Include automated regression tests for schema changes and repeated regeneration.
My biggest suggestion: Make non-destructive regeneration and conflict detection the foundation of PASS. Reliability and developer trust will matter more than the number of features.