Permalink
Fetching contributors…
Cannot retrieve contributors at this time
150 lines (110 sloc) 11.6 KB
title ms.custom ms.date ms.prod ms.reviewer ms.suite ms.tgt_pltfrm ms.topic dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
Network Programming in the .NET Framework
03/30/2017
.net-framework
article
VB
CSharp
C++
jsharp
Networking
Internet
Internet, .NET Framework Internet services
Network Resources
8d455610-67a0-4fa8-a62f-7747064a9256
24
mcleblanc
markl
markl

Network Programming in the .NET Framework

The Microsoft .NET Framework provides a layered, extensible, and managed implementation of Internet services that can be quickly and easily integrated into your applications. Your network applications can build on pluggable protocols to automatically take advantage of new Internet protocols, or they can use a managed implementation of the Windows socket interface to work with the network on the socket level.

In This Section

Introducing Pluggable Protocols
Describes how to access an Internet resource without regard to the access protocol that it requires.

Requesting Data
Explains how to use pluggable protocols to upload and download data from Internet resources.

Programming Pluggable Protocols
Explains how to derive protocol-specific classes to implement pluggable protocols.

Using Application Protocols
Describes programming applications that take advantage of network protocols such as TCP, UDP, and HTTP.

Internet Protocol Version 6
Describes the advantages of Internet Protocol version 6 (IPv6) over the current version of the Internet Protocol suite (IPv4), describes IPv6 addressing, routing and auto-configuration, and how to enable and disable IPv6.

Configuring Internet Applications
Explains how to use the .NET Framework configuration files to configure Internet applications.

Network Tracing in the .NET Framework
Explains how to use network tracing to get information about method invocations and network traffic generated by a managed application.

Cache Management for Network Applications
Describes how to use caching for applications that use the xref:System.Net.WebClient?displayProperty=nameWithType, xref:System.Net.WebRequest?displayProperty=nameWithType, and xref:System.Net.HttpWebRequest?displayProperty=nameWithType classes.

Security in Network Programming
Describes how to use standard Internet security and authentication techniques.

Best Practices for System.Net Classes
Provides tips and tricks for getting the most out of your Internet applications.

Accessing the Internet Through a Proxy
Describes how to configure proxies.

NetworkInformation
Describes how to gather information about network events, changes, statistics, and properties and also explains how to determine whether a remote host is reachable by using the xref:System.Net.NetworkInformation.Ping?displayProperty=nameWithType class.

Changes to the System.Uri namespace in Version 2.0
Describes several changes made to the xref:System.Uri?displayProperty=nameWithType class in Version 2.0 to fixed incorrect behavior, enhance usability, and enhance security.

International Resource Identifier Support in System.Uri
Describes enhancements to the xref:System.Uri?displayProperty=nameWithType class in Version 3.5, 3.0 SP1, and 2.0 SP1 for International Resource Identifier (IRI) and Internationalized Domain Name (IDN) support.

Socket Performance Enhancements in Version 3.5
Describes a set of enhancements to the xref:System.Net.Sockets.Socket?displayProperty=nameWithType class in Version 3.5, 3.0 SP1, and 2.0 SP1 that provide an alternative asynchronous pattern that can be used by specialized high-performance socket applications.

Peer Name Resolution Protocol
Describes support added in Version 3.5 to support the Peer Name Resolution Protocol (PNRP), a serverless and dynamic name registration and name resolution protocol. These new features are supported by the xref:System.Net.PeerToPeer?displayProperty=nameWithType namespace.

Peer-to-Peer Collaboration
Describes support added in Version 3.5 to support the Peer-to-Peer Collaboration that builds on PNRP. These new features are supported by the xref:System.Net.PeerToPeer.Collaboration?displayProperty=nameWithType namespace.

Changes to NTLM authentication for HttpWebRequest in Version 3.5 SP1
Describes security changes made in Version 3.5 SP1 that affect how integrated Windows authentication is handled by the xref:System.Net.HttpWebRequest?displayProperty=nameWithType, xref:System.Net.HttpListener?displayProperty=nameWithType, xref:System.Net.Security.NegotiateStream?displayProperty=nameWithType, and related classes in the System.Net namespace.

