Basic Remoting

At its most basic level, remoting is the capability to communicate with components in separate AppDomains. Figure 21.1 shows a simplified view of two objects communicating via remoting—a client component in AppDomain A communicates with a server component in AppDomain B.

Figure 21.1. Basic remoting diagram.

Note

An AppDomain is an execution environment within a process. It separates managed applications during execution. This provides several benefits including reliability and security.

Since remoting supports multitiered as well as distributed architectures, the server component in AppDomain B could easily be extended to a client ...

Get C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.