Code snippet for control wrapping properties

29 בדצמבר 2009

Code snippet for control wrapping properties Hello everyone. many of us,  I’m sure, needed to wrap inner controls of a user\custom control  with public properties. That’s in order to have their control encapsulated, and to add some code flexibility (If the control is changing, all I need to do is change the code of my property and the rest remains intact. Therefore I’ve made a code snippet for myself that allow me to write these kind of properties easily, and figured why not let...
tags: , ,
no comments

Session manager

20 בדצמבר 2009

This post comes as an extension to a post by Shlomo Goldberg (in Hebrew) that talks about how to work with session variable in a safer way than plain strings. Shlomo Goldberg has suggested that instead of strings we should work with enum entries. This way is more efficient for developers who can simply find all the uses of a certain  session variable and can find all reference to it. As you can see from the code attached to that post, it uses...
tags: , ,
no comments