Files and Streams Part 4 - Reading & Writing Files into Memory
Posted on 07 May 2020
In the previous part I looked at how file processing could benefit from watching directories. In this part I will be looking at introducing file manipulation during the processing. Here I work through processing various text and binary files.
Files and Streams Part 3 - Watching Files & Directories
Posted on 06 May 2020
The previous part was about how to manage files and directories. In this part, I essentially refactor the application to operate by watching the files and directories for changes rather than running the file processing a single time. The result of the monitoring will trigger the processing whenever a change event is raised.
Files and Streams Part 2 - Managing Files & Directories
Posted on 05 May 2020
The previous part was a brief overview and links to other parts. In this section I'm providing an example of basic file and directory management within a console application. Essentially setting up a desired directory structure and then moving or removing files depending on the required behaviour. This is made possible by three specific System.IO classes.
Tags
- Deep Dive (4)
- C Sharp (4)
- Console (4)
- File (3)
- Directory (2)
- String (2)
- TimeSpan (1)
- ConcurrentDictionary (1)
- Frontend (1)
- MemoryCache (1)