Wednesday, October 02, 2013

Verify that this binding extension is properly registered in system.serviceModel/extensions/bindingExtensions when deploying a WCF on Windows Azure

Hi,

I was deploying a WCF service on windows azure, after deploying it and then when i was trying to connect to the end point i was getting this exception:


System.Configuration.ConfigurationErrorsException: Configuration binding extension 'system.serviceModel/bindings/basicHttpsBinding' could not be found. Verify that this binding extension is properly registered in system.serviceModel/extensions/bindingExtensions and that it is spelled correctly.

I thought it is something related to some missing configuration that i need to do on Azure even though the WCF is working fine on my development box. It turned to something simple you need to add on your web.config and it fixed the issue.

Add targetFramework="4.5" to the httpRuntime element in your web.config


Refresh the WCF end point page, you will be able to access and see the WSDL file for your WCF.

enjoy!
Post a Comment