Reputation: 1151
I was just going through this asp.net MVC pattern and someone suggested not to use code behind. Is there any specific reason for that???
Upvotes: 0
Views: 190
Reputation: 11987
the whole pattern is based on not using a codebehind file. any code that is not related to display should be in the controller or a supporting class.
Upvotes: 4