We'll be writing a substantial amount of sample code, which can be found on GitHub here: https://github.com/PacktPublishing/Hands-On-Network-Programming-with-CSharp-and-.NET-Core/tree/master/Chapter 7.
Check out the following video to see the code in action: http://bit.ly/2HT1l9z
This chapter will introduce a resilient network client called Polly to demonstrate common error-recovery strategies. I'd recommend reading up on some of the features of that particular library here: https://github.com/App-vNext/Polly.