All Questions ASP.NET CSharp SQL Server | All Questions WCF MVC HR Round | |
| Search This Site | ||
Let us try and understand DLL HELL problem with an example. Please refer to the image below. If you want to know how dll hell problem is solved in .net, you can read this article.
![]() |
1. I have 2 applications, A1 and A2 installed on my computer.
2. Both of these applications use shared assembly shared.dll
3. Now, I have a latest version of Application - A2 available on the internet.
4. I download the latest version of A2 and install it on my machine.
5. This new installation has over written Shared.dll, which is also used by Application - A1.
6. Application - A2 works fine, but A1 fails to work, because the newly installed Shared.dll is not backward compatible.
So, DLL HELL is a problem where one application will install a new version of the shared component that is not backward compatible with the version already on the machine, causing all the other existing applications that rely on the shared component to break. With .NET versioning we donot have DLL HELL problem any more.
How is the DLL HELL problem solved in .NET, is another very important .net interview question. Click here to read.
If you can improve this answer further, please feel free to do so by submitting the form below. Thank you very much for your contribution.
All Questions ASP.NET CSharp SQL Server | All Questions WCF MVC HR Round | |
| Search This Site | ||

Hi,
ReplyDeletei need to answer:-
what is (abstract class,interfac,generics,data abstraction,webservices)why use all the above
please explain with real time example.
suppose if not use all the above then what will happen and if similar to above concept then why not use that concept.
utpal chandra
can an app use more than one web.config file
ReplyDeleteyes an ASP.net application van have more than one web.config file .This is used to provide security t different level of users.......
Deleteyes we can use more than one web.config file as we make sub folders in application and add web.config to that folder. it will be helpful when you want to do setting for specific files.
ReplyDelete