Skip to Content
Professional WCF Programming: .NET Development with the Windows® Communication Foundation
book

Professional WCF Programming: .NET Development with the Windows® Communication Foundation

by Scott Klein
April 2007
Intermediate to advanced
451 pages
10h 40m
English
Wrox
Content preview from Professional WCF Programming: .NET Development with the Windows® Communication Foundation

Chapter 4. Addresses

Chapter 2 spent quite a bit of time explaining the makeup of endpoints, and one of the main concepts discussed was that of addresses and how they apply to endpoints and the important role they play in communication. As you learned, every endpoint must have an address so that other programs can communicate with it. An address basically declares "here I am" to the outside world.

This chapter builds on the brief introduction in Chapter 2 and delves deep into addresses by discussing the different types and formats of addresses, and then the rest of the chapter shows you how to program addresses.

This chapter discusses the following:

  • Address types

  • Address formats

  • Programming addresses

WCF Addresses

Chapter 2 discussed the three components that make up an endpoint. Those three are the address, binding, and contract. Not being one to start an argument, but if I had to make a choice as to which of those was the most important component of the endpoint, I would have to say it is the address, only because without the address, you wouldn't be able to find the endpoint to begin with. Without the address, the endpoint is basically useless.

Now, you could argue the same for the binding and contract. Without either of those, the endpoint would be rendered useless as well, and I would agree with that. But you have to first find the endpoint, and that is what the address does. It specifies where the service endpoint is. You have to be able to find it and get to it to be able to use ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Professional WCF 4: Windows Communication Foundation with .NET 4

Professional WCF 4: Windows Communication Foundation with .NET 4

Pablo Cibraro, Kurt Claeys, Fabio Cozzolino, Johann Grabner

Publisher Resources

ISBN: 9780470089842Purchase book