Access local files asynchronously

Learn how to manage local files using the System.IO namespace and how to asynchronously back up and restore application data using the System.Text.Json namespace. 

Prerequisites

  • An installation of Visual Studio Code with the C# Dev Kit extension installed.
  • The ability to develop object-oriented programs in C# that implement classes, interfaces, class inheritance, and polymorphic behavior.
  • The ability to manage collections, structs, records, generics, dates and times, and anonymous types.

Modules in this learning path

Learn how to manage local files and directories using the System.IO classes, and how to store and retrieve C# objects using CSV files and the StreamReader and StreamWriter classes.

Learn how to serialize and deserialize JavaScript Object Notation (JSON) strings using the JsonSerializer class, the JsonSerializerOptions class, and Data Transfer Objects.

Learn how to implement asynchronous tasks in C# apps using the async and await keywords and how to run asynchronous tasks in parallel.