Windows Communication Foundation (WCF) allows you to modify and extend run time components to precisely control and extend service-based applications. The topics in this section go in depth about the extensibility architecture. For more information about basic programming, see Basic WCF Programming.
In This Section
- Extending ServiceHost and the Service Model Layer
The service model layer is responsible for pulling incoming messages out of the underlying channels, translating them into method invocations in application code, and sending the results back to the caller. Service model extensions modify or implement execution or communication behavior and features involving dispatcher functionality, custom behaviors, message and parameter interception, and other extensibility functionality.
- Extending Bindings in Windows Communication Foundation
Bindings are objects that describe the communication details required to connect to an endpoint. Binding extensions or custom bindings implement custom communication functionality required to support application features.
- Extending the Channel Layer in Windows Communication Foundation
The channel layer sits beneath the service model layer and is responsible for the exchange of messages between clients and services. Channel extensions can implement new protocol functionality, such as security. Channel extensions also transport functionality, such as implementing a new network transport to carry SOAP messages.
- Extending Security
Security in WCF consists of transfer security (integrity, confidentiality, and authentication), access control (authorization) and auditing. The classes found in the IdentityModel namespace are used by WCF for access control. Understanding the security architecture allows you to create custom claim types to accommodate custom access control systems.
- Extending the Metadata System
The WCF metadata system is a group of classes and interfaces that represent metadata required to implement service-based applications. Modify or extend the classes or implement and configure the interfaces to export and import custom metadata such as Web Services Description Language (WSDL) extensions or custom WS-PolicyAttachments assertions.
- Extending Encoders and Serializers in Windows Communication Foundation
Encoders and serializers translate data from one form to another. The topics in this section discuss how to extend the supplied classes to meet special requirements.