Streaming in .NET 4.5
Streaming provides an efficient way to process data in chunks instead of loading bulk data into an application's memory space. It's almost inevitable that you will need to use streaming in your applications. However, what many developers miss is that there are different pieces to the .NET streaming architecture puzzle. This course will explain this architecture including backing store streams, decorator streams, and stream adapters.
What you'll learn
It's almost inevitable that you will need to use streaming in your applications. Yet streaming is one of the most often misunderstood topics. This misunderstanding is the result of the fact that there are multiple elements into the streaming architecture. This course we will cover many of these important elements. We start off with the overall architecture and the common features of all stream types. Then we will move into backing store streams, as well as explaining the different types of these streams. We will then cover another type of stream called decorator streams. Following that we will learn about stream adapters as the mechanism to work with high level data representation instead of bytes. Finally, we will cover how to take advantage of asynchronous operations in .NET streaming.
Table of contents
- Introduction 0m
- I/O Streams 2m
- What Is a Stream? 4m
- .NET Streaming Architecture 4m
- The System.IO.Stream Class 2m
- Stream Pointer 1m
- Reading From a Stream 7m
- Writing Into a Stream 1m
- Seeking a Stream 6m
- Demo: Pointers and Seeking 4m
- Disposing Streams 1m
- Buffering and Flushing 3m
- Multithreading via Synchronized Method 1m
- Async Support 1m
- Testing With no Backing Store? Stream.Null 1m
- Summary 2m
- Introduction 0m
- Backing Store (Base) Streams 2m
- Instantiating a FileStream: Supplying the File Path 4m
- FileMode and FileAccess 3m
- Demo: FileMode and FileAccess 3m
- FileShare 3m
- Demo: FileShare 3m
- Access Control 1m
- Internal Buffer 2m
- File Caching 4m
- Optimize File Caching: Sequential and Random Access 3m
- Other FileOptions 1m
- Summary 3m
- Introduction 1m
- Stream Adapters 2m
- Text Adapters: StreamReader/StreamWriter 6m
- Text Adapters and Encoding 3m
- Demo: StreamReader Buffer and Position 2m
- Demo: StreamWriter Buffer and Position 2m
- Binary Adapters: BinaryReader/BinaryWriter 4m
- Understanding Write(String) and ReadString 2m
- Demo: Understanding Read/Write With Binary Adapters 4m
- XML Adapters: XmlReader/XmlWriter 1m
- Demo: XmlReader 3m
- Demo: XmlWriter 2m
- Closing Stream Adapters 1m
- Summary 1m