I am trying to get started with transactions in WCF using the free Microsoft Visual Web Developer 2010 Express. This gives me the opportunity to create a “WCF service application”, but it doesn’t seem to give me many options for hosting it or setting up different bindings. If I have an F5 project, I get an error:
At least one operation on the 'Service' contract is configured with the TransactionFlowAttribute attribute set to Mandatory but the channel binding 'BasicHttpBinding' is not configured with a TransactionFlowBindingElement. The TransactionFlowAttribute attribute set to Mandatory cannot be used without a TransactionFlowBindingElement.
I tried adding the */services/service/endpoint configuration to web.config, but it seems to be just ignored. I also tried changing the default startup application to WcfSvcHost.exe, but this option is inactive. I'm starting to suspect the express version of some of the flaws, but I'm optimistic that it's just me, being a fool. Is there a trick I need to learn or splash out the full version of Visual Studio 2010 to get me in this hurdle and the next?
Thanks!
source share