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

Answer Posted / arjun jaiswal

Dll Hell refers to a set of problems caused when multiple
applications attempt to share a common component like a
dynamic link library (DLL). The reason for this issue was
that the version information about the different components
of an application was not recorded by the system.

.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 ?    360 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain difference between friend and protected friend?

530


Explain exception filters?

593


Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?

538


How do you secure your connection string information?

523


What is the difference between typeof() vs gettype()?

556






How to handle errors in Web API?

628


Can you use c# without .net?

550


Explain the asp.net mvc request life cycle? : asp.net mvc

506


List down the sequence of methods called during the page load.

531


Can any body provide me the sample web application in asp.net

1439


Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?

567


About CLR, reflection and assemblies?

1545


Explain the difference between inline and code behind - which is best in?

508


Define dll hell?

631


What is a pixel url?

516