Click here to Skip to main content
11,798,866 members (73,221 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: TabletPC WCF
We have native (WPF) application on tablet with Windows 8.

Tablet's user can click on Send button and it will send to server XML (or object with data) and few files: pictures or video (from 0 to many).

1. What is correct way to send structured data: XML or our type of object (we develop both client and server side). XML seems more generic. Object requires common dll for client and server, but it’s easier way. What is correct?

2. How can we send files? Streaming? Is it correct to do streaming from the tablet? We don't know if wi-fi connection is qualitative. If it interrupts, should we start whole package from start? Maybe it’s worth to send small chunks? What is right way to monitor integrity of package?

3. Is it correct to send XML and all files in one call to the server? On the server we will start working only after receiving all parts of the package.
Can we expose WCF contract like this
SendReport (string XML, List< stream>) ?

Please advise

Posted 3-Mar-13 21:49pm

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

  Print Answers RSS
0 CPallini 505
1 OriginalGriff 503
2 Richard MacCutchan 321
3 Maciej Los 245
4 phil.o 244
0 OriginalGriff 2,270
1 Maciej Los 1,810
2 KrunalRohit 1,496
3 CPallini 1,425
4 Richard MacCutchan 1,109

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 4 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100