28. Web Services

Objectives

In this chapter you’ll learn:

• How to create WCF web services.

• How XML, JSON, XML-Based Simple Object Access Protocol (SOAP) and Representational State Transfer Architecture (REST) enable WCF web services.

• The elements that comprise WCF web services, such as service references, service endpoints, service contracts and service bindings.

• How to create a client that consumes a WCF web service.

• How to use WCF web services with Windows and web applications.

• How to use session tracking in WCF web services to maintain state information for the client.

• How to pass user-defined types to a WCF web service.

A client is to me a mere unit, a factor in a problem.

Sir Arthur Conan Doyle

...if the simplest things ...

Get C# 2010 for Programmers, Fourth Edition 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.