Home   FAQs   New Arrivals   Specials   Pricing & Shipping   Location   Corporate Services   Why Choose Bookware?  
 Search:   
Call our store: 9922 6266 (from within Sydney) or 1800 734 567 (from outside Sydney)
 View Cart   Check Out   
 
Browse by Subject
 Nepean TAFE 2012
I.T
 .NET
 Windows 7
 Adobe CS5
 Cisco
 CCNA 2012
 CCNP 2012
 Java
 VB
 ASP
 Web Design
 E-Commerce
 Project Management
 ITIL
 Macintosh
 Linux
 Windows Server 2008
 SAP
 Sharepoint 2010
Certification
 MCITP
 MCTS
Economics and Business
 Accounting
 Business Information Systems
 Economics
 Finance
 Management
 Marketing
 TAX
 Human Resources
Academic
 Law
 Nursing
 Medical

Microsoft Windows Communication Foundation: Hands-on

by: Craig McMurtry, Marc Mercuri, Nigel Watling

Notify me when in stock

On-line Price: $47.95 (includes GST)

Paperback package 560

20%Off Retail Price

You save: $12.00

TBA - Subject to Change. Price/availability/options for all orders will be confirmed by reply email before processing.

Retail Price: $59.95

Publisher: SAMS,25/05/2006

Category: Level:

ISBN: 0672328771
ISBN13: 9780672328770

Add to Shopping Cart

Book Description

Microsoft developers, get ready for Windows Vista programming! Microsoft Windows Communication Foundation: Hands-on addresses an unmet need in the marketplace as there are no books, or much documentation at all, of the post-Beta 1 WCF programming model. This book contains the information you will need to work with this technology upon its release.

You will gain a comprehensive understanding of how to apply the Windows Communication Foundation to almost any distributed computing problem, from enterprise scale to peer-to-peer. Most importantly, after reading the book and working through the examples, you will actually have considerable experience using WCF, because the book and accompanying CD take you through the steps of actually building Windows Communication Foundation solutions.

Microsoft Windows Communication Foundation: Hands-on is the only book to cover capabilities comprehensively, including the facilities for building Representational State Transfer and Plain XML software services, and the extensive management interfaces.

Table of Contents

Table of Contents

1. Prerequisites-Generics and Transactions


        

Generics ......

System.Transactions .....

Transaction Managers ....

Coding System.Transactions Transactions ..

2.

The Fundamentals


            

Background .....

The Service Model .....

A Software Resource ....

Building a Service for Accessing the Resource ..

Using the Service ....

Hosting the Service in IIS ....

Securing the Service ....

Debugging .....

3. Data Representation


            

Background .....

XmlSerializer and XmlFormatter ...

The XML Fetish .....

Using the XmlFormatter ....

Exception Handling .....

4. Security

Background .....

XSI ......

Claims-based Authorization Versus Role-based Authorization

Claims-based Authorization Versus Access Control Lists .

Adopting Claims-based Authorization ..

Using XSI ......

Authorizing Access to an Intranet Resource UsingWindows Identity

Improving the Initial Solution ...

Adding STSs as the Foundation for Federation .

Using the Windows Workflow Foundation for ClaimsNormalization

5 . Reliable Sessions, Transactions, and Queues


      

Reliability ......

WS-Reliable Messaging (WS-RM) ...

Reliability in WCF .....

Reliable Sessions ....

Queued Messaging ....

When to Use Reliable Sessions and When to UseQueued Messaging

Implementing Reliable Sessions ...

Adding WCF SOAP Reliable Messaging to a WCF Project

Creating a Banking Service and Client with Reliable Sessions .

Creating the Banking Service ...

Creating the Client for the Service ...

Test #1-No Sessions Enabled-Per Call Instancing .

Test #2-Sessions Enabled-PerSession Instancing .

Test #3-Sessions Enabled-Sharable Instancing .

Implementing Queued Messaging ...

Queued Messaging ....

An MSMQ Primer ....

WCF's Bindings for MSMQ ...

Creating a WCF Application Using Queued Messaging .

Creating the Client for the Service ...

Transactions .....

Atomic, Consistent, Isolated, and Durable (ACID) .

Transactions on Windows ....

WS-Atomic Transaction ....

Transaction Support in WCF ...

Adding Transactions to the Solution ...

Creating the Electric Company Service ..

Creating the Banking Service ...

Creating the ATM Client ....

Testing the Solution. ....

6.

Legacy Integration


            

COM+ Integration .....

Supported Interfaces ....

Selecting the Hosting Mode ...

Using the COM+ Service Model Configuration Tool ..

Exposing a COM+ Component as a WCF Web Service .

Referencing in the Client ....

Integrating with MSMQ ....

Creating a WCF Service That Integrates with MSMQ ..

Creating the Request ....

Creating the Service ....

Creating the Client ....

Testing .....

7. Interoperability


            

