|
Networking is one of the core tasks of enterpriselevel programming, and for the programmer familiar with the C# language this book will provide the information to put network programming at the heart of their .NET applications. Prior knowledge of network programming is not assumed, but the reader already familiar with networking from another environment will find the pace quick enough for the book to still prove valuable.This book will give the reader:An understanding of the general concepts of networkingInformation about network programming in .NET with C#Skills to build networkbased applications in .NETThe confidence to use the classes shipped with .NET to implement your own applicationlevel protocols. After reading this book, you will be a confident .NET network programmer, and understand the underlying protocols. We begin with an overview of the most important background material, such as the architecture of physical networks, network protocols, the OSI model, streams in .NET, and the classes provided to facilitate access to streams such as StreamReader and StreamWriter.Then we move onto sockets programming, with an introduction to the concept of sockets, and full coverage of using sockets in .NET. We look at TCP, UDP, and using multicast sockets in .NET. We also look briefly at applicationlevel protocols built on top of these layers, such as SMTP and FTP.The next stop is Internet programming, with a look at HTTP, the underlying protocol of the Internet, and email protocols − we look at the .NET classes for sending emails via SMTP, and we see how we can implement POP3 and NNTP clients in .NET to read mailboxes and newsgroups.The book finishes with an exploration of how to secure network communications in .NET − encrypting network traffic, certificates and SSL, authenticating and authorizing users with NTLM and Kerberos.All the code examples in this book are in C#.
|
|
|