Posts Tagged ‘WCF’

Implementing a WCF SOAP Client that uses Basic Authentication at first request.

Friday, November 20, 2009 14:52 No Comments

If you have to consume a Web Service that requires Basic Authentication, the normal flow of things is that the first request the client makes is unauthenticated. The server then response with an HTTP 401 response (‘Authentication required’). The client then sends the credentials to the server and the SOAP request goes through. That is [...]

This was posted under category: Web Tags: ,

Creating and using development certificates for use with a self-hosted WCF Service.

Friday, November 20, 2009 8:49 No Comments

This quick how-to shows you how to create and use certificates in a development environment for use with a self-hosted WCF service. This means that the WCF service is not hosted with IIS, but runs, for example, as a Windows Service. We will use the makecert.exe tool that ships with the Microsoft Windows SDK. The [...]

This was posted under category: Web, Windows Tags: ,

HOW TO: Use a Custom Membership Provider, Custom Membership User and Role-Provider with a WCF Service hosted inside a Windows Service.

Friday, August 14, 2009 12:19 No Comments

I have written a small HOW TO on how to use a Customer Membership Provider, a Custom Role-Provider and a Custom Membership User for username/password authentication in a WCF Service that is hosted in a Windows Service. The HOW TO includes a sample implementation of these providers. It also includes a complete Visual Studio Project [...]

This was posted under category: Web, Windows, Windows Server 2003, Windows Server 2008, Windows Vista, Windows XP Tags: , , , , , ,