473,396 Members | 1,894 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,396 software developers and data experts.

use something other than "\bin" for local assemblies

Hi,

For a web application, is it possible to use something other than the \bin
directory for local assemblies? I do not wish to use the GAC.

My end goal is to have multiple websites use the same directory for local
binaries. The only way for me to accomplish this now is to give them all the
same home directory (which is not a good solution for me).

Thanks,
Brian.
Nov 19 '05 #1
4 1695
Use the GAC - it is designed for this.

or read this:
http://authors.aspalliance.com/steve.../netreuse1.asp

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Brian Pearson" <Brian Pe*****@discussions.microsoft.com> wrote in message
news:E2**********************************@microsof t.com...
Hi,

For a web application, is it possible to use something other than the \bin
directory for local assemblies? I do not wish to use the GAC.

My end goal is to have multiple websites use the same directory for local
binaries. The only way for me to accomplish this now is to give them all the same home directory (which is not a good solution for me).

Thanks,
Brian.

Nov 19 '05 #2
I know that the recommended approach is the GAC, but it happens that this is
no good for me in this situation.

If I could just change the private bin path, I'd be set. I'm dealing with a
very large enterprise app that needs to support multiple side-by-side
installations and within each installation there can be an arbitrary number
of websites. I want to be able to control the set of dlls for each
installation independently. The easiest way to do that would be to have one
bin directory per installation BUT that means that all my websites need to
share the same home directory.

So, is it possible to change the private bin path?

"John Timney (ASP.NET MVP)" wrote:
Use the GAC - it is designed for this.

or read this:
http://authors.aspalliance.com/steve.../netreuse1.asp

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Brian Pearson" <Brian Pe*****@discussions.microsoft.com> wrote in message
news:E2**********************************@microsof t.com...
Hi,

For a web application, is it possible to use something other than the \bin
directory for local assemblies? I do not wish to use the GAC.

My end goal is to have multiple websites use the same directory for local
binaries. The only way for me to accomplish this now is to give them all

the
same home directory (which is not a good solution for me).

Thanks,
Brian.


Nov 19 '05 #3
No it isn't as far as I know. You'll need to find a workaround - a few are
outlined in the URL I gave you.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Brian Pearson" <Br**********@discussions.microsoft.com> wrote in message
news:B0**********************************@microsof t.com...
I know that the recommended approach is the GAC, but it happens that this is no good for me in this situation.

If I could just change the private bin path, I'd be set. I'm dealing with a very large enterprise app that needs to support multiple side-by-side
installations and within each installation there can be an arbitrary number of websites. I want to be able to control the set of dlls for each
installation independently. The easiest way to do that would be to have one bin directory per installation BUT that means that all my websites need to
share the same home directory.

So, is it possible to change the private bin path?

"John Timney (ASP.NET MVP)" wrote:
Use the GAC - it is designed for this.

or read this:
http://authors.aspalliance.com/steve.../netreuse1.asp

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Brian Pearson" <Brian Pe*****@discussions.microsoft.com> wrote in message news:E2**********************************@microsof t.com...
Hi,

For a web application, is it possible to use something other than the \bin directory for local assemblies? I do not wish to use the GAC.

My end goal is to have multiple websites use the same directory for local binaries. The only way for me to accomplish this now is to give them
all the
same home directory (which is not a good solution for me).

Thanks,
Brian.


Nov 19 '05 #4
Here are a couple more pieces of info:

You can tell .net to probe into a different folder by adding another private
path (note the path has to be a subdir so I'm not sure this will help you):
http://www.hanselman.com/blog/Permal...8-3c0432c98dbe

This workshop will explains assembly loading in more detail:
http://www.grimes.demon.co.uk/workshops/fusWSSample.htm
--
Scott
http://www.OdeToCode.com/blogs/scott/
I know that the recommended approach is the GAC, but it happens that
this is no good for me in this situation.

If I could just change the private bin path, I'd be set. I'm dealing
with a very large enterprise app that needs to support multiple
side-by-side installations and within each installation there can be
an arbitrary number of websites. I want to be able to control the set
of dlls for each installation independently. The easiest way to do
that would be to have one bin directory per installation BUT that
means that all my websites need to share the same home directory.

So, is it possible to change the private bin path?

"John Timney (ASP.NET MVP)" wrote:
Use the GAC - it is designed for this.

or read this:
http://authors.aspalliance.com/steve.../netreuse1.asp
-- Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
"Brian Pearson" <Brian Pe*****@discussions.microsoft.com> wrote in
message news:E2**********************************@microsof t.com...
Hi,

For a web application, is it possible to use something other than
the \bin directory for local assemblies? I do not wish to use the
GAC.

My end goal is to have multiple websites use the same directory for
local binaries. The only way for me to accomplish this now is to
give them all

the
same home directory (which is not a good solution for me).

Thanks,
Brian.

Nov 19 '05 #5

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

Similar topics

1
by: Frank Meng | last post by:
Hi. I wrote a program to get the directory of "Recycle Bin" with SHGetSpecialFolderLocation . It works for "Recent", "SendTo", etc. but it doesn't work for "Recycle Bin". At...
2
by: Derrick | last post by:
and I can't delete them. If I close the project, go delete the folders manually, the items reappear in my project. Any ideas what this is from? I do not see project settings on the "auto add...
6
by: Kevin Mitchell | last post by:
I have an NT shared hosting account, but the provider names the script/write folder cgi-bin. I want to place DLLs in the cgi-bin directory and get them to work in my Web applications. What do I...
0
by: Pavils Jurjans | last post by:
Hello, Please, I am fighting with this now for two days, and getting nowhere: I have my application in a separate virtual folder: c:\www\myApp There is a bin folder there:
5
by: Jim Bancroft | last post by:
New to ASP.Net over here, so apologies if this is a basic question-- I'm using VB .Net to build a managed dll, which I then use in some aspx files. Works fine, except every time I recompile I...
1
by: Sam Learner | last post by:
Hello, you guys have been very helpfull in responding to questions from the newgroup community and thank everyone for your contributions. I have a Question, I am developping a software to do clean...
1
by: Boris | last post by:
We have some .NET 1.1 DLLs which we want to use in a ASP.NET 1.1 web page (actually one is a real .NET DLL in Managed C++ while the others are native Windows DLLs). First we copied all of the DLLs...
3
by: corey.hutchinson | last post by:
I have an application that when I run it in VS 2005 debug mode it operates faster (10 fold) than when I execute the exe directly from the bin directory. The one operation in particular in which...
2
by: CGatto | last post by:
Hi, We have just started getting the following error during compiles of our forms-based application. We are developing in VS2008, VB.Net, with Team Foundation Server-based source control. ...
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: 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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.