basicHttpsBinding could not be found
I am undergoing the infuriatingly slow process of trying to get a wcf service working with client certificates and have used the above binding for the metadata so that I can add a service reference to a visual studio client. I found the solution here: http://blogs.msdn.com/b/praburaj/ and it relates to the fact that this (and a few other bindings) are only available in .net 4.5. Despite my project being set to use 4.5, the web config, by default, was targeting version 4.0. The fix is to adjust web config by doing the following under system.web (obviously debug="true" is temporary:
The full error was 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.
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5"/>
The full error was 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.