March 2008 Entries

Processing custom WCF header values at server-side

Well since my previous post was about passing information from client to server in a WCF header, this post is about processing the incoming header to retrieve the original username. If you read my previous post, I used a class RequestAuth and ProcessAuth. This post will explain the ProcessAuth class. This time I need to FETCH something from the message, so instead of implementing IClientMessageInspector, I need to implement the IDispatchMessageInspector interface, together with the IEndpointBehavior...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Automate passing valuable information in WCF headers

OK so this is my first blogpost (EVER) so I hope it'll be of value to some people. This post is about passing through some information at the client to the server, and how to automate this using the WCF configuration. Case study: I was with a client, developing WCF services which are hosted on IIS. Since they already have a wide range of security settings stored in databases, it would be a shame to let go of those configurations and force a whole new security model on them instead of trying to integrate...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati