Here is a small description of the new features in VS2008 Beta 2 for the smartdevice development (CF 3.5). You can download it here:
http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx
Nouveautés pour la création de projets mobile:
New projects wizard for mobile applications:
Vous pouvez choisir la plate-forme et la version du Compact Framework désiré.
You can choose the platform and the Compact Framework version you want.
Compact Framework 3.5
Le CF 3.5 inclut les nouvelles fonctionnalités suivantes :
CF 3.5 includes the new following features:
- WCF (Windows Communications Foundation)
http://blogs.msdn.com/markprenticems/archive/2007/04/25/introduction-to-the-windows-communication-foundation-for-the-net-compact-framework-store-and-forward-messaging.aspx - LINQ (Language Integrated Queries)
http://msdn2.microsoft.com/fr-fr/netframework/aa904594.aspx - Améliorations dans les Windows Forms
Windows Forms the improvements :
Les utilisateurs peuvent ajouter des graphiques aux:
Users can now add graphics to:
o System.Windows.Forms.TabPage
o System.Windows.Forms.Panel
o System.Windows.Forms.Splitter
o System.Windows.Forms.PictureBox
Les propriétés System.Windows.Forms.ComboBox.SelectionLength sont maintenant supportées.
System.Windows.Forms.ComboBox.SelectionLength properties are now supported. - SoundPlayer
Le .NET Compact Framework 3.5 supporte la classe SoundPlayer dans le namespace System.Media, qui permet de jouer plusieurs sons.
The .NET Compact Framework 3.5 supports SoundPlayer in System.Media namespace, which enables you to play multiple sounds.
http://msdn2.microsoft.com/en-us/library/system.media.soundplayer_members(VS.90).aspx
Notez que la méthode Play joue le son dans un nouveau thread. Si vous appelez Play avant que le fichier de musique n'ait été chargé en mémoire, le fichier .Wav sera chargé avant que la lecture ne commence. Vous pouvez utiliser LoadAsync ou Load pour charger le fichier en mémoire par avance.
Note that the Play method plays the sound using a new thread. If you call Play before the .wav file has been loaded into memory, the .wav file will be loaded before playback starts. You can use the LoadAsync or Load method to load the .wav file to memory in advance. - Compression
Le Compact Framework 3.5 supporte les classes suivantes pour la gestion de la compression.
The .NET Compact Framework 3.5 adds support for the following classes in the System.IO.Compression namespace:
o System.IO.Compression.CompressionMode
o System.IO.Compression.DeflateStream
o System.IO.Compression.GZipStream
De plus, la propriété System.Net.HttpWebRequest.AutomaticDecompression est dorénavant supportée.
In addition, the System.Net.HttpWebRequest.AutomaticDecompression property is supported. - Les certifications coté client d'authentification des appels de Web Service sont supportées.
Client-side certificates are supported to authentificate Web Service calls. - Le CF 3.5 fournit des nouvelles informations concernant le type de plate-forme, notamment si c'est une plate-forme de type PPC ou Smartphone ou WinCE.
The .NET Compact Framework 3.5 provides new information about the platform type, specifically whether a platform is a Pocket PC or a Smartphone or Win CE.
La variable contenant ces informations est :
The variable containing this information is :
SystemSettings.Platform with an enumeration type:
o WinCEPlatform.PocketPC
o WinCEPlatform.Smartphone
o WinCEPlatform.WinCEGeneric - Les DelegatesSupport pour System.Delegate.CreateDelegate(System.Type,System.Object,System.Reflection.MethodInfo) ont été ajoutés au .NET Compact Framework 3.5.
DelegatesSupport for System.Delegate.CreateDelegate(System.Type,System.Object,System.Reflection.MethodInfo) has been added to the .NET Compact Framework 3.5.
http://msdn2.microsoft.com/en-us/library/74x8f551.aspx
There are a lot of new improvements and enhancements for mobile development that are really useful with VS 2008 Beta 2 and Compact Framework 3.5. As soon as you test it, do not hesitate to post your comments.
No comments:
Post a Comment