Click here to Skip to main content
15,895,880 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello everyone.

i developed a WcfServce and host it into WindowsService,

the WcfService is duplex and use WSDualHttpBinding binding.

now i have challenge in authentication for WcfService

i know two way to authenricate user

1-Windows Authentication(need transport level sercurity that WSDualHttpBinding doesn't support)

2-AspMemberShip(my WcfService is not website and it host into WindowsService)

now i wanna a way to authenticate user

i scared to another person use my WcfService.

Best Regards.
Posted

1 solution

Hi,

Now the quesiton is why you are using WSDualHttpBinding with service hosted on Window Service?
If you are hosting service on Windows service that means you are consuming service over intranet then netTcpBinding is better for duplex communication and it's more performant than WSDualHttpBinding which is the preferred binding for duplex communication over HTTP.

You can use Windows authentication with net.tcp binding.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900