Book description
Programming WCF Services is the authoritative, bestselling guide to Microsoft's unified platform for developing modern service-oriented applications on Windows. Hailed as the definitive treatment of WCF, this book provides unique insight, rather than documentation, to help you learn the topics and skills you need for building WCF-based applications that are maintainable, extensible, and reusable.
Author Juval Löwy -- one of the world's top .NET experts -- revised this edition to include the newest productivity-enhancing features of .NET Framework 4 and the Azure AppFabric Service Bus, as well as the latest WCF ideas and techniques. By teaching you the why and the how of WCF programming, Programming WCF Services will help you master WCF and make you a better software engineer.
- Learn about WCF architecture and essential building blocks, including key concepts such as reliability and transport sessions
- Use built-in features such as service hosting, instance and concurrency management, transactions, disconnected queued calls, security, and discovery
- Master the Windows Azure AppFabric Service Bus, the most revolutionary piece of the new cloud computing initiative
- Increase your productivity and the quality of your WCF services by taking advantage of relevant design options, tips, and best practices in Löwy's ServiceModelEx framework
- Discover the rationale behind particular design decisions, and delve into rarely understood aspects of WCF development
"If you choose to learn WCF, you've chosen well. If you choose to learn with the resource and guidance of Juval Löwy, you've done even better... there are few people alive today who know WCF as well."
--Ron Jacobs, Senior Technical Evangelist for WCF, Microsoft Corporation
Publisher resources
Table of contents
- Programming WCF Services
- Dedication
- A Note Regarding Supplemental Files
- Foreword
- Preface
-
1. WCF Essentials
- What Is WCF?
- Services
- Addresses
- Contracts
- Hosting
- Bindings
- Endpoints
- Metadata Exchange
- More on Behavior Configuration
- 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
-
11. The Service Bus
- What Is a Relay Service?
- Programming the Service Bus
- The Service Bus Bindings
- Cloud as Interceptor
- Service Bus Buffers
- Service Bus Authentication
- Transfer Security
- A. Introduction to Service Orientation
- B. Headers and Contexts
- C. Discovery
- D. Publish-Subscribe Service
- E. Generic Interceptor
- F. WCF Coding Standard
-
G. ServiceModelEx Catalog
- CollectionExtensions
- ArrayExtensions
- InProcFactory<S,I>
- WcfWrapper<S,I>
- ServiceHost<T>
- MetadataHelper
- DataContractSerializer<T>
- GenericResolver, GenericResolverBehaviorAttribute, GenericResolverInstaller
- 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>
- 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
- AsyncOneWayClientBase<T>
- FormHost<F>
- SafeButton, SafeLabel, SafeListBox, SafeProgressBar, SafeStatusBar, SafeTextBox, SafeTrackBar
- ThreadPoolSynchronizer, ThreadPoolBehaviorAttribute, CallbackThreadPoolBehaviorAttribute, ThreadPoolHelper
- AffinitySynchronizer, ThreadAffinityBehaviorAttribute, CallbackThreadAffinityBehaviorAttribute, HostThreadAffinity
- PrioritySynchronizer, PriorityClientBase<T>, PriorityContext, PriorityCallsBehaviorAttribute
- QueuedServiceHelper
- ClientResponseBase<T>, ServiceResponseBase<T>, ResponseContext
- CredentialsManager, AspNetSqlProviderService
- SecureClientBase<T>, SecureDuplexClientBase<T,C>, SecurityBehaviorAttribute, SecurityHelper, ServiceSecurity
- IServiceBusProperties
- ServiceBusHelper
- ServiceBusHost, ServiceBusClientBase<T>, ServiceBusDuplexClientBase<T,C>
- DiscoverableServiceHost, IServiceBusDicovery, IServiceBusDiscoveryCallback, ServiceBusDiscoveryClient, ServiceBusDiscoveryFactory, ServiceBusDiscoveryHelper, IServiceBusAnnouncements, ServiceBusAnnouncementSink<T>
- OneWayClientBase<T>
- BufferedServiceBusHost<T>, BufferedServiceBusClient<T>, BufferedServiceBusChannelFactory<T>
- ClientBufferResponseBase<T>, ServiceBufferResponseBase<T>
- ServiceBusMetadataHelper
- HeaderClientBase<T,H>, HeaderChannelFactory<T,H>, GenericContext<T>
- ContextClientBase<T>, ContextManager
- NetNamedPipeContextBinding, NetNamedPipeContextBindingElement, NetNamedPipeContextBindingCollectionElement
- DiscoveryHelper
- DiscoveryFactory
- AddressesContainer<T>
- AnnouncementSink<T>
- DiscoveredServices<T>
- PersistentSubscriptionServiceClient, IPersistentSubscriptionService, ISubscriptionService, PersistentSubscription, PublishService<T>, SubscriptionManager<T>, PersistentSubscriptionManager
- ServiceBusEventsHost, ServiceBusEventsClientBase<T>
- DiscoveryPublishService <T>
- GenericInvoker, OperationInterceptorBehaviorAttribute, ServiceInterceptorBehaviorAttribute
- InterceptorClientBase<T>, InterceptorChannelFactory<T>
- SecurityCallFrame, SecurityCallStack, SecurityCallStackContext, SecurityCallStackClientBase<T>, SecurityCallStackInterceptor, OperationSecurityCallStackAttribute, SecurityCallStackBehaviorAttribute
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Programming WCF Services, 3rd Edition
- Author(s):
- Release date: August 2010
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596805487
You might also like
book
Programming WCF Services, 2nd Edition
Programming WCF Services is the authoritative, bestselling introduction to Microsoft's unified platform for developing service-oriented applications …
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
Written by Microsoft software legend Juval Lowy, Programming WCF Services is the authoritative introduction to Microsoft's …
book
Programming .NET Security
With the spread of web-enabled desktop clients and web-server based applications, developers can no longer afford …