Server components overview
Microsoft® .NET remoting provides a framework that allows objects to interact
with one another across application domains. The framework provides a number of
services, including activation and lifetime support, as well as communication
channels responsible for transporting messages to and from remote applications.
Formatters are used for encoding and decoding the messages before they are
transported by the channel. Applications can use binary encoding where
performance is critical, or XML encoding where interoperability with other
remoting frameworks is essential. All XML encoding uses the SOAP protocol in
transporting messages from one application domain to the other. Remoting was
designed with security in mind, and a number of hooks are provided that allow
channel sinks to gain access to the messages and serialized stream before the
stream is transported over the channel.
Microsoft Windows services, formerly known as NT services, enable you to create
long-running executable applications that run in their own Windows sessions.
These services can be automatically started when the computer boots, can be paused
and restarted, and do not show any user interface. This makes services ideal for
use on a server or whenever you need long-running functionality that does not interfere
with other users who are working on the same computer. You can also run services in
the security context of a specific user account that is different from the logged-on
user or the default computer account.