By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,640 Members | 2,118 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,640 IT Pros & Developers. It's quick & easy.

use something other than "\bin" for local assemblies

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.