Click here to Skip to main content
14,934,216 members
Articles / Mobile Apps / Windows Mobile
Technical Blog
Posted 8 Dec 2009

Stats

15.3K views
5 bookmarked

WCF Guidance for Windows Mobile on CodePlex

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
8 Dec 2009CPOL2 min read
WCF guidance for Windows Mobile

I was looking for a Windows Mobile specific WCF reference since I knew that the Compact Framework doesn't support all of the same WCF profiles that the desktop framework does. I was searching for a webcast that was done on the topic when I stumbled upon a document that had the information I was seeking on the CodePlex. You can see the document for yourself here. The document was created by Michele Bustamante aka That Indigo Girl.

The document contains a lot of good information and is written for the developer that has no experience with the compact framework or WCF. Only experience with the .NET framework is required. It will walk one through the steps of setting up their development environment for mobile development.

By the way, I did find a listing of the limitations for which I was looking.

FeatureSupport
StreamingNot Supported. Contract can use Stream parameters but they will not be buffered or streamed.
SessionsTransport sessions not supported. Service contract can use SessionMode.Allowed. Service should use InstanceContextMode.PerCall behaviour.
DuplexServices designed for duplex communications with callback contracts cannot be called by mobile clients. Duplex requires a transport session.
TransactionsService contract cannot require transaction for any service operations.
Data Contracts and Serializable TypesCan freely use. The mobile client will use XmlSerializer types that are wire compatible
Message ContractsCan freely use. If the message contract includes custom headers, proxy generation will not work. Mobile client requires additional custom code to work with headers.
Fault ContractsCan include in the service contract. Proxy generation will not include fault contracts so additional custom code for mobile client is required to work with faults.

There are quite a few more limitations to know about for WCF in the Compact Framework. I won't name all of them here since I think the document does an excellent job of detailing the limitations. At a length of only 72 pages including diagrams, it's a document that a developer should be able to easily get through.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Joel Ivory Johnson
Software Developer
United States United States
I attended Southern Polytechnic State University and earned a Bachelors of Science in Computer Science and later returned to earn a Masters of Science in Software Engineering. I've largely developed solutions that are based on a mix of Microsoft technologies with open source technologies mixed in. I've got an interest in astronomy and you'll see that interest overflow into some of my code project articles from time to time.



Twitter:@j2inet

Instagram: j2inet


Comments and Discussions

 
Generaluseful ,thanks Pin
lincyang15-Dec-09 19:06
Memberlincyang15-Dec-09 19:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.