Book description
Programming WCF Services is the authoritative, bestselling introduction to Microsoft's unified platform for developing service-oriented applications (SOA) on Windows. Hailed as the most definitive treatment of WCF available, this relentlessly practical book provides insight, not documentation, to help you learn the topics and skills you need for building WCF-based applications that are maintainable, extensible, and reusable. Author Juval Lowy, Microsoft software legend and participant in WCF's original strategic design review, revised this new edition for the latest productivity-enhancing features of C# 3.0 and the .NET 3.5 SP1 Framework. The book also contains Lowy's ServiceModelEx, a framework of useful utilities, tools, and helper classes that let you simplify and automate many tasks, and extend WCF as well. With this book, you will:
Learn about WCF architecture and essential building blocks, including key concepts such as reliability and transport session
Use built-in features such as service hosting, instance management, concurrency management, transactions, disconnected queued calls, and security
Take advantage of relevant design options, tips, and best practices in Lowy's ServiceModelEx framework to increase your productivity and the quality of your WCF services
Learn the rationale behind particular design decisions, and discover poorly documented and little-understood aspects of SOA development
By teaching you the "why" along with the "how" of WCF programming, Programming WCF Services not only will help you master WCF, it will enable you to become a better software engineer.
Publisher resources
Table of contents
- Programming WCF Services, Second Edition
- Dedication
- A Note Regarding Supplemental Files
- Forewords
- Preface
-
1. WCF Essentials
- What Is WCF?
- Services
- Addresses
- Contracts
- Hosting
- Bindings
- Endpoints
- Metadata Exchange
- Client-Side Programming
- Programmatic Versus Administrative Configuration
- WCF Architecture
- Working with Channels
- Transport-Level Sessions
- Reliability
- 2. Service Contracts
- 3. Data Contracts
-
4. Instance Management
- Behaviors
- Per-Call Services
- Per-Session Services
- Singleton Service
- Demarcating Operations
- Instance Deactivation
- Durable Services
- Throttling
- 5. Operations
- 6. Faults
-
7. Transactions
- The Recovery Challenge
- Transactions
- Transaction Propagation
- Transaction Protocols and Managers
- The Transaction Class
- Transactional Service Programming
- Explicit Transaction Programming
- Service State Management
- Instance Management and Transactions
- Callbacks
-
8. Concurrency Management
- Instance Management and Concurrency
- Service Concurrency Modes
- Instances and Concurrent Access
- Resources and Services
- Resource Synchronization Context
- Service Synchronization Context
- Custom Service Synchronization Contexts
- Callbacks and Client Safety
- Callbacks and Synchronization Contexts
- Asynchronous Calls
- 9. Queued Services
-
10. Security
- Authentication
- Authorization
- Transfer Security
- Identity Management
- Overall Policy
- Scenario-Driven Approach
- Intranet Application Scenario
- Internet Application Scenario
- Business-to-Business Application Scenario
- Anonymous Application Scenario
- No Security Scenario
- Scenarios Summary
- Declarative Security Framework
- Security Auditing
- A. Introduction to Service-Orientation
- B. Headers and Contexts
- C. Publish-Subscribe Service
- D. Code-Access Security
- E. Generic Interceptor
- F. WCF Coding Standard
-
G. ServiceModelEx Catalog
- CollectionExtensions
- ArrayExtensions
- AppDomainHost
- InProcFactory
- ServiceHost<T>
- MetadataHelper
- DataContractSerializer<T>
- DataTableHelper
- ServiceThrottleHelper
- IInstanceStore<ID,T>
- FileInstanceStore<ID,T>, FilePersistenceProvider, FilePersistenceProviderFactory
- MemoryProvider, MemoryProviderFactory
- TransactionalMemoryStore<ID,T>, TransactionalMemoryProvider, TransactionalMemoryProviderFactory
- TransactionalInstanceStore<ID,T>, TransactionalInstanceProvider, TransactionalInstanceProviderFactory
- InstanceContext<T>, DuplexClientBase<T,C>, DuplexChannelFactory<T,C>
- WsDualProxyHelperCallbackBaseAddressBehaviorAttribute
- DebugHelper
- ErrorHandlerHelper
- ErrorHandlerBehaviorAttribute, CallbackErrorHandlerBehaviorAttribute
- ILogbookManager, LogbookManagerClient, LogbookManager
- BindingRequirementAttribute
- ResourceManager, TransactionalLock
- Transactional<T>
- TransactionalCollection<C,T>
- TransactionalArray<T>, TransactionalDictionary<K,T>, TransactionalLinkedList<T>, TransactionalList<T>, TransactionalQueue<T>, TransactionalSortedDictionary<K,T>, TransactionalSortedList<K,T>, TransactionalStack<T>
- TransactionalBehaviorAttribute
- FormHost<F>
- SafeButton, SafeLabel, SafeListBox, SafeProgressBar, SafeStatusBar, SafeTextBox, SafeTrackBar
- ThreadPoolSynchronizer, ThreadPoolBehaviorAttribute, CallbackThreadPoolBehaviorAttribute, ThreadPoolHelper
- AffinitySynchronizer, ThreadAffinityBehaviorAttribute, CallbackThreadAffinityBehaviorAttribute, HostThreadAffinity
- PrioritySynchronizer, PriorityClientBase<T>, PriorityContext, PriorityCallsBehaviorAttribute
- QueuedServiceHelper
- ResponseClientBase<T>, ResponseScope<T>, ResponseContext
- CredentialsManager, AspNetSqlProviderService
- SecureClientBase<T>, SecureDuplexClientBase<T,C>, SecurityBehaviorAttribute, SecurityHelper, ServiceSecurity
- HeaderClientBase<T,H>, GenericContext<T>
- ContextClientBase<T>, ContextManager
- NetNamedPipeContextBinding, NetNamedPipeContextBindingElement, NetNamedPipeContextBindingCollectionElement
- PersistentSubscriptionServiceClient, IPersistentSubscriptionService, ISubscriptionService, PersistentSubscription, PublishService<T>, SubscriptionManager<T>, PersistentSubscriptionManager
- PartialTrustClientBase<T>, PartialTrustDuplexClientBase<T,C>, CodeAccessSecurityHelper
- GenericInvoker, OperationInterceptorBehaviorAttribute, ServiceInterceptorBehaviorAttribute
- InterceptorClientBase<T>
- SecurityCallFrame, SecurityCallStack, SecurityCallStackContext, SecurityCallStackClientBase<T>, SecurityCallStackInterceptor, OperationSecurityCallStackAttribute, SecurityCallStackBehaviorAttribute
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Programming WCF Services, 2nd Edition
- Author(s):
- Release date: November 2008
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596521301
You might also like
book
Programming WCF Services, 4th Edition
Programming WCF Services is the authoritative, bestselling guide to Microsoft’s unified platform for developing modern, service-oriented …
book
Programming WCF Services, 3rd Edition
Programming WCF Services is the authoritative, bestselling guide to Microsoft's unified platform for developing modern service-oriented …
book
Programming WCF Services
Written by Microsoft software legend Juval Lowy, Programming WCF Services is the authoritative introduction to Microsoft's …
book
Pro WCF: Practical Microsoft SOA Implementation
Part of Microsoft's radical WinFX API is the Indigo foundation, more formally known as the Windows …