Buy Questpond's video subscriptions on
huge discount
.
Online: 4228
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
C#
>
Loading ...
GAC solve the problem of DLL HELL?
Posted by
Panks
under
C#
on 8/14/2010 |
Points: 10
| Views : 20688 | Status :
[Member]
| Replies : 2
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
Registering shared DDL in GAC solve the problem of DLL HELL?
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Poster
on: 8/14/2010
[Member]
Starter
|
Points: 25
0
When you register the shared DLL or DLL in the GAC (global assembly cache), it is available to the whole application hosted on that machine so if you have to use a .dll into two different applications, you do not need to refer that particular dll into both application. Just register that .dll (http://www.dotnetfunda.com/interview/exam2416-what-is-gac-.aspx?isfaq=true) into the GAC and you will be able to refer that .dll in both application.
Registering .dll in many application on the same machine is called DLL HELL now after GAC you do not need to do that so GAC helps solve the DLL HELL problem.
Hope this will help you.
Panks
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Abhi2434
on: 8/15/2010
[Member]
[Microsoft_MVP]
[MVP]
Silver
|
Points: 25
0
GAC helps in the problem of DLL hell. Dll hell is produced when there is Version conflict. Say you have installed Adobe Premier 5 and also Adobe Photoshop 7. Or you want both Photoshop 7 and Photoshop CS to run side by side in the same machine. In case of COM, once a DLL is registered, if you want to register a new version of it, you need to unregister the previous dll and then register the new one. This makes cumbersome and hence DLL hell arises where the older version ceases to execute when new version is installed.
In GAC, assemblies holds everything. The header contains the metadata, and hence you can store more than 1 version of the same dll side by side and it will work correctly. Hence GAC/ .NET solves the problem of DLL hell
www.abhisheksur.com
Panks
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
Istikhara ka Tarika Dawateislami
(0)
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
More ...