Skip to main content

Networking & WCF

  • Chapter
Introducing Visual C# 2010
  • 1670 Accesses

Abstract

In this chapter you looked at the .NET Framework class library facilities for networking. You learned how to use the WebClient class to retrieve data from HTTP servers, how to use the TcpListener, TcpClient, and UdpClient classes to perform connection-oriented and connectionless networking, how to use the Dns class to retrieve DNS information, and how to use the HttpListener class to create a simple web server.

You also took a quick tour of the Windows Communications Foundation, which supports C# object and value semantics across networks—something that requires a little more work, but makes the resulting program more robust and natural to work with.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Adam Freeman

About this chapter

Cite this chapter

Freeman, A. (2010). Networking & WCF. In: Introducing Visual C# 2010. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-3172-1_21

Download citation

Publish with us

Policies and ethics