Hands-On Network Programming with C# and .NET Core

4.3 (4 reviews total)
By Sean Burns
    Advance your knowledge in tech with a Packt subscription

  • Instant online access to over 7,500+ books and videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies
  1. Section 1: Foundations of Network Architecture

About this book

The C# language and the .NET Core application framework provide the tools and patterns required to make the discipline of network programming as intuitive and enjoyable as any other aspect of C# programming. With the help of this book, you will discover how the C# language and the .NET Core framework make this possible.

The book begins by introducing the core concepts of network programming, and what distinguishes this field of programming from other disciplines. After this, you will gain insights into concepts such as transport protocols, sockets and ports, and remote data streams, which will provide you with a holistic understanding of how network software fits into larger distributed systems. The book will also explore the intricacies of how network software is implemented in a more explicit context, by covering sockets, connection strategies such as Transmission Control Protocol (TCP) and User Datagram Protocol (UDP), asynchronous processing, and threads. You will then be able to work through code examples for TCP servers, web APIs served over HTTP, and a Secure Shell (SSH) client.

By the end of this book, you will have a good understanding of the Open Systems Interconnection (OSI) network stack, the various communication protocols for that stack, and the skills that are essential to implement those protocols using the C# programming language and the .NET Core framework.

Publication date:
March 2019


Section 1: Foundations of Network Architecture

Part one of the book will start by exploring the various network architectures that make distributed programming possible in the first place. It will examine the standards adhered to by hardware and software vendors to allow communication across networks, including the DNS naming system, IPv4 and IPv6 standards for device addressing, and local hardware-level APIs and data structures that allow users to program for those networks, with basic examples of C# software that leverage or demonstrate these concepts.

The following chapters will be covered in this section:

Chapter 1, Networks in a Nutshell
Chapter 2, DNS and Resource Location
Chapter 3, Communication Protocols
Chapter 4, Packets and Streams

About the Author

  • Sean Burns

    Sean Burns is a software engineer and author dedicated to craftsmanship and quality in his work. His professional career began while attending Virginia Commonwealth University in 2012. Leaving school to pursue his career full-time, he has accumulated 7 years of experience as a professional software engineer, working in a wide range of industries. Over the course of his career, he has developed and released software for every layer of the application stack. His projects include feature-rich and high performance front-end user interfaces exposed to millions of consumers, as well as high performance web services and APIs. Since it began, his career has been driven by an innate curiosity and a continued passion for software and technology.

    Browse publications by this author

Latest Reviews

(4 reviews total)
The format of the book is PDF with page numbers and layout exactly the same as the print book (I own both). This is especially important to me as a classroom instructor who will use the book in the classroom - to be able to relate to students exactly where locations are in the book (print or online) that are being referred to. Use on multiple devices is also a big plus, with laptop, and 2 classroom computers to deal with as well as an office machine.
great content and easy to understand.
Very well planned. I am able to use this book as a quick reference in an effective manner. It ended up being a great resource.

Recommended For You

Hands-On Network Programming with C# and .NET Core
Unlock this book and the full library for FREE
Start free trial