WPF XBAP and WCF Trusted Security

The WSHttpBinding with name WSHttpBinding failed validation because it contains a BindingElement with type System.ServiceModel.Channels.SymmetricSecurityBindingElement which is not supported in partial trust. Consider disabling the message security and reliable session options, using BasicHttpBinding, or hosting your application in a full-trust environment.

Error

Request for the permission of type ‘System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed.

from http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2062437&SiteID=1 Hello, in a partial trust environment, you can only access web services located at the XBAP’s site of origin. But when debugging, VS won’t consider to have the same site of origin as the web service it references. You’ll need to add -debugSecurityZoneURL to the command line arguments to avoid this issue. For more information, please refer to http://msdn2.microsoft.com/en-us/library/bb613597(VS.90).aspx.

ClickOnce deployment has problem with Proxy that requires authentication. You might get the following error: (407) Proxy Authentication Required If so, you would need to get a hotfix at http://support.microsoft.com/kb/917952/en-us. For more detail, you can check out at http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=294738&SiteID=1