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
What are Caching techniques in .NET
Is viewstate secure?
Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?
I have an external link in my application say www.xyztest.com. Today this site works on http protocal. Tommorow it may run on https. So i cant hardcore the protocal in the site. When a user clicks on the link how can i know if the external site works on http or https and takes him to that place?
What are the differences between the response.write() and response.output.write()?
What is the significance of attaching a profile while creating a user?
What is difference between asp state management and asp.net state management?
What are the main differences between asp and asp.net?
Where viewstate value is stored in asp.net?
Can we override the enablepartialrendering property of the scriptmanager class?
Explain the overview of asp.net?
Where sessions are stored in asp.net?
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)
In which event of the page viewstate is available?
Explain what the contents of cookie?