1.

Record Nr.

UNINA9910816444503321

Autore

Cheng Steven

Titolo

Microsoft Windows Communication Foundation 4.0 cookbook for developing SOA applications : over 85 easy recipes for managing communication between applications / / Steven Cheng

Pubbl/distr/stampa

Birmingham, U.K., : Packt Publishing, 2010

ISBN

1-282-89652-0

9786612896521

1-84968-077-9

Edizione

[1st edition]

Descrizione fisica

1 online resource (316 p.)

Disciplina

005.4

005.4469

Soggetti

Application software - Development

Web services

Electronic data processing - Distributed processing

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Cover; Copyright; Credits; Foreword; About the Author; About the Reviewers; Table of Contents; Preface; Chapter 1: Working with Contracts; Introduction; Defining a one-way Contract; Make DataContract forward-compatible; Generate DataContract from an XML Schema; Using XMLSerializer to control message; Using MessageContract to control the; Adding a custom SoapHeader via Contract; Return custom exception data; Chapter 2: Endpoint, Binding, and Behavior; Introduction; Configuring Default Endpoints; Setting up two-way communication; Building a Publish-Subscribe service

Creating a multiple-endpoint serviceImplementing a POX HTTP service; Defining a CustomBinding without a; Suppressing mustUnderstand validation; Sharing a physical address between; Chapter 3: Hosting and Configuration; Introduction; Hosting a service in a console application; Hosting a service in Windows Service; Hosting a HTTP service with; Hosting a non-HTTP service in IIS 7; Customizing IIS ServiceHost via; Specifying a dedicated service; Hosting a service in WSS 3.0; Chapter 4: Service Discovery and Proxy Generation; Introduction; Creating a typed



service client

Choosing a specific type forReusing types between service and client; Customizing an auto-generated service; Building an ad-hoc auto-discoverable; Using managed ServiceDiscovery; Generating a service proxy in code; Customizing auto-generated service; Chapter 5: Channel and Messaging; Introduction; Using ChannelFactory to consume a WCF; Invoking async operation via; Creating a service via ChannelListener; Getting the IP address of a client consumer; Adding a dynamic SoapHeader into a message; Chapter 6: Dealing with Data  in Service; Introduction

Binding a WPF element with data from a WCF serviceReturning ReadOnlyCollection data; Using raw XML as an operation parameter; Returning a DataTable/DataSet in a; Transferring binary data with MTOM; Specifying ServiceKnownType; Using XmlSerializer for custom data; Chapter 7: Security; Introduction; Setting up ad hoc Windows authentication over plain HTTP; Getting an authenticated client identity in a service operation; Using username authentication with an ASP.NET membership provider; Sending a clear text username token over unsecured HTTP transport

Using transport and message security at the same timeAuthorizing through declarative role-based access control; Impersonating with a client caller identity; Adding multiple tokens in a service request (supportingToken); Supplying dedicated credentials for firewall or proxy authentication; Securing a dynamic SoapHeader; Chapter 8: Concurrency; Introduction; Hosting a singleton instance service; Invoking a WCF service without blocking the front UI; Using throttling to control service concurrency; Ensuring termination of a client session

Tuning WCF concurrency performance via Visual Studio testing tools

Sommario/riassunto

Over 85 easy recipes for managing communication between applications with Microsoft Windows Communication Foundation 4.0 in this book and eBook