I've developed and XBAP application that talks to a WCF service. I set my XBAP to
partial trust and everything worked just fine.
I then added code to the WCF service that uses System.DirectoryServices to talk to my Active Directory server. I tried to debug the XBAP after I added this code and I am recieving the following error.
Request for the permission of type System.Net.WebPermission failed.
When I set my XBAP to full trust everything works ok. However I don't understand why I need to set my XBAP to
full trust when it's the WCF service that uses System.DirectoryServices to talk with the Active Directory Server and not the XBAP application.
Thanks in advance!
View Complete Post