473,387 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Shared Bin Directory to share DLLs?

Hello,

I have about 100 Web Sites on Windows 2003. I have a library that is a DLL
that has functions I use the Web Sites. If I need to update the code, I
have to go and copy over all 100 DLL in the Bin directory of that web site.
I would like to have all my DLLs in one place and reference them through out
my web sties. This way I could just update one DLL spot and all 100 Sites
would be updates.

Thanks in advance for any help,

Jack
Nov 18 '05 #1
4 1303
Register the assembly in the GAC.

"jack" <ja**@mrolinux.com> wrote in message
news:Oo*************@tk2msftngp13.phx.gbl...
Hello,

I have about 100 Web Sites on Windows 2003. I have a library that is a DLL that has functions I use the Web Sites. If I need to update the code, I
have to go and copy over all 100 DLL in the Bin directory of that web site. I would like to have all my DLLs in one place and reference them through out my web sties. This way I could just update one DLL spot and all 100 Sites
would be updates.

Thanks in advance for any help,

Jack

Nov 18 '05 #2
Hello,

Thanks for answering, wat is the GAC, and how do I register it?

Thanks for you help,

Jack

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:uy*************@tk2msftngp13.phx.gbl...
Register the assembly in the GAC.

"jack" <ja**@mrolinux.com> wrote in message
news:Oo*************@tk2msftngp13.phx.gbl...
Hello,

I have about 100 Web Sites on Windows 2003. I have a library that is a

DLL
that has functions I use the Web Sites. If I need to update the code, I
have to go and copy over all 100 DLL in the Bin directory of that web

site.
I would like to have all my DLLs in one place and reference them through

out
my web sties. This way I could just update one DLL spot and all 100 Sites would be updates.

Thanks in advance for any help,

Jack


Nov 18 '05 #3
The Global Assembly Cache (GAC) is the way Microsoft allows shared
components to be install outside of any single application environment and
still be accessible. Read the following articles to learn about the GAC.

http://msdn.microsoft.com/library/en...asp?frame=true
http://msdn.microsoft.com/library/en...asp?frame=true
"jack" <ja**@mrolinux.com> wrote in message
news:ey**************@TK2MSFTNGP10.phx.gbl...
Hello,

Thanks for answering, wat is the GAC, and how do I register it?

Thanks for you help,

Jack

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:uy*************@tk2msftngp13.phx.gbl...
Register the assembly in the GAC.

"jack" <ja**@mrolinux.com> wrote in message
news:Oo*************@tk2msftngp13.phx.gbl...
Hello,

I have about 100 Web Sites on Windows 2003. I have a library that is a
DLL
that has functions I use the Web Sites. If I need to update the code,
I have to go and copy over all 100 DLL in the Bin directory of that web

site.
I would like to have all my DLLs in one place and reference them
through out
my web sties. This way I could just update one DLL spot and all 100

Sites would be updates.

Thanks in advance for any help,

Jack



Nov 18 '05 #4
Peter,

Is that enough?

I've had instances where trying to move a project from using a local
assembly (in the bin directory) to one in the G.A.C. is a proverbial
PITA. I think it's related to the "Copy Local" setting in Visual Studio
when you add the reference and "persuading" 'Studio to /not/ look
locally for the Dll any more was quite an effort.

Regards,
Phill W.

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:uy*************@tk2msftngp13.phx.gbl...
Register the assembly in the GAC.

"jack" <ja**@mrolinux.com> wrote in message
news:Oo*************@tk2msftngp13.phx.gbl...
Hello,

I have about 100 Web Sites on Windows 2003. I have a library that is a

DLL
that has functions I use the Web Sites. If I need to update the code, I
have to go and copy over all 100 DLL in the Bin directory of that web

site.
I would like to have all my DLLs in one place and reference them through

out
my web sties. This way I could just update one DLL spot and all 100 Sites would be updates.

Thanks in advance for any help,

Jack


Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: David Hughes | last post by:
I shared a directory, dietplan6, which is actually several levels down in C:\Program files\ on a Windows 2000 machine, called 'Nom'. When I tried to check its existence from another Win2k machine,...
1
by: Gary Varga | last post by:
I have an application which runs on both CE.NET and the full framework. To allow for a shared code base the following describes the assembly structure: 1) There is an executable binary for each...
1
by: Ryan Liu | last post by:
Hi, I have common classes/packages to share by different sets of projects. Some share by project A and B, some by project A and C. What is the best practice to handle shared classes? Should I...
0
by: Shiraz | last post by:
Hi I have a question regarding the functionality of merge modules. Since this relates to my previous queries, I'll just give you a brief background on the topic. I had to make an installer for...
8
by: John K. | last post by:
Hi I was wondering if it's possible to use the WebRequest class to access a file on windows shared folder with authentication? If yes, what would the syntax be? I've tried to look this up in the...
3
by: KSC | last post by:
Hello, Is there a way to programmatically determine if a directory is shared and if so, what the sharename is? It seems a simple question, but I have been searching and not found the...
8
by: Dylan Parry | last post by:
Hi folks, Appologies if this question is either a) stupid; or b) asked every ten minutes :) I manage several websites that are all based on the same code, so they all have a /bin directory...
1
by: Jerome | last post by:
Hi everybody, I need to remove access to a shared directory before to execute a process on the directory. And put back the access on it after the execution. So I wanted to set the permission...
2
by: Daniel Knöpfel | last post by:
Hi In my application i need to do the following things concerning shared folders: - check if a folder is shared - share a folder - unshare a folder It seems to me that .net does not...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.