Template Project

The project group contains a shared assembly, a server, and a client console application ready to be compiled and launched.

Figure 30.1 shows how the template project looks.

Figure 30.1. Template project.

The service included in the template is very basic, and it implements the following interface:

  ISimpleServer = interface
    function GetValue : integer;
    procedure SetValue(Value : integer);
    property Value : integer read GetValue write SetValue;
  end;
  • Find the code on the CD: \Chapter 30\Ex01.

This template will save you precious time while doing your first tests with .NET remoting.

To start a new remoting application, just copy ...

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.