An Overview of Interoperability ....

WS-I Basic Profile ....

WS-* ......

Custom Bindings ....

Creating Proxy Code for Use in Client Applications .

Creating a WCF Client to an ASMX Service with SvcUtil.exe .

Creating a WCF Service and WCF/ASMX Clients ..

Creating the WCF Service ....

Creating a WCF Client ....

Creating an ASMX Client ....

Creating a WCF Client for a Lotus Notes Domino ServerWeb Service

Two for the Road .....

Create a WCF Client to Test Interop with Sun Microsystems

Create a WCF Client to Test Interop with Oracle ApplicationServer

8. Custom Transports


            

The Windows Communication Foundation Channel Layer .

Adding Support for Additional Transport Protocols ..

See the Initial Solution Work ...

Understand the Initial Solution ...

The Internet Mail Protocols ...

Building an Internet Mail Transport Binding Element .

Testing the New Internet Mail Protocol Binding Element .

9. Custom Behaviors


            

Understanding the Types of Behaviors ...

Configuring Behaviors ....

Configuring Behaviors with Attributes ..

Configuring Behaviors in Code ...

Configuring Behaviors in the Configuration File .

Creating a Behavior to Inspect Messages on the Server .

Creating the Auditing Service ...

Creating the Dispatch Service Behavior ..

Creating the Service ....

Creating a Behavior to Inspect Messages on the Client .

Creating the Proxy Channel Behavior ..

Creating the Client ....

Testing the Solution ....

10. Publish/Subscribe Systems


          

Publish/Subscribe Using Callback Contracts ..

Publish/Subscribe Using MSMQ Pragmatic Multicasting .

Publish/Subscribe Using Streaming ...

The Streamed Transfer Mode ...

Transmitting a Custom Stream with the StreamedTransfer Mode

Implementing Publish/Subscribe Using the StreamedTransfer Mode and a Custom Stream

11. Peer Communication


            

Introducing Peer Channel ....

Using Structured Data in Peer-to-Peer Applications .

Leveraging the Windows Peer-to-Peer NetworkingDevelopment Platform

340

Using Peer Channel .....

Envisaging the Solution ....

Designing the Messages and the Message Exchange Patterns

Implementing the Communication ...

See the Peer Channel Solution in Action ..

Securing the Peer Channel Solution ...

12. Manageability


            

Administration Facilities ....

The Configuration System ...

The Configuration Editor ....

Configurable Auditing of Security Events ..

Message Logging ....

Traces .....

The Trace Viewer ....

Performance Counters ....

WMI Provider .....

Adding Administration Facilities ....

13. Representational State Transfer and Plain XML Services


    

Representational State Transfer ....

Really Simple Syndication ....

Objective ......

Designing the Solution ....

Constructing the REST RSS Server ...

Create the RSS Feeds ....

Define the Contract for the REST RSS Service ..

Implement the Contract for the REST RSS Service .

Host the REST RSS Service in an Application ..

Configure the Address and the Binding of the Service .

See a Windows Communication Foundation PlainXML REST Service in Action

469

Constructing the RSS Aggregator ...

14. InfoCard

Background .....

What Is Identity? .....

Existing Identity Solutions ("Getting to Where We Want to Befrom Where We Are Today")

480

The Laws of Identity .....

The Identity Metasystem ....

The InfoCard System .....

InfoCards in Action .....

InfoCard Architecture and Security ...

Basic WCF App .....

Adding InfoCard .....

Federation with InfoCard ....

InfoCard from the Browser ....


                                                

Downloads

The example files developed for the book - WCFHandsOn.zip (18,418 KB)

Table of Contents

Table of Contents

1. Prerequisites-Generics and Transactions


        

Generics ......

System.Transactions .....

Transaction Managers ....

Coding System.Transactions Transactions ..

2.

The Fundamentals


            

Background .....

The Service Model .....

A Software Resource ....

Building a Service for Accessing the Resource ..

Using the Service ....

Hosting the Service in IIS ....

Securing the Service ....

Debugging .....

3. Data Representation


            

Background .....

XmlSerializer and XmlFormatter ...

The XML Fetish .....

Using the XmlFormatter ....

Exception Handling .....

4. Security

Background .....

XSI ......

Claims-based Authorization Versus Role-based Authorization

Claims-based Authorization Versus Access Control Lists .

Adopting Claims-based Authorization ..

Using XSI ......

Authorizing Access to an Intranet Resource UsingWindows Identity

Improving the Initial Solution ...

Adding STSs as the Foundation for Federation .

Using the Windows Workflow Foundation for ClaimsNormalization

5 . Reliable Sessions, Transactions, and Queues


      

Reliability ......

WS-Reliable Messaging (WS-RM) ...

Reliability in WCF .....

Reliable Sessions ....

Queued Messaging ....

When to Use Reliable Sessions and When to UseQueued Messaging

Implementing Reliable Sessions ...

