Solitary Clients
The design of .NET remoting makes single-file clients possible in only two scenarios:
- Use the Soapsuds tool (SoapSuds.exe) to export a proxy class that contains the type information in XML form, and compile it directly into your client. Absolute type fidelity is lost, and the channel, formatter, and server location for this client becomes hard-coded.
- Name your remote type server library with the same name as the client assembly, disable version checking in the formatter (or leave both assemblies without version information), and compile a stubbed-out class with identical metadata into your client.