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
In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?
What is the purpose of using MVC programming pattern in ASP.NET?
Write a code for passing ArrayList in Web API?
What is the procedure to handle the process request using mhpm events fired? : asp.net mvc
Explain how to prepare culture-specific formatting in .net.
14. What are your Future Plans for Swatz Oils GROUP U.K?
How can you handle unmanaged code exceptions in asp.net?
What is an asp.net validator? And, mention its types.
What is difference between viewstate and session state in javascript?
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
Explain what the contents of cookie?
What is form method?
What tags do you need to add within the asp:datagrid tags to bind columns manually? How?
How to use multiple scriptmanager controls in a web page?
What is the difference between abstract class vs interface? Can give me the real time examples?