Your First .NET Remoting Application

Developing Delphi applications that make use of .NET remoting is a relatively easy process, and, if you used COM, you will find that it’s conceptually very similar to developing OLE automation servers. Luckily, registration of remotable objects is much simpler. It can be done programmatically (RemotingConfiguration method calls) or declaratively (using an XML configuration file). You no longer have to deal with type libraries.

The following example, although simple, shows how to best structure .NET Remoting projects and contains a certain amount of real-world business logic.

The server of this example represents a bank service. It contains a list of bank accounts (two to be precise) and allows to query for ...

Get Delphi for .NET Developer’s Guide 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.