Interview Questions Feb 22, 2006

Discussion in 'MCSD' started by Jobs, Feb 22, 2006.

  1. Jobs

    Jobs Guest

    We have two version of the same assembly in GAC? I want my client to
    make choice of which assembly to choose?

    You need to specify "bindingRedirect" in your config file. For
    instance in the below case "ClassLibraryVersion" has two versions
    "1.1.1830.10493" and "1.0.1830.10461" from which
    "1.1.1830.10493" is the recent version. But using the
    bindingRedirect we can specify saying "1.0.1830.10461" is the new
    version. So the client will not use "1.1.1830.10493".

    <configuration>
    <runtime>

    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

    <dependentAssembly>

    <assemblyIdentity name="ClassLibraryVersion"
    publicKeyToken="b035c4774706cc72"
    culture="neutral"/>

    <bindingRedirect oldVersion= "1.1.1830.10493"
    newVersion= "1.0.1830.10461"/>

    </dependentAssembly>

    </assemblyBinding>

    </runtime>

    </configuration>



    Full Interview Questions for .NET and SQL Server
    http://www.geocities.com/dotnetinterviews/
    Help the community to make job search easier mail your questions to

    Looking for a onsite job mail your resumes at
    Jobs, Feb 22, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jobs
    Replies:
    0
    Views:
    413
  2. Jobs
    Replies:
    0
    Views:
    770
  3. Jobs
    Replies:
    0
    Views:
    433
  4. Jobs

    Interview Questions Feb 22, 2006

    Jobs, Feb 22, 2006, in forum: Microsoft Certification
    Replies:
    0
    Views:
    506
  5. Jobs
    Replies:
    0
    Views:
    298
Loading...

Share This Page