Currently, I'm implementing MVVM pattern for a WPF application but not 100% no code behind, sometimes I put some business logic code into GUI and so what are potential problems for this? Thanks
Asked
Active
Viewed 50 times
1 Answers
1
You can find tons of answers by googling "wpf mvvm vs code behind"
I kinda agree Slugster's answer in Why to avoid the codebehind in WPF MVVM pattern?
Putting your business logic into code behind make it hard to write test to your code. I believe this is normally the top 1 reason why people love about MVVM.