Oleg Fridman
Top achievements
Rank 2
Oleg Fridman
asked on 22 Oct 2006, 01:26 AM
Hello,
I have read countless threads on creating single directories for the dlls and the radcontrols directory but I have yet to hear a solid answer, so I pose the question again.
Here is my scenario:
I have about 9 websites on the same server running identical software. By this I mean that the code-behind, dlls, etc are all identical. This is true even for the telerik dll's and RadControls directory.
When telerik rolls out a new version, and they do so very often (thank you for it, btw), it is a pain to get it out to all 9 sites.
I have created the vertual directory for the RadControls directory and this works great! However, I have not been able to reporduce this with the dlls. This causes an issue. When I upload the new RadControls directory, the dlls are looking for a different version of the scripts. Is there a way to upload new dlls to a directory shared among all of my sites and have them pick it up? The virtual directory worked great for the RadControls dir but I cannot do this for the dlls.
Any thoughts?
I have read countless threads on creating single directories for the dlls and the radcontrols directory but I have yet to hear a solid answer, so I pose the question again.
Here is my scenario:
I have about 9 websites on the same server running identical software. By this I mean that the code-behind, dlls, etc are all identical. This is true even for the telerik dll's and RadControls directory.
When telerik rolls out a new version, and they do so very often (thank you for it, btw), it is a pain to get it out to all 9 sites.
I have created the vertual directory for the RadControls directory and this works great! However, I have not been able to reporduce this with the dlls. This causes an issue. When I upload the new RadControls directory, the dlls are looking for a different version of the scripts. Is there a way to upload new dlls to a directory shared among all of my sites and have them pick it up? The virtual directory worked great for the RadControls dir but I cannot do this for the dlls.
Any thoughts?
6 Answers, 1 is accepted
0
Robert Swafford
Top achievements
Rank 1
answered on 23 Oct 2006, 12:52 AM
Can you use the Global Assembly Cache (GAC) on the server to host the rad Control DLLs? I haven't tried it, but it seems to be the solution you're looking for. Maybe someone else can provide more information about how exactly to accomplish this...
0
Oleg Fridman
Top achievements
Rank 2
answered on 23 Oct 2006, 01:14 AM
Robert,
Thank you very much for your reply. I will research GAC and see what I can find. If that indeed does the trick, I will post in hopes that it would help someone else.
Thanks again!
-Oleg
Thank you very much for your reply. I will research GAC and see what I can find. If that indeed does the trick, I will post in hopes that it would help someone else.
Thanks again!
-Oleg
0
Mostafa Anoosheh
Top achievements
Rank 1
answered on 23 Oct 2006, 03:55 AM
Hello Oleg,
I think you can make a unique subdomain(for example http://radcontrols.publicsite.com) and set same RadControls Location for all webs.
For DLLs GAC is good idea
Best regards
Mostafa Anoosheh
I think you can make a unique subdomain(for example http://radcontrols.publicsite.com) and set same RadControls Location for all webs.
For DLLs GAC is good idea
Best regards
Mostafa Anoosheh
0
Hello Oleg,
GAC is the solution to your problem. Here is an excerpt from the Working with Assemblies and the Global Assembly Cache MSDN article:
the telerik team
GAC is the solution to your problem. Here is an excerpt from the Working with Assemblies and the Global Assembly Cache MSDN article:
If you intend to share an assembly among several applications, you can install it into the global assembly cache. Each computer where the common language runtime is installed has this machine-wide code cache. The global assembly cache stores assemblies specifically designated to be shared by several applications on the computer.
You can find more related topics in this link.
Good luck!
Sincerely yours,
the telerik team
0
Just a quick followup, Oleg.
Once you get familiar with GAC, you can review the following telerik KB article on Adding a control to the GAC (Global Assembly Cache). This information is also available in all help documents which come with our controls.
Sincerely yours,
Rob
the telerik team
Once you get familiar with GAC, you can review the following telerik KB article on Adding a control to the GAC (Global Assembly Cache). This information is also available in all help documents which come with our controls.
Sincerely yours,
Rob
the telerik team
0
Oleg Fridman
Top achievements
Rank 2
answered on 23 Oct 2006, 02:11 PM
Thank you everyone for the great responses. This is indeed what I was hoping for.
Thanks again!
-Oleg
Thanks again!
-Oleg