Daily Tips- Tip #3 - Automatically closing a connection after datareader finishes execution

Tuesday, June 30, 2009





To automatically close a connection after datareader finishes execution, you need to specify the CommandBehaviour.CloseConnection parameter to the command object, as


drEmployees = cmdEmployees.ExecuteReader(CommandBehaviour.CloseConnection);



Daily Tips- Tip #3 - Automatically closing a connection after datareader finishes execution





To automatically close a connection after datareader finishes execution, you need to specify the CommandBehaviour.CloseConnection parameter to the command object, as


drEmployees = cmdEmployees.ExecuteReader(CommandBehaviour.CloseConnection);



What are the uses of Views?





1. Views are virtual tables (they dont store data physically) which gives a result
of data by joining tables. So you are not storing redundant data.


2. Views are used to produce reports from data


3. Views can be used to provide security to data by giving access only to views.



What are the uses of Views?





1. Views are virtual tables (they dont store data physically) which gives a result
of data by joining tables. So you are not storing redundant data.


2. Views are used to produce reports from data


3. Views can be used to provide security to data by giving access only to views.



Daily Tips- Tip #2 - How to prevent .DLL Decompilation?

Monday, June 29, 2009





How to prevent .DLL Decompilation?


If have written some worthful code and if you dont want it to be decompiled by anybody, then you have to make it secure.


Obfuscation:
The process by which you make your assembly not decompilable is called as Obfuscation.


Popular Tools available are :
XenoCode, Demeanor


Websites:  


htt://www.xenocode.com

 
http://www.wiseowl.com

 
remotesoft 


>rustemsoft 



Daily Tips- Tip #2 - How to prevent .DLL Decompilation?





How to prevent .DLL Decompilation?


If have written some worthful code and if you dont want it to be decompiled by anybody, then you have to make it secure.


Obfuscation:
The process by which you make your assembly not decompilable is called as Obfuscation.


Popular Tools available are :
XenoCode, Demeanor


Websites:  


htt://www.xenocode.com

 
http://www.wiseowl.com

 
remotesoft 


>rustemsoft 



Daily Tips- Tip #1 - How can we force all the validation controls in a page to run?

Sunday, June 28, 2009



For that call this code,


Page.Validate();

Blog Widget by LinkWithin