views:

51

answers:

0

I've been running around the interwebs for a fair few hours now and I don't think I'm getting anywhere fast.

Here's my situation and problem, I have a WCF web service and a ASP.net website, both C# back end.

When developing ASP.net websites in the past I've used the built in ASP.net configuration manager to do setup user roles and rules and thus I have a db that asp.net generated for me with all my users in.

What I want is to use the same db but in the WCF backend so that the website calls to an authentication service so that in the future I can create a Windows forms client that uses the same user details.

Obviously if im going to be passing Authentication and Authorisation details via web service i will also need to ensure that the service is secure, for that I plan on using wsHttpBinding.

So here's my problem, I have no idea where to start or how to set the web service to check the users credentials.

what I could really do with is a simple example that I can work through to give me the basics of creating a web service that authenticates a users login details.