WCF Security Interoperability Guidelines – 2 : Reference Style of a Primary Signing Token inside a request

In my last post, I had discussed the supported ways to reference a primary signing token inside a response. We will focus on request this time round. Consider a scenario where we have a non-.NET client consuming a WCF service, security requirements of the underlying communication remaining the same as my last post:                    –         …

2

WCF Security Interoperability Guidelines – 1 : Reference Style of a Primary Signing Token inside a response

Making things work with a disparate entity is always a difficult task to accomplish. Things are no different in WCF Interoperability space. While significant developments have been made over the years to standardize various protocols and develop products which adhere to these protocols, differences are always there. Through the course of this article and subsequent…

1

SSL Offloader Using WCF 4.0 Routing Service

WCF Routing Service is a new feature introduced with WCF 4.0. While this article is not about explaining what it is (complete details about WCF Routing Service is available here), I must admit that this new feature is simply awesome. It has made pain points like protocol bridging and handling communication exceptions a no brainer…

1

Manipulate a WCF request / response using a custom encoder

Message Encoders are an interesting component within WCF channel stack. It’s primary job is to transform Message instances to and from the wire. While it has an independent existence within a WCF binding stack in the form of a Message Encoding binding element, in essence it is closely integrated with the underlying transport layer. This…

0

Change the way you define your identity with .NET 3.5 SP1

A service’s endpoint identity is an important entity in an authentication process. Any WCF developer should have a good understanding of what it is, how it is set at the service and client and what part it plays in the overall authentication process. For those in doubt, MSDN article on ‘Service Identity and Authentication’ will…

0

Issued Tokens Renewal : Get your token expiration time set correctly by STS

Working with issued token is always fun. The whole possibility of making 3 components (client, RP and STS) to work seamlessly excites me to no end. Of late I worked on an interesting token renewal issue where the client was not requesting a new SAML token from the STS, even after expiration. An effect of…

0

Mind the case and space when configuring your protocol bindings inside IIS 7.0 to enable net.tcp

We all are aware that WCF provides a new TCP-based network protocol (net.tcp://) for high performance communication. People who are familiar with this particular protocol will know that for a IIS 7.0 hosted WCF service to utilize this protocol, we need to enable appropriate protocol (namely net.tcp) at the web site and virtual directory level…

0

Generate proxy code for a web service dynamically

The first step to consuming a web service is to generate a proxy class from its wsdl. One will agree that with visual studio and a magic tool called wsdl.exe, generating the proxy class is the easiest of things. What if we do away with this concept of a proxy file from a client application?…

1

De-serialize whitespace characters using IXmlSerializable

Sometimes back I faced an issue where the customer was trying to de-serialize whitespace characters. Pretty innocuous from the look of it – why will someone try to de-serialize and preserve white space characters? Naïve – there is a reason for everything. Nonetheless it took me quite a while to figure out the resolution. Let’s…

0

The specified module could not be found. HRESULT : 0X800700E

This error message, by the look of it, is very straight forward. It clearly states that the application (irrespective of its type) failed due to a missing module. I had a similar feeling when I received this bright yellow message on my browser window the other day. Next obvious question: which module am I missing?…

0