更新时间:2021-06-24 16:06:32
coverpage
Title Page
Copyright and Credits
Hands-On Network Programming with C# and .NET Core
About Packt
Why subscribe?
Packt.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Dedication
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Reviews
Section 1: Foundations of Network Architecture
Networks in a Nutshell
Technical requirements
Expanding the scope of software – distributed systems and the challenges they introduce
What is a network?
An arbitrarily large set
Computational devices
Navigational devices
Channels of communication
The software impact
The impact of device-agnosticism
Writing for open communication
Topologies and physical infrastructure
Physical and logical topologies
Point-to-point topology
Linear topology (daisy-chaining)
Bus topology
Star topology
Ring topology
Mesh topology
Fully connected mesh network
Hybrid and specialized topologies
The software impact of distributing resources on a network
Security
Communication overhead
Resilience
Asynchrony
Network objects and data structures in .NET Core
Using System.Net
Getting specific with sub-namespaces
A whole new computing world
Long – distance communication
Share functionality not code
Summary
Questions
Further reading
DNS and Resource Location
Needles in a haystack – data on the internet
The first network addresses
DNS – the modern phone book
URLs domain names and device addresses
URLs – user-friendly addressing
URL components
The authority component
The path component
The query component
The fragment component
Putting it all together
Authority specification
Query specification
The URL as a sub-type of the URI
The System.Net.UriBuilder class
Hosts – domain names and IPs
The DNS in C#
Communication Protocols
The Open Systems Interconnection network stack
What exactly is the Open Systems Interconnection?
The origins of the OSI
The Basic Reference Model
The layers of the network stack
The Host/Media distinction
The application layer
The presentation layer
The session layer
Full-duplex half-duplex and simplex communication
The transport layer
The network layer
The data-link layer
The physical layer
The most common layer in the stack
HTTP – application to application communication
What is HTTP?
The client - server model in HTTP