public void simplest_usage()
{
// SAMPLE: simple-remote-service-runner
var runner = new RemoteServiceRunner(x => {
x.ServiceDirectory = @"c:\code\other-service\src\other-service";
x.Setup.ShadowCopyFiles = true.ToString();
});
// stop and restart the remote AppDomain
runner.Recycle();
// There is support for event aggregation between
// AppDomain's for coordination
runner.SendRemotely(new SomeMessage());
// Shut down and close the remote AppDomain
runner.Dispose();
// ENDSAMPLE
}