Friday, July 08, 2005

Programming System.NET in v2.0

Key points for System.Net in 2.0 are
- Network Awareness
- Enhanced Protocol Support
- Security

Network Awareness
==============

Supports through API the ability to detect a network, be informed of a network change etc. The API consists of the areas:
- NetworkInterface
- IPGlobalProperties
- Ping
- NetworkChange

The NetworkChange allows your app to 'adapt' to the fact that a network may or may not be available, or that you've changed from Corporate to Broadband to Wireless to Dial-up to nothing

Ping allows simple ping requests to be sent, checking server availability and roundtrip times

Cacheing is provided via policies, either i) Globally, ii) at a individual Request
And both programmatically or via Config

v2.0 shares the cache with IE via WinINet

v2.0 of the framework is now 'aware' of automatically detected settings and so can handle AutoProxy requests.

EnhancedProtocolSupport
==================

FTP support now through FTPRequest & FtpResponse
WebClient allows abstraction of protocols, api detected via URL

Demo's included Web Sever, Mail Client - all pretty straightforward but cool

He also showed the support for additional support such as NegotiateStream (authentication via SSL) and SSL Streams over a socket connection

0 Comments:

Post a Comment

<< Home