This documentation is archived and is not being maintained.

Hosting a WCF Service in WPF

This sample provides an integration sample implementation between Windows Communication Foundation and Windows Presentation Foundation (WPF). 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 "WPFHostingWCF" folder in the "My Documents" folder.

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

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

Microsoft .NET Framework