Warehouse Stock Clearance Sale

Grab a bargain today!


Presenting Microsoft Communication Foundation
By

Rating

Product Description
Product Details

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 ....  

                          

 

Promotional Information

Windows Communication Foundation (WCF--formerly codename Indigo) ties together previously separate Microsoft connectivity technologies (Web Services, MSMQ, COM+, .NET Remoting, etc.) into a single programming model. WCF is part of the WinFX platform that is essentially the Windows Programming SDK that will ship with Windows Vista. This title 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 and therefore brings developers the information they need to be prepared to work with this technology upon its release. The reader 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, they will actually have considerable experience using WCF, because the book and accompanying CD take the reader through the steps of actually building Windows Communication Foundation solutions.

About the Author

Craig McMurtry and Marc Mercuri are members of Microsoft’s Evangelism team tasked with telling the world about the technology. As such, the authors have exclusive access to the very designers and developers that are producing the technology, as well as to early releases thereof. That access provides insights into features and application of the technology that others do not have, as well as knowledge of how the technology will evolve, and familiarity with best practices that are only just being formulated by the testing teams.

Ask a Question About this Product More...
 
Look for similar items by category
People also searched for
This title is unavailable for purchase as none of our regular suppliers have stock available. If you are the publisher, author or distributor for this item, please visit this link.

Back to top