Adding WCF SOAP Reliable Messaging to a WCF Project

Creating a Banking Service and Client with Reliable Sessions .

Creating the Banking Service ...

Creating the Client for the Service ...

Test #1-No Sessions Enabled-Per Call Instancing .

Test #2-Sessions Enabled-PerSession Instancing .

Test #3-Sessions Enabled-Sharable Instancing .

Implementing Queued Messaging ...

Queued Messaging ....

An MSMQ Primer ....

WCF's Bindings for MSMQ ...

Creating a WCF Application Using Queued Messaging .

Creating the Client for the Service ...

Transactions .....

Atomic, Consistent, Isolated, and Durable (ACID) .

Transactions on Windows ....

WS-Atomic Transaction ....

Transaction Support in WCF ...

Adding Transactions to the Solution ...

Creating the Electric Company Service ..

Creating the Banking Service ...

Creating the ATM Client ....

Testing the Solution. ....

6.

Legacy Integration


            

COM+ Integration .....

Supported Interfaces ....

Selecting the Hosting Mode ...

Using the COM+ Service Model Configuration Tool ..

Exposing a COM+ Component as a WCF Web Service .

Referencing in the Client ....

Integrating with MSMQ ....

Creating a WCF Service That Integrates with MSMQ ..

Creating the Request ....

Creating the Service ....

Creating the Client ....

Testing .....

7. Interoperability


            

An Overview of Interoperability ....

WS-I Basic Profile ....

WS-* ......

Custom Bindings ....

Creating Proxy Code for Use in Client Applications .

Creating a WCF Client to an ASMX Service with SvcUtil.exe .

Creating a WCF Service and WCF/ASMX Clients ..

Creating the WCF Service ....

Creating a WCF Client ....

Creating an ASMX Client ....

Creating a WCF Client for a Lotus Notes Domino ServerWeb Service

Two for the Road .....

Create a WCF Client to Test Interop with Sun Microsystems

Create a WCF Client to Test Interop with Oracle ApplicationServer

8. Custom Transports


            

The Windows Communication Foundation Channel Layer .

Adding Support for Additional Transport Protocols ..

See the Initial Solution Work ...

Understand the Initial Solution ...

The Internet Mail Protocols ...

Building an Internet Mail Transport Binding Element .

Testing the New Internet Mail Protocol Binding Element .

9. Custom Behaviors


            

Understanding the Types of Behaviors ...

Configuring Behaviors ....

Configuring Behaviors with Attributes ..

Configuring Behaviors in Code ...

Configuring Behaviors in the Configuration File .

Creating a Behavior to Inspect Messages on the Server .

Creating the Auditing Service ...

Creating the Dispatch Service Behavior ..

Creating the Service ....

Creating a Behavior to Inspect Messages on the Client .

Creating the Proxy Channel Behavior ..

Creating the Client ....

Testing the Solution ....

10. Publish/Subscribe Systems


          

Publish/Subscribe Using Callback Contracts ..

Publish/Subscribe Using MSMQ Pragmatic Multicasting .

Publish/Subscribe Using Streaming ...

The Streamed Transfer Mode ...

Transmitting a Custom Stream with the StreamedTransfer Mode

Implementing Publish/Subscribe Using the StreamedTransfer Mode and a Custom Stream

11. Peer Communication


            

Introducing Peer Channel ....

Using Structured Data in Peer-to-Peer Applications .

Leveraging the Windows Peer-to-Peer NetworkingDevelopment Platform

340

Using Peer Channel .....

Envisaging the Solution ....

Designing the Messages and the Message Exchange Patterns

Implementing the Communication ...

See the Peer Channel Solution in Action ..

Securing the Peer Channel Solution ...

12. Manageability


            

Administration Facilities ....

The Configuration System ...

The Configuration Editor ....

Configurable Auditing of Security Events ..

Message Logging ....

Traces .....

The Trace Viewer ....

Performance Counters ....

WMI Provider .....

Adding Administration Facilities ....

13. Representational State Transfer and Plain XML Services


    

Representational State Transfer ....

Really Simple Syndication ....

Objective ......

Designing the Solution ....

Constructing the REST RSS Server ...

Create the RSS Feeds ....

Define the Contract for the REST RSS Service ..

Implement the Contract for the REST RSS Service .

Host the REST RSS Service in an Application ..

Configure the Address and the Binding of the Service .

See a Windows Communication Foundation PlainXML REST Service in Action

469

Constructing the RSS Aggregator ...

14. InfoCard

Background .....

What Is Identity? .....

Existing Identity Solutions ("Getting to Where We Want to Befrom Where We Are Today")

480

The Laws of Identity .....

The Identity Metasystem ....

The InfoCard System .....

InfoCards in Action .....

InfoCard Architecture and Security ...

Basic WCF App .....

Adding InfoCard .....

Federation with InfoCard ....

InfoCard from the Browser ....