You need to ensure that the app meets the requirements

You are developing a Windows Store app that uploads large video files to a web-based video sharing
service. You have the following requirements:
When the app runs on a metered network connection, upload operations must be suspended.
When the app is suspended, upload operations must continue.
You need to ensure that the app meets the requirements.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

You are developing a Windows Store app that uploads large video files to a web-based video sharing
service. You have the following requirements:
When the app runs on a metered network connection, upload operations must be suspended.
When the app is suspended, upload operations must continue.
You need to ensure that the app meets the requirements.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A.
Create an HttpClient object and use the PutAsync() method to perform the transfer
asynchronously.

B.
Create a BackgroundTransfer object and call the UploadAsync() method.

C.
Enable the Internet (Server) capability in the package.appxmanifest file.

D.
Create a BackgroundUploader object and call the CreateUploadAsync() method.

E.
Use the XHR class to initiate and run a web upload.

F.
Enable the Internet (Client) capability in the package.appxmanifest file.

Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.web.http.httpclient.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh781239.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *