擴充性Extensibility

本章節包含處理自訂的擴充性和其他功能的 Windows Communication Foundation (WCF) 的範例。This section contains samples that deal with custom extensibility and other features of Windows Communication Foundation (WCF).

本節內容In This Section

通道擴充性Channels Extensibility
示範自訂通道。Demonstrates custom channels.

探索擴充性Discovery Extensibility
示範自訂探索。Demonstrates custom discovery.

執行個體擴充性Instancing Extensibility
示範自訂擴充性。Demonstrates custom extensibility.

Interop 擴充性Interop Extensibility
示範自訂互通性。Demonstrates custom interoperability.

訊息編碼器擴充性Message Encoder Extensibility
示範自訂訊息編碼。Demonstrates custom message encoding.

中繼資料擴充性Metadata Extensibility
示範自訂中繼資料。Demonstrates custom metadata.

安全性擴充Security Extensibility
示範自訂安全性。Demonstrates custom security.

摘要整合擴充性範例Syndication Extensibility Samples
示範自訂新聞訂閱。Demonstrates custom syndication.

傳輸擴充性Transport Extensibility
示範自訂傳輸。Demonstrates custom transports.

作業格式器和作業選取器Operation Formatter and Operation Selector
示範擴充點如何使用自訂訊息資料格式。Demonstrates how extensibility points can consume custom message data formats.

自訂訊息篩選Custom Message Filter
示範如何取代 Windows Communication Foundation (WCF) 用來將訊息分派至端點的訊息篩選。demonstrates how to replace the message filters that Windows Communication Foundation (WCF) uses to dispatch messages to endpoints.

自訂服務主機Custom Service Host
示範如何使用 ServiceHost 類別的自訂衍生,以變更服務的執行階段行為。Demonstrates how to use a custom derivative of the ServiceHost class to alter the run-time behavior of a service.

DataContract 代理DataContract Surrogate
示範如何使用資料合約代理類別來自訂像是序列化 (Serialization)、還原序列化 (Deserialization)、結構描述匯出以及結構描述匯入等程序。Demonstrates how processes like serialization, deserialization, schema export, and schema import can be customized using a data contract surrogate class.

擴充對錯誤處理和報告的控制Extending Control Over Error Handling and Reporting
示範如何擴充控制錯誤處理與錯誤報告中的 WCF 服務使用IErrorHandler介面。Demonstrates how to extend control over error handling and error reporting in a WCF service using the IErrorHandler interface.

訊息偵測器Message Inspectors
示範如何實作與設定用戶端和服務訊息偵測器。Demonstrates how to implement and configure client and service message inspectors.

WebContentTypeMapperWebContentTypeMapper
示範如何將新內容型別對應至 WCF 訊息內文格式。Demonstrates how to map new content types to WCF message body formats.