Integrated Windows Authentication with Extended Protection
Describes enhancements for extended protection that affect how integrated Windows authentication is handled by the xref:System.Net.HttpWebRequest?displayProperty=nameWithType, xref:System.Net.HttpListener?displayProperty=nameWithType, xref:System.Net.Mail.SmtpClient?displayProperty=nameWithType, xref:System.Net.Security.SslStream?displayProperty=nameWithType, xref:System.Net.Security.NegotiateStream?displayProperty=nameWithType, and related classes in the xref:System.Net?displayProperty=nameWithType and related namespaces.

NAT Traversal using IPv6 and Teredo
Describes enhancements added to the xref:System.Net?displayProperty=nameWithType, xref:System.Net.NetworkInformation?displayProperty=nameWithType, and xref:System.Net.Sockets?displayProperty=nameWithType namespaces to support NAT traversal using IPv6 and Teredo.

Network Isolation for Windows Store Apps
Describes the impact of network isolation when classes in the xref:System.Net, xref:System.Net.Http, and xref:System.Net.Http.Headers namespaces are used in [!INCLUDEwin8_appname_long] apps.

Network Programming Samples
Links to downloadable network programming samples that use classes in the xref:System.Net, xref:System.Net.Cache, xref:System.Net.Configuration, xref:System.Net.Mail, xref:System.Net.Mime, xref:System.Net.NetworkInformation, xref:System.Net.PeerToPeer, xref:System.Net.Security, xref:System.Net.Sockets namespaces.

Reference

xref:System.Net?displayProperty=nameWithType
Provides a simple programming interface for many of the protocols used on networks today. The xref:System.Net.WebRequest?displayProperty=nameWithType and xref:System.Net.WebResponse?displayProperty=nameWithType classes in this namespace are the basis for pluggable protocols.

xref:System.Net.Cache?displayProperty=nameWithType
Defines the types and enumerations used to define cache policies for resources obtained using the xref:System.Net.WebRequest?displayProperty=nameWithType and xref:System.Net.HttpWebRequest?displayProperty=nameWithType classes.

xref:System.Net.Configuration?displayProperty=nameWithType
Classes that applications use to programmatically access and update configuration settings for the System.Net namespaces.

xref:System.Net.Http?displayProperty=nameWithType
Classes that provides a programming interface for modern HTTP applications.

xref:System.Net.Http.Headers?displayProperty=nameWithType
Provides support for collections of HTTP headers used by the xref:System.Net.Http?displayProperty=nameWithType namespace

xref:System.Net.Mail?displayProperty=nameWithType
Classes to compose and send mail using the SMTP protocol.

xref:System.Net.Mime?displayProperty=nameWithType
Defines types that are used to represent Multipurpose Internet Mail Exchange (MIME) headers used by classes in the xref:System.Net.Mail?displayProperty=nameWithType namespace.

xref:System.Net.NetworkInformation?displayProperty=nameWithType
Classes to programmatically gather information about network events, changes, statistics, and properties.

xref:System.Net.PeerToPeer?displayProperty=nameWithType
Provides a managed implementation of the Peer Name Resolution Protocol (PNRP) for developers.

xref:System.Net.PeerToPeer.Collaboration?displayProperty=nameWithType
Provides a managed implementation of the Peer-to-Peer Collaboration interface for developers.

xref:System.Net.Security?displayProperty=nameWithType
Classes to provide network streams for secure communications between hosts.

xref:System.Net.Sockets?displayProperty=nameWithType
Provides a managed implementation of the Windows Sockets (Winsock) interface for developers who need to help control access to the network.

xref:System.Net.WebSockets?displayProperty=nameWithType
Provides a managed implementation of the WebSocket interface for developers.

xref:System.Uri?displayProperty=nameWithType
Provides an object representation of a uniform resource identifier (URI) and easy access to the parts of the URI.

xref:System.Security.Authentication.ExtendedProtection?displayProperty=nameWithType
Provides support for authentication using extended protection for applications.

xref:System.Security.Authentication.ExtendedProtection.Configuration?displayProperty=nameWithType
Provides support for configuration of authentication using extended protection for applications.

See Also

Network Programming How-to Topics
Network Programming Samples
Networking Samples for .NET on MSDN Code Gallery
HttpClient Sample