The viewsate in the code or the session settings in the base class, similar to the global variables in Windows programming, but the Web Application is complex in that each Application should consider the state delivery between different session. Therefore, the sharing of session and viewsate variables between Page and Module is detailed.
The reconstruction of the corresponding code is that the group personnel are required to discuss the code together. "
Bad Small
", Especially similar"
Pagebase
,
Modulebase
"This kind of base class, its changes should be organized during the future development process
Code Team REVIEW Meeting
Discussing, making each developer no longer developed, let them have a chance to show their code skills, so that the novice of the group is a good learning opportunity.