or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
Read instantly on your iPad, PC or Mac, no Kindle required
Buy Price: $42.10
Rent From: $14.10
 
 
   
Sell Back Your Copy
For a $22.25 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Network programming in .NET: C# & Visual Basic .NET
 
 

Network programming in .NET: C# & Visual Basic .NET [Paperback]

Fiach Reid (Author)
3.2 out of 5 stars  See all reviews (14 customer reviews)

List Price: $70.95
Price: $46.78 & this item ships for FREE with Super Saver Shipping. Details
You Save: $24.17 (34%)
  Special Offers Available
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.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Thursday, February 2? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition
Rent from
$42.10
$14.10
 
Paperback $46.78  

Book Description

1555583156 978-1555583156 June 11, 2004 1
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.

· Coverage of lower level protocols allows implementation of performance-centric applications
· Demonstrates the feasibility of developing telephony solutions in-house rather than outsourcing
· Written in VB.NET and C# to assist readers working in either language
· Coverage of Email, FTP and the WWW allows implementation of applications in all three areas

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Network programming in .NET: C# & Visual Basic .NET + TCP/IP Sockets in C#: Practical Guide for Programmers (The Practical Guides) + C# Network Programming
Price For All Three: $108.52

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • TCP/IP Sockets in C#: Practical Guide for Programmers (The Practical Guides) $24.11

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • C# Network Programming $37.63

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

Book Description

Covers the latest version of .NET.

From the Publisher

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.

Access legacy databases remotely Where a legacy system relies on a database which has no in-built facility to provide remote access to the data store (such as Microsoft Access, dBase, CSV files etc.), this book provides a great number of examples on how to do this. Either deep (or shallow) serializing to XML, and served via a custom server (chapter 2 & 3), or by creating a COM+ Queued component in .NET, which would leverage MSMQ (Microsoft message queue), and OleDb to access the database. (chapter 15). In fact, with an entire chapter devoted to MSMQ, you could expand upon this to provide support for Journals, Dead letter queues, Acknowledgements, and so forth. 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.


Product Details

  • Paperback: 541 pages
  • Publisher: Digital Press; 1 edition (June 11, 2004)
  • Language: English
  • ISBN-10: 1555583156
  • ISBN-13: 978-1555583156
  • Product Dimensions: 9.2 x 7.3 x 1.3 inches
  • Shipping Weight: 2.6 pounds (View shipping rates and policies)
  • Average Customer Review: 3.2 out of 5 stars  See all reviews (14 customer reviews)
  • Amazon Best Sellers Rank: #1,070,807 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

14 Reviews
5 star:
 (5)
4 star:
 (3)
3 star:    (0)
2 star:
 (2)
1 star:
 (4)
 
 
 
 
 
Average Customer Review
3.2 out of 5 stars (14 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

14 of 15 people found the following review helpful:
2.0 out of 5 stars Not what I was looking for, March 14, 2006
This review is from: Network programming in .NET: C# & Visual Basic .NET (Paperback)
I purchased this book because I wanted to do socket programming. However only 30 pages is devoted to the topic. Threads are not covered as all and I found more information on the web then I found in this book.

The fact that you can not download the source code is another blow against the book.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


10 of 10 people found the following review helpful:
4.0 out of 5 stars Wide Coverage WITHOUT Source Code, September 23, 2004
By 
Michael W. Schellenberger (georgetown, in United States) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: Network programming in .NET: C# & Visual Basic .NET (Paperback)
Overall, covers many areas, lacks detailed socket theory, wastes space and no source code.

The book covers a lot of stuff that I hadn't anticipated, which I thought was great. The book goes from Streaming, sockets, numerous internet related protocols, multicasting, telephony and MSMQ.

The book really lacks detailed explanation on Sockets however there are plenty of code examples to learn from. The samples could use more detailed explanation. They are concise and the few I took the time to type in worked fine.

There is no mention of source code being available. I contacted the publisher, Elsevier - Digital Press, and after a 3 day delay said 'the source code is on the inside cover'. No sure what that means I guess I will have to wait another 3 days to find out.

One other dislike was the fact that every code snippet is duplicated in each language. The book is intended for non beginners so there should be no need to waste so much space. The second language should be available in a download.

I gave the 4 only because of the wide coverage and great theory in these other areas. The book will get you writing apps that can talk to each other over IP.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


7 of 8 people found the following review helpful:
5.0 out of 5 stars Extremely well done, October 14, 2005
By 
Keith "kc31824" (STAMFORD, CT, United States) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: Network programming in .NET: C# & Visual Basic .NET (Paperback)
This book took me from 0 to 50 on network programming in 1 long day.

It is written for someone familiar with .net and wanting to do network programming in .net -- either C# or VB.net.

The coverage is very broad -- starting from sockets, to email, to http/web, to encryption, network utilities, etc. Each section is short and sweet, but still specific enough with an example that you feel you can jump in and start coding this.

Also, the author is clearly a practioner himself -- this wasn't just reciting the msdn library, this was the tips and tricks on what parts really matter of each aspect of networking, with real life situations.

This was one of the top few, if not the best, computer software books I've read, in terms of taking me from virtually no knowledge of a subject (outside of a network theory class a long time ago) to feeling confident that I can use the material in a commercial application.

Two drawbacks:
- Would have been nice to be able to download the sample code form somewhere as full apps. Retyping it is a bit of a pain.

- I'm using the VS 2005 beta and a couple of the namespaces like system.web.mail have been obsoleted.

However, if you're trying to learn about networking and using a .net enviornment, this is a good investment of time.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



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
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
netsh interface, command socket, receive buf, preview tab page, object sender, multiline set, remoting object, logon form, relevant namespaces, format wave, following namespaces, test queue, required namespaces, new byte, network tapping, queued components, thread pooling, passive connection, booking center, asmx file, public byte, new socket, end sub, wave file, new booking
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Visual Studio, Forml Load, Internet Explorer, Property Purpose, Click Dim, Visual Basic, Computer Management, Add Reference, Private Const, Byte Offset Bit Offset Description, Microsoft Access, Microsoft Outlook, Microsoft Web Browser, Select Case, Started Automatic Local System, Data Source, Load Dim, Mobile Web, Ringing Data, System Queues, United States, Adapter As String, Entering Passive Mode, Open File Dialog, Publisher Payment Confirmation
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:




What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)
(1)

Your tags: Add your first tag
 

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
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject