Click here to Skip to main content
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 22:49pm
(unknown member)

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

  Print Answers RSS
0 OriginalGriff 587
1 Sergey Alexandrovich Kryukov 519
2 Maciej Los 305
3 BillWoodruff 250
4 Mathew Soji 195
0 OriginalGriff 7,356
1 Sergey Alexandrovich Kryukov 6,777
2 DamithSL 5,461
3 Manas Bhardwaj 4,916
4 Maciej Los 4,475


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 4 Mar 2013
Copyright © CodeProject, 1999-2014
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