开发者

WCF RIA Services and communicating via SSL

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