In the previous chapters, we covered a wide breadth of topics related to general network programming concepts, challenges, and patterns. With this chapter, we'll see how to work on that knowledge to define our own application layer protocols within .NET Core. We'll learn about the concept of a pluggable protocol. We'll see how .NET Core gives you the ability to extend the WebRequest class to define your own standards and expectations for network interactions. We'll look at how to register your new protocol for use by the WebRequest factory methods. Finally, we'll discuss the advantages of doing so, and when you should consider using it.
The following topics will be covered in this chapter:
- Understanding pluggable protocols
- How to implement a sub-class of the WebRequest class from the System.Net namespace
- The support infrastructure...