Microsoft Windows Communication Foundation
Sams Publishing (Verlag)
978-0-672-32877-0 (ISBN)
- Titel ist leider vergriffen;
keine Neuauflage - Artikel merken
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 takes 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.
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.
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 ....
Erscheint lt. Verlag | 8.6.2006 |
---|---|
Verlagsort | Indianapolis |
Sprache | englisch |
Maße | 177 x 230 mm |
Gewicht | 862 g |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► NET Programmierung |
ISBN-10 | 0-672-32877-1 / 0672328771 |
ISBN-13 | 978-0-672-32877-0 / 9780672328770 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich