Other Issues
------------------------
- If we add reference to the system dll [Shared DLLs e.g System.Window..Forms. Oracle.daTaAccess etc ] in our Web -Proejct, then it does below.
- Makes an entry into Web.config, but
- Do not copy the referred DLL into bin. That is, these system dlls are still referred from GAC.
- But When we do this operation in Class Library projects then it does below:
- Adds those DLLs into an virtual folder [named as ‘Reference’] as it has no Web.config.
- Here the ‘localcopy’ is set to ‘false’, i.e It refers them from the shared location [GAC].
- Do not add them in the bin folder.
- If we add reference to other DLLs, which are not placed in GAC [ Hence not considered as shared DLLs] [ Like Crystal DLL or AJAX control Tool kit DLLs], then it does two things :
- Makes an entry in web.config and
- Also makes a local copy in the bin folder as well.
- But When we do this operation in Class Library projects, then it behaves same as when we refer shared DLLs. i.e
- Adds those DLLs into an virtual folder [named as ‘Reference’] as it has no Web.config.
- Here the ‘localcopy’ is set to ‘true,
- Also adds them in the bin folder.
Note: In case of Non-Shared DLLs, they are either kept locally in the Web-Application’s bin folder [In Web Project] or placed in virtual folder [named as ‘Reference’] with ‘localcopy’ is set to ‘true’. So now even if ur computer has upgraded the new version of dlls, it won't affect ur application unless u remove the reference and re-refer it.
- [Noticed in Tyrelink] :: We need to give write access to the folders if our web application is writing ito it. e.g Logfiles folder in Tyrelink.
- If ur Web- Solution has Class-Library project [BL] and Web Application then we are required to add the reference of the BL only once. After that as an when we compile the BL, the reference in Web is automatically refreshed. [Read in .Net 2.0 Book].
- ‘this’ in JS denotes page, rather than object that raised the event.
- Note:
If u need a hidden button or hidden text box then instead of getting into the visibility properties of the controls, better solution is keep them in div as : <div style="display:none"> ........</div>
Thanks & Regards,
Arun Manglick
SMTS || Microsoft Technology Practice - Bridgestone - Tyre Link || Persistent Systems
DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.
No comments:
Post a Comment