Skip to Content
Programming WCF Services, 3rd Edition
book

Programming WCF Services, 3rd Edition

by Juval Lowy
August 2010
Intermediate to advanced
908 pages
26h 22m
English
O'Reilly Media, Inc.
Content preview from Programming WCF Services, 3rd Edition

What Is a Relay Service?

The solution for the Internet connectivity challenge is simple—since it is so difficult to connect the client to the service directly, avoid doing that (at least initially) and instead use a relay service. The relay service is a service residing in the cloud assisting in the connectivity, relaying the client calls to the service. Such a relay approach does require both the client and the service intranets to allow connecting to the cloud, but since the cloud constitutes neutral territory for both the client and the service, most environments, from consumer home machines to small intranets and large businesses, do allow calls out to the Internet, because that is perceived as an integral part of conducting business. A cloud-based relay service (as you will see later) also provides other benefits in terms of scalability, security, and administration.

Figure 11-2 shows how the relay service operates.

The service bus as a relay service

Figure 11-2. The service bus as a relay service

First, both the service and the client must establish connection against the relay service independently (steps 1 and 2 in Figure 11-2) and authenticate against the relay service. At this point, the relay also records where the service is and how to best call back to it. When the client calls the relay service (step 3), the relay service forwards the call (the client message) to the service (step 4).

The Windows Azure AppFabric ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming WCF Services, 4th Edition

Programming WCF Services, 4th Edition

Juval Lowy, Michael Montgomery
Programming .NET Security

Programming .NET Security

Adam Freeman, Allen Jones

Publisher Resources

ISBN: 9781449382476Supplemental ContentErrata Page