473,406 Members | 2,217 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,406 software developers and data experts.

How to: Binding redirects across multiple appdomains

This may be an easy one (I hope so).

The ultimate goal I have is to be able to use binding redirects that are
specific to secondary appdomains, so that each appdomain can have a unique
configuration.

Here's are the details: I want to force all references to a particular
assembly version to use the latest version of the assembly. I can do this by
adding binding redirects to the app config file and in a test I did it all
works fine.

The actual application consists of a small launcher app that creates an
appdomain and loads up a particular version of the "real" app and executes
it - when the app is done the appdomain is unloaded. The user may then point
it at a different version of the same app and repeat the process, all
without exiting the launcher application.

Each time an appdomain is created and a version is loaded there may need to
be a different binding redirect policy for the same assembly. The problem is
that as far as I can tell the app config applies to the launcher app, and
does not get reloaded just because it creates a secondary appdomain and
executes another assembly within it. What is needed is for the binding
redirects to get reevaluated each time a new appdomain is created. It would
be desirable if it could be appdomain specific, so that I could load and run
multiple appdomains simultaneously with different binding redirects.

Does anyone know how to do this?

Thanks.
Dave


Nov 22 '05 #1
0 913

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

Similar topics

0
by: David Levine | last post by:
This may be an easy one (I hope so). The ultimate goal I have is to be able to use binding redirects that are specific to secondary appdomains, so that each appdomain can have a unique...
1
by: Doug Handler | last post by:
In my application several modules are dynamically bound via Reflection to the main app - this works fine. Is there a way that I can dynamically unbind a module. Basically, i want a dialog box...
3
by: breeto | last post by:
If you've configured .NET Remoting to use more than one channel of the same type, for example two TcpClientChannels with unique names, when you want to create a proxy to a remote object how do you...
3
by: | last post by:
If this is simple, forgive my ignorance, but I'm coming from the CompactFramework where we don't use AppDomains. I did a fair bit of archive searching and couldn't find an answer and I got no...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
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...
0
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...

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.