Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900