Reputation: 127
I have a service which will be self hosted. Multiple clients connect ot the service and consume it. I am leaning towards tcp as it provides sessions without any extra code and also hopefully a perpormance boost.
The clients(wpf application) all have a username and password that I store in a db on the server. Now the question is how do I set this binding up? The security requirements are not very high and I'd prefer a simple solution.
I am very new to wcf and services in general. I gathered that I could use certificates for authentication, but have no clue how they work. Don't know much about windows authentication either.
To recap:
I store username/password on server. I need to get the tcpBinding working over the internet with as little configuration as possible Security is not a major concern Client computers not in my domain.
If the question is too broad, links to resources, even pointers to what I should be looking at would be greatly appreciated.
Upvotes: 0
Views: 412
Reputation: 65391
For this scenario you should use basichttpbinding over https.
The reasons for this are:
Here is an example: http://msdn.microsoft.com/en-us/library/ms731361.aspx
To get the https to work set the security mode to transport.
Upvotes: 1