开发者

WCF RIA Services and communicating via SSL

开发者 https://www.devze.com 2022-12-21 20:46 出处:网络
I have a simple Silverlight application that use WCF RIA Services to communicate with the ASP.NET application on my web server. By default I assume that this communication is plain and not encrypted i

I have a simple Silverlight application that use WCF RIA Services to communicate with the ASP.NET application on my web server. By default I assume that this communication is plain and not encrypted in any way.

How do you request it use SSL or some other m开发者_开发问答ethod to ensure that all data via the WCF RIA Service is secure?


On a domain service you can specify in the EnableClientAccess attribute that only secured transport is allowed.

ie.

[EnableClientAccess( RequiresSecureEndpoint = true )]
0

精彩评论

暂无评论...
验证码 换一张
取 消