• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Using multiple versions of same .NET assembly

New Here ,
Nov 20, 2007 Nov 20, 2007

Copy link to clipboard

Copied

Hi all- I'd like to use different versions of the same .dll assembly via the ColdFusion .NET integration in Scorpio. The idea here is that I might have different versions of the .dll in different branches of my code that all run on the same server. Unfortunately it looks like even if I try to reference two different versions of the same .dll files (i.e. I feed CF different absolute paths to the assemblies), the .NET integration service will only generate proxies for the first one and use those going forward rather than seeing that there are two separate assemblies. This seems linked to the way the .NET integration service works and the fact that there is only one .NET service running for the entire CF server, even in multi server configurations. Is there some way around this issue? At first glance, it looks like I have to (a) sign the assembly differently and (b) change the namespace to get the .NET integration service to see both versions of the code properly. Any ideas?

Thanks!
TOPICS
Advanced techniques

Views

305

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 21, 2007 Nov 21, 2007

Copy link to clipboard

Copied

On the web, the .NET structure that is allowed to run is defined on the IIS server itself, and you can only run one version per site.

I'm not really sure why you would need to run multiple infrastructures, since the newest one always (unless deprecated) contains the functionality of previous versions.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 26, 2007 Nov 26, 2007

Copy link to clipboard

Copied

LATEST
Thanks SafariTECH - the issue here is that I might have a version of a .dll that is not guaranteed to be backwards compatible. In the .NET world, I could have two separate applications access different versions of an assembly by specifying application level assembly binding information. Is there a way to do the same using two separate CF applications and the .NET integration service? I haven't found a way, even using a CF multiserver configuration, as there's still only one .NET integration service in that case. With only one .NET integration service, it seems like only one version of an assembly can be accessed.

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation