Udostępnij za pośrednictwem


Remoting Examples

This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the Windows Communication Foundation (WCF).

Although using the default architecture and transport channels is straightforward and likely to satisfy most remoting requirements, particular scenarios might call for more complete control over the remoting process. The topics in this section explore more deeply into the remoting process to explain the lower-level processes and how they can be replaced or extended.

Security is an important consideration when building business applications and developers must be able to add security features such as authorization or encryption to remote method calls to meet business requirements. To accommodate this requirement, channels can be customized to provide developers with control over the actual transport mechanism of messages to and from a remote object.

5dwytyss.Caution(en-us,VS.100).gifCaution:
.NET Framework remoting does not do authentication or encryption by default. Therefore, it is recommended that you take all necessary steps to make certain of the identity of clients or servers before interacting with them remotely. Because .NET Framework remoting applications require FullTrust permissions to execute, if an unauthorized client were granted access on your server, the client could execute code as though it were fully trusted. Always authenticate your endpoints and encrypt the communication streams, either by hosting your remoted types in Internet Information Services (IIS) or by building a custom channel sink pair to do this work.

In This Section

  • Remoting Example: Channel Sink Provider
    Demonstrates how to build a channel sink provider that searches through the channel sink chain to set properties specified in the application configuration file.
  • Advanced Remoting
    Provides information on different ways to provide advanced communication.

Build Date: 2011-02-07