I'm writing an asp.net mvc2 project with a lot of views/partialviews. Reading on good MVC practices, I've been encourage to create ViewModels. Its really nice and makes sense to do so but I'm noticing recently that I can no longer easily remember what model is for what view. I'm hoping there is a nice naming convention for ViewModels that can handle large projects.
My question is can this situation be improved?
I like to keep it simple, for instance, if you have an object named Folder:
View = "FolderView.xaml"
ViewModel = "FolderViewModel.cs"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With