Partial Trust: WPF Calling WCF Using a BasicHttpBinding
This sample demonstrates an end-to-end scenario using the BasicHttpBinding in a partially-trusted application. In this scenario, both the client and service run with reduced Code Access Security (CAS) permissions. The service is hosted in a Medium Trust ASP.NET application and the client is a Windows Presentation Foundation (WPF) XAML Browser Application (XBAP) running with Internet Zone permissions.
|This sample requires that .NET Framework version 3.5 is installed to build and run. Visual Studio 2008 is required to open the project and solution files.|
To set up, build, and run the sample
Ensure that you have performed the One-Time Set Up Procedure for the Windows Communication Foundation Samples.
To build the C# or Visual Basic .NET edition of the solution, follow the instructions in Building the Windows Communication Foundation Samples.
Open http://localhost/ServiceModelSamples/Index.htm in your web browser.
|Please ensure that Static Content is enabled in IIS, as described in Internet Information Service Hosting Instructions.|
© 2007 Microsoft Corporation. All rights reserved.