Thomas Mathew
Thomas Mathew

Reputation: 1151

Why we dont use code behind concept in mvc?

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

Answers (1)

nathan gonzalez
nathan gonzalez

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

Related Questions