The WCF subset supported by NetCF

Avatar

Andrew

[Updated: 21Nov07 to clarify that custom headers are supported, but not in NetCFSvcUtil proxy generation]
[Updated: 27Aug07 to correct Gzip sample, and clarify on transports & extensibility]
[Updated: 23Aug07 to add SecurityAlgorithmSuite enumerable]

Many people have been asking about what subset of .NET 3.0’s Windows Communication Foundation (WCF) will be supported by the .NET Compact Framework 3.5.  Well, here is a table I put together with the answer to that question:

Feature

Desktop WCF

Compact WCF

Bindings:  
· BasicHttpBindingYesYes
· CustomBindingYesYes
· WindowsMobileMailBindingN/AYes
· ExchangeWebServiceMailBindingYes, via NetCF installYes
Formatters:  
· SoapFormatterYesYes
· BinaryFormatterYesNo
Encoders:  
· TextMessageEncoderYesYes
· BinaryMessageEncodingBindingElementYesNo
· MTOMEncoderYesNo
· GzipEncoderSample availableSample available
Transports:  
· HttpTransportBindingElementYesYes
· HttpsTransportBindingElementYesYes
· MailTransportBindingElementYes, via NetCF installYes
· MsmqTransportBindingElementYesNo
· TcpTransportBindingElementYesNo
· (other transports) YesNo
XmlDictionaryReader/WriterYesYes; stub around XmlTextReader/Writer
DataContractSerializerYesNo; but can be wire-compatible with DCS via XmlSerializer
Service proxy generationYes; via SvcUtil.exeYes; via NetCFSvcUtil.exe, not integrated into VS2008
· Non-HTTP transports in generated proxiesYesNot built-in
· Custom headers in generated proxiesYesNot built-in
WS-AddressingYesYes
WS-Security message level security  
· X.509YesYes
· Username/passwordYesNo
· SecurityAlgorithmSuite.Basic256Rsa15YesYes
· SecurityAlgorithmSuite.Basic256YesNo
WS-ReliableMessagingYesNo
Patterns  
· Service modelYesNo
· Message layer programmingYesYes
· Buffered messagesYesYes
· Streaming messagesYesNo
· Endpoint descriptions in .config filesYesNo
Channel extensibilityYesYes
Security channel extensibilityYesNo
Avatar
Andrew Arnott

Principal Software Engineer, Visual Studio Platform

Follow Andrew   

No Comments.