3.8.2.1. Server Code Example

TcpChannel channel = new TcpChannel (12345);
ChannelServices.RegisterChannel (channel);

RemotingConfiguration.RegisterWellKnownServiceType (
  typeof (Example), "Example",
  WellKnownObjectMode.Singleton);