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
How ASP and ASP.NET page works? Explain about asp.net page life cycle?
What methods are fired during the page load? Init()
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?
What does aspcompat="true" mean?
What is the difference between a multi-layer and multi-tier applications?
What is asp.net introduction?
how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool
What is the difference between dispose() and finalize()?
What is the difference between cache and cookies?
What are the parts of an http response?
What is the difference between server-side scripting and client-side scripting?
How will you maintain versioning in asp.net 2.0?
Difference between .NET and previous version?
What is the use of data set in asp.net?
Why is asp.net so popular?