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

Answer Posted / vimal victor

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 and dll hell:- .NET has a provision to specify whether
a 'Specific Version' to be loaded or not. If you check with
any dll's propery window, that has a property called
Specific Version. By default it will be false for the dll's
created by users. It means whether the specific version
alone has to be loaded for that project. If that is false,
then te runtime will load any available higher version of
dll for that project. Thus this issue has been sorted out.

Is This Answer Correct ?    67 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about asp.net caching?

577


If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?

603


What are different methods of session maintenance in asp.net?

567


Why should i prefer JSP over asp.net or any other web development language..??

1449


What is the difference between custom web user control and a custom web server control?

505






Explain the concept of View Model in MVC?

600


Define a static class?

533


What would be salary for 8+ years of experience in ASP.NET in different metro city in india?

1990


Is asp.net and .net same?

545


Explain About WebService

655


Explain how viewstate is being formed?

542


Difference between .NET and previous version?

2109


What is base class of .net?

540


what is loosely coupled solution? How it can be used?

565


Explain diff. Between friend and protected friend?

500