Network programming in .NET and over 1.5 million other books are available for Amazon Kindle . Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
Buy Used
Used - Good See details
Price: £25.80

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Start reading Network programming in .NET on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Network Programming in NET with C# and Visual Basic.NET [Paperback]

Fiach Reid
3.2 out of 5 stars  See all reviews (4 customer reviews)
RRP: £45.99
Price: £40.47 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £5.52 (12%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want delivery by Tuesday, 21 May? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £30.35  
Paperback £40.47  
Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Books Trade-In Store for more details. Learn more.

Book Description

28 May 2004
The purpose of this book is to provide tools to design and implement network-orientated applications in .NET. It is also a guide for software designers to choose the best and most efficient way to implement mission critical solutions. The book addresses real-world issues facing professional developers, such as using third-party components as opposed in-house development. It differentiates itself from existing .NET publications because it is aimed at experienced professionals and concentrates on practical, ready-to-use information. The book is written in two languages C# and VB.NET, and covers never-before published information on Telephony in .NET and packet-level networking. This is the second book in the Digital Press Software Development Series.

Frequently Bought Together

Network Programming in NET with C# and Visual Basic.NET + TCP/IP Sockets in C#: Practical Guide for Programmers (The Practical Guides) + C# Network Programming
Price For All Three: £88.89

Buy the selected items together


Product details

  • Paperback: 514 pages
  • Publisher: Digital Press (28 May 2004)
  • Language: English
  • ISBN-10: 1555583156
  • ISBN-13: 978-1555583156
  • Product Dimensions: 19.1 x 2.9 x 23.5 cm
  • Average Customer Review: 3.2 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: 723,390 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

Review

This book has what every network programmer needs to know in order to develop relevant applications [in] .NET networking -- Professor Paul Mc Kevitt, Chair in Intelligent MultiMedia, Faculty of Engineering, University of Ulster (Magee), Derry,Northern Ireland

From the Author

What you’ll learn from this book:
• Network programming fundamentals, TCP & UDP.

Enabling you to send and receive files and messages over IP. Using either of the two main Internet protocols, TCP (Transmission control Protocol) or UDP (User datagram protocol). Source code is given to implement file transfer applications, along with rudimentary Instant-Messenger style applications. Examples are given in both C# and vb.net, and provide both socket level and TcpClient / TcpListener (and UdpClient) level options for implementation.

• An in-depth look at HTTP clients & servers. Taking a hands-on approach to HTTP, this chapter provides examples on how to request data from web servers programmatically, using native .NET classes such as HttpWebRequest and HttpWebResponse. The examples provide information on including POST headers, Cookies, referrers etc., into your HTTP requests to retrieve data from dynamic pages on remote webservers. The chapter also provides a wealth of information in embedding Internet Explorer in your .NET applications, which can be used to provide greatly simplified HTML extraction through direct access to Internet Explorers' DOM (document object model) using the HTMLDocument interface. Also included in the chapter is an example of a multithreaded web server, with support for Mime types, expandable to support ASP.NET pages with the "System.Web.Hosting" namespaces' CreateApplicationHost and HttpWorkerRequest classes.

• How to send and receive email, via SMTP, POP3, and the MAPI. In Chapter 5, The SMTP (RFC 821) protocol and POP3 (RFC 1939) protocol are detailed, and socket level implementations are given. However, higher level descriptions are also provided, such as those using the "System.Web.Mail" namespace's MailMessage class. This class leverages Microsoft's CDOSYS architecture, to provide added performance, and functionality, such as attachments and inline images. The high-level alternative to POP3 is the MAPI, (Office automation), this automates the operation of Microsoft Outlook, exposing the full functionality of the product, including utilities such as the address book etc. Also included in the chapter is a description of the IMAP (used for email, but quite rare) and NNTP (news / usenet). Included in a later chapter is a description on how to implement DNS MX (Mail exchange) which enables you to determine the associated SMTP/POP3 server of any given email address, providing a means to automatically discover the outgoing SMTP server address, or bypass a local SMTP server

• Transferring and receiving files via FTP This chapter provides a detailed open-source implementation of a fully featured FTP client (RFC 959). This provides support for folder navigation, file upload and download, and integral support for Passive (PASV) FTP for firewall traversal. As with all examples in this book, they are provided in both C# and vb.net. A simplified example of an FTP client, using the Microsoft Internet Transfer Control (ITC) is also provided. As this control is a legacy ActiveX COM object, the example demonstrates how to use COM interop late-binding (i.e. Activator.CreateInstance) to include COM functionality in your .NET applications.

• Securing your network application, using rock-solid digital security. When you look at security and Cryptography from the eyes of someone that is trying to crack your system, you will be all the more aware of where potential failings may lie. In this section, security is viewed from a cryptoanalists perspective, with a view to exploiting weaknesses in Symmetric and asymmetric encryptive algorithms. Symmetric encryption algorithms described include DES (DESCryptoServiceProvider), RC2 (RC2CryptoServiceProvider), Triple-DES (TripleDESCryptoServiceProvider), Rijndael (RijndaelManaged). An Asymetric encryption scheme, namely RSA (RSACryptoServiceProvider) is also provided. Beyond encryption, the section also explores information Hashing, using MD5 (MD5CryptoServiceProvider) and SHA (SHA1Managed). Also, code examples on reading and installing both client and server X509 digital cetificates is also provided. Other topics in this section include Windows authentication (NTLM, Kerberos) and .NET passport authentication.

• Boosting the performance of your network application with Zip compression & multicast This section is concerned with getting the most out of available bandwidth. This dicusses techniques such as caching, UDP Multicast Sockets (using the MulticastOption Class), Lossless compress (Zip), Lossy compression (image & Video) and more advanced techiques such as IO completion ports etc. Also the issue of scalability is discussed in depth, with issues such as load balancing, replication, redundancy, thread pooling, future-proofing (i.e. IPv6 compatibility).

• Communicate using XML, with Remoting and Web services This chapter teaches you the basics of .NET Remoting (the successor to DCOM), including configuration and deployment for real-world applications. It discusses the many ways in which to host a Remoteable object (Windows Service, IIS, or application), as well the means to invoke such a service (Synchronous, asynchronous, and OneWay). Going beyond the basics, it discusses remoting channels & Sinks (IMessageSink interface), object lifetime (ILease interface), Versioning, Events, and so forth. The webservice example in this chaper demonstrates how to create an XML web service (ASMX file) which can retrieve the IP address of a client computer from the underlying HTTP serverVariables. It also describes both Asyncronous and synchronous invokation of a web service.

• Listen in on network traffic, with packet level networking This chapter descibed how to listen for packets in promiscous mode (also known as packet capture or packet Sniffing), that is to say using either native .NET code (using socket.IOControl SIO_RCVALL), or using a packet driver (). This chapter includes information on how to interpret this data, including Ethernet frame header (or PPP frame headers), as well as the non-IP protocols, such as ARP, Netbios, etc. In addition to this, the chapter also describes the upcoming features in .NET Whidbey for Windows Longhorn, which provide information on available network interfaces and statistics, via the NetworkInformation class.

• Make your computer answer your phone for you, with .NET telephony This chapter provides source code for using the TAPI in .NET. TAPI allows C# and vb.net applications listen for and respond to incomming phone calls. Namely, the type of systems used in call centers and expensive CTI (computer telephony Integration) applications. The examples provided use the TAPI32 DLL's ported from TAPI .h such as lineAnswer, lineInitialize , lineNegotiateAPIVersion, lineOpen ,lineGetDevCaps, lineSetStatusMessages ,lineDrop , and lineShutdown. Also included in the chapter is how to directly invoke modem functions via the comm port using the MSCOMM ActiveX (COM) object to make outgoing calls. The examples in this chapter can be expanded upon to make and recieve VOIP (H323) calls, and leverage SAPI to record and playback speech over the telephone via TAPI.


Inside This Book (Learn More)
First Sentence
This book will help you develop network applications with .NET, using either the C# (pronounced C-sharp) or VB.NET programming language. Read the first page
Explore More
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

3.2 out of 5 stars
3.2 out of 5 stars
Most Helpful Customer Reviews
2 of 2 people found the following review helpful
By Mile
Format:Paperback
A poorly written book!

It appears as if the author chose his chapter headings and section titles well to make it look at first glance like an in depth material covering a broad range of subjects. However, if you read the book you will notice that each section starts with a poor superficial introduction of the subject matter with absolutely no in depth material, followed by a very good example. I must say that most of his examples work, but you will have to scratch your head to know why. He doesn't even comment on his own code other than in a superficial way.
I tried to search for a good book on the subject and couldn't after a year of using this one. Being this the only valid source up there, you probably won't have a choice but to get it. It'll get you started, but you will end up having to purchase another book to complete your knowledge.
Comment | 
Was this review helpful to you?
6 of 7 people found the following review helpful
5.0 out of 5 stars As reviewed in VSJ magazine (september 2004) 9 Sep 2004
Format:Paperback
This is a clearly written and interesting account of network programming using both VB.NET and C#. The use of both languages saves the publisher cost and risk of two editions of the same book but puts the reader to the cost of buying redundant pages. Given that C# and VB.NET are so close anyway, and most of the work is done by the common class library, it hardly seems worth the space given to listings in both languages. It's about time Microsoft decided which of its redundant languages was the one to go for ( as if we didn't know already ).
Returning to the book in hand. It is occasionally too low level - if you need to be told how to use Visual Studio then you probably aren't up to learning about network programming. Slowly this tendency to deal with the simple dies away, and we are left with some interesting descriptions of TCP, UDP, HTTP, SMTP, Remoting and web services. It also covers less common protocols such as telephony, MSMQ, IPv6 and low-level packet protocols. The examples are all described in short sections interleaved with text. The discussions are relaxed and informal and the author isn't afraid of upsetting people by pointing out the defects and restrictions of the technologies. This makes the book highly recommended, especially if you're interested in implementing any networking features using the ,NET framework
Comment | 
Was this review helpful to you?
4 of 7 people found the following review helpful
5.0 out of 5 stars excellent intro to networking tasks 27 Aug 2004
By A Customer
Format:Paperback
I really like this book, as it provides simple examples of how to do networking tasks without huge technical explanations, very useful for developers such as myself in the real world who don't have time for ploughing through extended theory sessions before getting to the end result.

Another reviewer has mentioned the lack of complete source code as a reason for giving this book one star. I say, you were supposed to be giving a book review, not a customer service survey. Anyway I spent about half an hour typing in the TCP/IP server code from the book and it all worked fine (and actually, typing it in, you learn more anyway).

Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Most Recent Customer Reviews
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges