Click here to Skip to main content
11,639,508 members (69,229 online)
Rate this: bad
good
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).

Questions:
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

Thanks,
Tatiana
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 OriginalGriff 9,081
1 Sergey Alexandrovich Kryukov 8,812
2 Mika Wendelius 7,027
3 Suvendu Shekhar Giri 2,600
4 F-ES Sitecore 2,548


Advertise | Privacy | Mobile
Web03 | 2.8.150728.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