In this lecture you'll learn how to efficiently read and write text files asynchronously in C# using
StreamReader,
StreamWriter and the static methods of the
File class. You'll get why
async/
await exist, how they help avoid blocking the UI and scale web apps, how to read huge logs line-by-line, write reports without blocking, and apply best practices (
ConfigureAwait, correct
using, error handling). At the end — common mistakes and how to avoid them.