what is DLL Hell and how it is solved in .NET?

Answer Posted / robert

DLL Hell :- This is a problem in loading a specific dll
(class id, version number, path etc). For example, if I
build test.dll v1.0.0.0 and deploying it in c:\MyProg. My
application App1 and App2 are using the methods in that
dll. And there is a requirement to change something in App1
and I supposed to change test.dll also for the same
requirement. Once I finished with all my changes, I will be
deploying them in the appropriate locations. Now, the older
dll will be overwritten. And my App2 will look for test.dll
of older version and since it is not there it will not
work. This is a scenario for dll hell issue.
.Net Framework provides operating systems with a Global
Assembly Cache. This Cache is a repository for all the .Net
components that are shared globally on a particular
machine. When a .Net component is installed onto the
machine, the Global Assembly Cache looks at its version,
its public key, and its language information and creates a
strong name for the component. The component is then
registered in the repository and indexed by its strong
name, so there is no confusion between different versions
of the same component, or DLL.

Is This Answer Correct ?    51 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know caching feature?

553


What is difference between session and application in asp net?

474


How does the service stream content?

573


What do you understand by aggregate dependency?

606


To load your generated dataset with data which method do you invoke?

588






Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal

1361


Explain about the .NET framework?

556


What is asp.net version?

517


Why is an object pool required?

594


Explain how asp.net different from asp?

548


What is session and cookies in asp.net?

543


How do we sort the data from a dataset?

562


Can you change a master page dynamically at runtime? How?

491


What are the new navigation controls in asp.net 2.0?

526


is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?

1937