By-Convention Support for Views/Pages and ViewModels #305
Unanswered
nickrandolph
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would you like to be added:
Currently you have to define route and viewmaps for every page/viewmodel pair. It would be good to have a convention based model that could be used to register page/viewmodel viewmaps
Why is this needed:
Make it easier for developers to register pages and viewmodels, without leading to overhead of using reflection
Initial suggestion would be to add source code generation to create the necessary viewmaps that associate pages and viewmodels
Beta Was this translation helpful? Give feedback.
All reactions