lundi 6 octobre 2008

Powerful .Net Framework 3.5 new features I)

Time Zone Additions—There are two new types that help you work with applications
that need to understand multiple time zones. These classes are
System.DateTimeOffset and TimeZoneInfo. The DateTimeOffset structure represents
an exact point in time. The offset indicates how the time differs from UTC
(Universal Coordinated Time). You use this new class when you need precision and
date/time arithmetic.
The TimeZoneInfo class is a welcome enhancement that represents a date and time
in a given time zone. You can use this class to reliably represent the same date and
time in any other time zone. In addition, you can use the class to create custom
time zones if needed.
. Peer-to-Peer Networking Support—The .NET Framework finally has its own
peer-to-peer networking support. This can be found in the System.Net.PeerToPeer
namespace. With it, you can create an application that works without a server and
instead communicates from one client (peer) to another (similar to Microsoft’s
Groove application). Application scenarios supported by this new namespace include
tracking where peers are (online or offline), what they might be doing, interacting
(messaging) with peers, managing peer contacts, discovering new peers, and more.
. Sync Services for ADO.NET—Shipping with Visual Studio 2008 is Microsoft’s
Sync Services. With it you can build an application that works both online and
offline. These types of applications are referred to as occasionally connected applications
(OCA). You use Sync Services (and its related tools) to indicate which data
should be available when a user is offline. When connected, the Sync Services works
to synchronize user changes with database changes.

Aucun commentaire: