473,569 Members | 2,481 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1706
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*****@discuss ions.microsoft. com> wrote in message
news:E2******** *************** ***********@mic rosoft.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*****@discuss ions.microsoft. com> wrote in message
news:E2******** *************** ***********@mic rosoft.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**********@d iscussions.micr osoft.com> wrote in message
news:B0******** *************** ***********@mic rosoft.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*****@discuss ions.microsoft. com> wrote in message news:E2******** *************** ***********@mic rosoft.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*****@discuss ions.microsoft. com> wrote in
message news:E2******** *************** ***********@mic rosoft.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
6436
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 http://www.dot.net.nz/codesamples.browseforfolder.aspx , and other places, the folder Ids are: /// /// Enum of CSIDLs identifying standard shell folders.
2
2107
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 all files" type of theme that might have been set?? I was doing some project and directory renaming. Thanks in advance!
6
2551
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 need to do to get my application to look for DLLs in the cgi-bin folder instead of the default bin folder? Can I expect success in getting DLLs to...
0
1193
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
1879
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 have to copy the dll into the "bin" directory off my root web, otherwise ASP.Net won't find it. I've added my components the GAC (using gacutil), but...
1
1635
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 up almost similar to the Clean-up Wizard... Is there any .NET classes that allow me to manipulate the Recycled bin? for example, allow me to purge...
1
2153
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 to /bin. However when we do this we get a configuration error. When we copy the DLLs to "/Temporary ASP.NET Files/..." everything works. Does anyone...
3
2406
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 the performance differs so greatly is when the app makes a call to another service and inserts the return data into a SQL server. I have verified...
2
5996
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. Full error message is: "Unable to copy file "obj\Debug\OurProjectName.xml" to "bin\Debug\OurProjectName.xml". Access to the path...
0
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8132
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7982
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6286
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3656
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2116
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
944
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.