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

Binding to assembly

Avi
I have a c# .NET application. V15 & V16
I have a DBAccess DLL assembly. V15 & V16

I want the .Net Application V15 will work with V15 DBAccess.dll
I want the .Net Application V16 will work with V16 DBAccess.dll

Is there a way to do it without SN key's ?

is SN key is the best way to handle it ?

I thought that I will simpy be able to write in web.config work with DBAcess V 15.0.0.* but I couldnt fined any example to that.

Tanks,
Avi

Nov 16 '05 #1
1 1613
Hey Avi,

The strong name is a good solution not becouse of its uniqueness, but
becouse of the fact that it gives you additional "goodies" that come as a
part of the package deal :)
- ability to register it in the GAC,
- ability to check if the assembly hasn't being tampered with (by checking
the hash).
- and others

About the redirections - they are possible in both cases - with or without
strong name usage. You can find good examples about binding redirect at the
MSDN - check out
http://msdn.microsoft.com/library/de...direction.asp;
http://msdn.microsoft.com/library/de...blyBinding.asp
and
http://msdn.microsoft.com/library/de...permission.asp

Cheers,
Branimir

--
Branimir Giurov
MCSD.NET, MCDBA
www.sofiadev.org

"Avi" <Av*@discussions.microsoft.com> wrote in message
news:D1**********************************@microsof t.com...
I have a c# .NET application. V15 & V16
I have a DBAccess DLL assembly. V15 & V16

I want the .Net Application V15 will work with V15 DBAccess.dll
I want the .Net Application V16 will work with V16 DBAccess.dll

Is there a way to do it without SN key's ?

is SN key is the best way to handle it ?

I thought that I will simpy be able to write in web.config work with DBAcess V 15.0.0.* but I couldnt fined any example to that.
Tanks,
Avi

Nov 16 '05 #2

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...
7
by: Ruslan Popov | last post by:
Hi, I am trying to prevent an assembly being loaded from GAC and instead want it loaded from the application's base directory. However, the assembly always gets loaded from GAC. How to have it...
0
by: mia lanui | last post by:
I have 3 C#.NET assemblies: Assembly A: Calls methods of Assembly C, which implements an interface in Assembly B, therefore, must reference both B and C (unless late binding is used) Assembly...
5
by: Daniel Bass | last post by:
..Net is great for modulerising libraries, so that all you need do to access a DLL, is simply call Add Reference and wallah, it's as though the library were written in your project. But what...
1
by: tlwright1414 | last post by:
I have Assembly A which late binds Assembly B using the following code... Assembly b = Assembly.LoadFile(@"C:\dev\B.dll"); object o = b.CreateInstance( "NameSpaceB.ClassB" ); object oEmitObj =...
12
by: Steven Berkovitz | last post by:
I have several ASP.NET applications with near identical web.config files. In one of them I am successfuly able to bind to an assembly while on others I am not. All of them have the following...
5
by: b00n1 | last post by:
I'm trying to create a simple vb.net (server) dll, and then through late binding access the public methods of the contained class from another vb.net (client) app. I can do it through early...
0
by: =?Utf-8?B?VmFuIGRlbiBEcmllc3NjaGUgV2lsbHk=?= | last post by:
For deployment reasons I would like to merge several of our assemblies into a single assembly. I am able to do this via the ilmerge.exe utility. Is there a way I can make my application work with...
14
by: Siv | last post by:
hi, I am converting an application that writes to an Excel spreadsheet and the code trips the "option Strict" that I would like on because the parser says "option Strict On disallows late...
1
by: GS | last post by:
I am perplexed . I thought it is easy to fix the binding error on cvtDtFrom. I only used the cvtDtFrom a couple of places but I found out the error occurred before form loading. I tried...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.