Partial Trust WPF Application Calling a WCF Service

This sample provides an integration sample implementation between Windows Communication Foundation and Windows Presentation Foundation (WPF) using a partial trust Windows Presentation Foundation (WPF) client. To set up, build, and run the sample, ensure that you have performed the One Time Setup Procedure for the Windows Communication Foundation Samples.

To build the sample

  • Run MSBuild from the sample root directory or load the sample solution in Visual Studio.

To run the sample

  1. Create a "PartialTrustWpfCallingWcf" folder in the "My Documents" folder.

  2. Copy all the files from the "Sample Files" folder into the "PartialTrustWpfCallingWcf" folder.

  3. From the PartialTrustWpfCallingWcf\client\bin folder, run client.exe.

Requirements

Microsoft .NET Framework

See Also

Other Resources

Basic WCF Setup Instructions