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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.