(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

File IO Best Practices in Windows and Phone apps - Part 1. Available APIs and File.Exists checking

(0 votes)
0 comments   /   posted by Silverlight Show on Jul 28, 2014
Tags:   windows-8 , windev , windows-phone , wpdev , martin-suchan
Read original post at Martin Suchan's Blog

Working with files is one of the most common tasks when developing any Windows Phone or Windows apps. In this mini-series of articles I'll show you available APIs in all Windows Phone and Windows versions, caveats when doing task such as checking if specific file exists, getting target file, reading writing data from/to files and also how to effectively extract data from ZIP files, and more.

In the first part of this series I'll discuss available File IO APIs in Windows Phone 8, 8.1 Silverlight, 8.1 XAML, Windows 8 and 8.1 platforms and benchmark all available methods for testing, if target file in Local Folder exists, or not. To my great surprise, the performance of methods in StorageFolder API is dramatically different across different platforms and it's not a good idea to use single approach everywhere.


Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter


Latest News

  • Daily News Digest 7/31/2014
  • Adding Windows tablet goodness to Windows Phone applications
  • Going Beyond the Limits of Windows Forms
  • Windows Phone 8.1 Update 1 preview due week of August 4