Category Archives: wcf

Username message credentials over streamed binding

A little while ago I added username authentication to some WCF services we have. This used message level authentication to hold the username and password, which required an x509 certificate to be used to secure the transport (as we’re sending … Continue reading

Posted in development, Security, wcf | 2 Comments

How to add custom policy assertions to a WCF service without using a custom binding

Recently I have been trying to work with the ws policy standard to add information to our service WSDLs. WCF has an extension point for doing just that, you can read a really good example of this WCF extension here. … Continue reading

Posted in .net, wcf, wcf behaviors, web service | 2 Comments

An idea for exposing additional data and fault contracts for a WCF service through behaviours

Although I am not working on this at the moment I’ve just stumbled across something that I thought I should capture as a potential solution for an existing problem. The problem: We are using WCF behaviours to provide common functionality … Continue reading

Posted in wcf, wcf behaviors | 1 Comment

Automated Testing of WCF services

An outstanding issue on my project is that we don’t have the facility for our tester to test our WCF services without using our ASP.net front-end. The issue here is that we can (and do) put some code in our … Continue reading

Posted in testing, wcf, web service | 3 Comments

Consuming a WCF Service with an unmanaged C++ client with credential passing

After much hassle I eventually got this working. This post explains how I got it to work and will try and pull together several information sources I found during the investigation. Service, Step 1 – Bindings and Security To maximize … Continue reading

Posted in C++, development, interoperability, Security, unmanaged, wcf, wcf behaviors, web service | 5 Comments

How to make a visual studio web reference pass message credentials

As part of my investigation into interoperability of our services I have spent some time trying to consume one of a sample web services without using “Add Service Reference” (part of .net 3.0).  The standard way of consuming a service … Continue reading

Posted in .net, development, interoperability, Security, wcf, web service, wse | 1 Comment

How to setup a WCF service using basic Http bindings with SSL transport level security

In the .net 3.0 world you can use WS Http Bindings for your web services. Where your service has to be interoperable with other clients you can also expose a basic Http binding. This works fine, but you don’t automatically … Continue reading

Posted in development, interoperability, Security, wcf, web service | 8 Comments