Archive for the ‘WCF’ Category

In my previous article, I showed how you could embed a certificate as a managed resource in your application. Today, I will demonstrate how you can implement your own custom certificate validation for WCF. There are many scenarios where you would want to implement your own certificate validation mechanics. For instance, it might not be [...]

Wednesday, April 8th, 2009 at 17:19 | 0 comments
Categories: Coding, Internet, Security, WCF
Tags:

In my previous article, I showed how to implement custom username and password validation for WCF and how to use a certificate to encrypt the communication (including the username and password). In this article, I will extend that sample and embed the certificate as a resource in the service library as well as create a [...]

Thursday, April 2nd, 2009 at 01:15 | 0 comments
Categories: Coding, Internet, Security, WCF
Tags:

One of the many common security scenarios when programming WCF, is using custom username and password authentication. The custom authentication part is no big hassle in itself, but as a security precaution, WCF refuses to send usernames and passwords in clear-text, instead requiring that the communication be encrypted in some way. Attempting to use custom [...]

Thursday, April 2nd, 2009 at 00:16 | 0 comments
Categories: Coding, Internet, Security, WCF
Tags:

The first thing we need to do is understand certificates and how they work, not just in theory, but in practice. Then we’ll proceed to create our own root certificate authority. In Part II, we’ll secure a WCF service using a certificate. An introduction to digital certificates The idea of certificates is that someone we [...]

Sunday, March 29th, 2009 at 23:23 | 0 comments
Categories: Coding, Security, WCF
Tags:

As we develop applications, services, databases and so on, we often find ourselves repeating some of the same tasks. Eventually such code often gets refactored into separate libraries that are then shared across multiple projects. The utility libraries. I am currently developing and maintaining such a library at work, consisting of dozens of classes ranging [...]

Monday, March 9th, 2009 at 01:05 | 0 comments
Categories: Coding, WCF
Tags:

I needed the ability to pass along information about the client to a service, without having to explicitly specify them as parameters in the operations. The easiest way to do this, is to implement a behavior extension on the WCF client that will grab the information and inject it into the WCF message as headers. [...]

Sunday, March 1st, 2009 at 06:01 | 0 comments
Categories: Coding, WCF
Tags:
TOP