D'Arcy from Winnipeg
Solution Architecture, Business & Entrepreneurship, Microsoft, and Adoption

WCF and Binding Redirects

Tuesday, September 17, 2013 3:22 PM

From MSDN:

When you build a .NET Framework application against a strong-named assembly, the application uses that version of the assembly at run time by default, even if a new version is available. However, you can configure the application to run against a newer version of the assembly.

Here’s what a sample of this looks like:

<configuration>
   <runtime>
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
         <dependentAssembly>
            <assemblyIdentity name="myAssembly"
                              publicKeyToken="32ab4ba45e0a69a1"
                              culture="neutral" />
            <bindingRedirect oldVersion="1.0.0.0"
                             newVersion="2.0.0.0"/>
         </dependentAssembly>
      </assemblyBinding>
   </runtime>
</configuration>
 
Why and where would you use this? Click here to check out Rob Reynolds great blog post on his experience using bindingRedirect to fix an nHibernate issue.


Feedback

# re: WCF and Binding Redirects

Thanks, dude! 9/19/2013 7:08 AM | http://devtools.korzh.com/

# re: WCF and Binding Redirects

Swiggy has revamped its Android and iOS app to make ordering food and tracking experience more seamless. http://harkandco.com/swiggy-the-best-online-food-delivery-store/

7/24/2017 2:23 AM | swiggy discounts

# https://medium.com/@odindownloadi/latest-odin-download-3-12-3-updated-version-51d3d282c22a

Before we start our tutorial on using Samsung Odin and installing a Samsung firmware update, I'd like to take a moment and talk to you about phone unlocking. 7/26/2017 1:43 AM | install odin flash tool

# re: WCF and Binding Redirects

I came to know more about WCF and Binding Redirects. This is the first time I came across such a blog. However, there are no clear indications regarding what it is for. Do include more details regarding it in your future posts. louvre tours 2/2/2018 4:46 AM | Annonnymous

# re: WCF and Binding Redirects

A colleague of mine is right in my opinion. You described it well, thanks for the help! hotsexyescort.com 2/9/2018 7:56 AM | Diko39

Post a comment