In my MVC 2 (RC) I do not see the Codebehind files, Have they been deliberately remvoed ?
Asked
Active
Viewed 264 times
2 Answers
3
If you had a proper install of MVC 1, the codebehind files would already be gone. They are sometimes considered harmfull as they are likely to violate the MVC pattern.
Codebehind is still possible though, yet you'll need to add them by hand. See f.e. how to add a code-behind page to a view or partial view.

Community
- 1
- 1

Jan Jongboom
- 26,598
- 9
- 83
- 120
3
The closest thing to codebehind in MVC would be the controller, although it's not really comparable since the controller have no clue of whats going on in the view.

magnus
- 633
- 6
- 12