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

How can you dynamically add user controls to a page?

518


In how many ways we can retrieve table records count?

541


What is paging in context of Memory?

659


What is session and cookies in asp.net?

559


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,?

597






What is the full meaning of asp.net?

528


Is it possible to apply themes to an asp.net application? If yes, then how?

581


What's the difference between viewstate and sessionstate?

574


What are the events in a page life cycle?

539


What is the difference between server-side scripting and client-side scripting?

554


Define cookie.

572


Is oauth for authentication or authorization?

594


Describe the sequence of action takes place on the server when ASP.NET application starts first time?

625


How does cookies work in asp net?

517


How does session authentication work?

515