D
Dylan Parry
Hi,
Please forgive me if this isn’t the correct newsgroup – if it’s not,
which one would be a better choice? Anyhow, to my question…
By default, the “/bin†directory where you’d keep all the DLL files for
a web application is set to live within the root directory of the site.
What I’d like to do is move it to somewhere else and still have my site
use it. Eg.
My site lives at “C:\iis\sites\mysite\†and the “/bin†directory is at
“C:\iis\sites\mysite\bin\â€. I’d like to create a directory at
“C:\mybin\†(or anywhere else for that matter) and have my site use that
directory as its “/bin†directory.
The reason I want to do this is so that more than one site can share the
same “/bin†directory without me having to mess around with the GAC,
which annoyingly requires an IIS restart every time the DLL files are
updated. I have several client sites that all use the same DLL files, so
having them stored in a central location makes it much easier to
maintain rather than having to upload the same DLLs to a dozen or more
sites each time I fix a bug or add a new feature!
I’m currently using the GAC for this, but it’s messy and I thought it
would be much more sensible to have some sort of shared “/bin†directory
that would only store DLL files relevant to the application.
Okay, now I’m babbling. Short story: is this possible?
Cheers,
Please forgive me if this isn’t the correct newsgroup – if it’s not,
which one would be a better choice? Anyhow, to my question…
By default, the “/bin†directory where you’d keep all the DLL files for
a web application is set to live within the root directory of the site.
What I’d like to do is move it to somewhere else and still have my site
use it. Eg.
My site lives at “C:\iis\sites\mysite\†and the “/bin†directory is at
“C:\iis\sites\mysite\bin\â€. I’d like to create a directory at
“C:\mybin\†(or anywhere else for that matter) and have my site use that
directory as its “/bin†directory.
The reason I want to do this is so that more than one site can share the
same “/bin†directory without me having to mess around with the GAC,
which annoyingly requires an IIS restart every time the DLL files are
updated. I have several client sites that all use the same DLL files, so
having them stored in a central location makes it much easier to
maintain rather than having to upload the same DLLs to a dozen or more
sites each time I fix a bug or add a new feature!
I’m currently using the GAC for this, but it’s messy and I thought it
would be much more sensible to have some sort of shared “/bin†directory
that would only store DLL files relevant to the application.
Okay, now I’m babbling. Short story: is this possible?
Cheers,