Authorisation in .NET with C# and WCF.

“You are unwise to lower your defenses.” – Darth Vader. In an earlier post, we looked at programmatically creating WCF services in C#. These services could be secured with, for example, Windows authentication or Basic authentication. That’s great, with this we would know that the system knew the identity of the caller. However, we also […]

Creating a REST JSON WCF Service with C# .NET.

“Boring conversation anyway.” – Han Solo. Ok, I think this post possibly has too many acronyms in the title. This post is about creating a WCF service that can be consumed by a client using the REST (representational state transfer) architectural style, and using JSON (JavaScript Object Notation) for data transfer. Why would we do […]

Programatically using the BasicHttpsBinding and UserNamePasswordValidator classes in a WCF C# .NET Windows Service.

“Now we find out if that code is worth the price we paid.” – Princess Leia I wrote an article recently regarding how to create a WCF based C# .NET Windows Service (here). I’m going to build upon that further here by moving from the BasicHttpBinding class to the BasicHttpsBinding class, and from Windows authentication to […]