Author Archives: Wayne Barker
How MSMQ dead letter queues and poison queues work.
The remote server did not satisfy the mutual authentication requirement.
Check the SPNs of the client end point inside the wcf configuration file. Make sure that the destination endpoint is defined correctly. This can be caused by requiring kerberos authentication where is it not possible. In this case make sure that allowntlm is enabled for the particular service. Keep in mind that Kerberos caches the SPN… Read More »
WCF Transport security with impersonation
Policy based configuration concept
In this post I will explain at high level the concept of policy based configuration and I will be providing a POC. Anyone that has ever worked with WCF in a proper scaled application with many many micro services must know about the pain of maintaining the configuration files, I am now not only referring to… Read More »
Extending WCF with behaviours.
WCF provides the developer with the means of extending the service model through the use of behaviors. The behaviours get defined by four interfaces types. IServiceBehavior, IEndpointBehavior, IContractBehavior and IOperationBehavior. All of these interfaces follow the same template which allows the developer to inject, alter or validate values before dispatching a call. The order in which the methods are called is Validate, ApplyDispatchBehavior and… Read More »
Creating your own Active STS
The following example uses an active security token service (A-STS) that issues tokens using the WS-Trust standard. The type of STS discussed in this post is called a Active STS OR A-STS, it refers to the client that is actively in control of its own authenticated state. This client will typically have its own login window build into the… Read More »
An epic tale about a WS-Federation battle
There I stood, alone in the dark, Linkin Park playing in the distance. Armed with Vittorio’s WIF book, my experience and limited knowledge fighting for the honor of Assima. I confronted the beast that wanted to see me fail. It stood there with rage in its eyes, it hated me. I felt its hate burning into… Read More »
Version tolerance with WCF
As I stated earlier in a post; “WCF is version tolerant it does not have specific version support. It will adjust the data contracts according to what the client and service is expecting.” The IExtensibleDataObject is the key to have version tolerance. The Microsoft site states the following about this interface. The IExtensibleDataObject interface provides a single… Read More »
Ever heard of the ICommunicationObject Interface?
How do you know if a WCF service is up and running if all you have is the channel and you don’t actually have access to the real proxy? The ICommunicationObject Interface provides you with a solution for this exact problem as it provides the developer with a abstract way to open, close and check the state of connections.
WCF Client is Open Source
Was browsing the internet today when I read that the WCF client code has been made open source. I am very glad to hear about this as it means that soon applications on other operating systems in other languages will be able to call WCF services. According to my own knowledge using WCF in any… Read More »
Self hosting WCF with C#.
WCF Multi-Domain certificate bug
I was battling with the WCF services at work the other day, trying to get a our services to function on our test server that was using a multi-domain certificate. I could not get the multi domain certificate to work with message security. It kept on giving the following error message. Identity check failed for outgoing… Read More »