Training
Module
Call methods from the .NET Class Library using C# - Training
Use functionality in the .NET Class Library by calling methods that return values, accept input parameters, and more.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Starting with .NET Framework 3.5, partially trusted callers can access public types and methods implemented in System.ServiceModel, System.Runtime.Serialization, and System.ServiceModel.Web. This section describes supported scenarios for using Windows Communication Foundation (WCF) within a partially trusted application. It also describes the limited subset of WCF functionality available to applications running with reduced code access security (CAS) permissions.
Note
Code Access Security (CAS) has been deprecated across all versions of .NET Framework and .NET. Recent versions of .NET do not honor CAS annotations and produce errors if CAS-related APIs are used. Developers should seek alternative means of accomplishing security tasks.
Supported Deployment Scenarios
Describes the main partial trust scenarios for running WCF.
Partial Trust Feature Compatibility
Describes the WCF features that can't be used with partial trust.
Partial Trust Best Practices
Contains best practices for using WCF in partially trusted applications.
Training
Module
Call methods from the .NET Class Library using C# - Training
Use functionality in the .NET Class Library by calling methods that return values, accept input parameters, and more.