Welcome to MSDN Blogs Sign in | Join | Help

.net ready !!!

        Maxime Lamure
          MCS France
FishBowl : votre application Facebook pour windows 7 en WPF

Les équipes UXLabs de Microsoft viennent de sortir une application qui met en avant les nouvelles fonctionnalités de WPF et son intégration avec Windows 7. Et pour cela, quoi de mieux qu’une application Facebook :-)

image

En dehors du côté fun, cette application illustre le potentiel de WPF pour le développement de vos applications clientes. On peut noter les points suivants :

Pour plus d’info et pour télécharger l’appli : http://www.fishbowlclient.com/

Le code source est dispo ici: http://fishbowl.codeplex.com/SourceControl/changeset/view/41326#

image

Silverlight 4 béta est disponible !!!
sl4bloglogo

 

A peine quelques mois après la sortie officielle du Silverlight 3, Scott Guthrie a annoncé aujourd’hui la sortie de Silverlight 4 beta 1 lors de la PDC. Et ce qu’on peut dire, c’est que cette version est extrêmement riche en terme de fonctionnalités :

  • Tooling
  • Printing API
  • Right-click event handling
  • Webcam/microphone access
  • Mouse wheel support
  • RichTextArea Control
  • ICommand support
  • Clipboard API
  • HTML Hosting with WebBrowser
  • Elevated trust applications
  • Local file access
  • COM interop
  • Notification (“toast”) API
  • Network authentication
  • Cross-domain Networking changes
  • Keyboard access in full screen mode
  • Text trimming
  • ViewBox
  • Right-to-left, BiDi and complex script
  • Offline DRM
  • H.264 protected content
  • Silverlight as a drop target
  • Data binding
    • IDataErrorInfo and Async Validation
    • DependencyObject Binding
    • StringFormat, TargetNullValue, FallbackValue
  • Managed Extensibility Framework (MEF)
  • DataGrid enhancements
  • Fluid UI support in items controls
  • Implicit theming
  • Google Chrome support

Pour plus d’info sur ces fonctionnalités, je vous recommande le post de Tim Heuer sur le sujet : http://timheuer.com/blog/archive/2009/11/18/whats-new-in-silverlight-4-complete-guide-new-features.aspx

Pour télécharger le runtime: Windows ou Mac.

Le site officiel : http://silverlight.net

Silverlight 4 beta is available!!!
sl4bloglogo

 

A few months after the release of Silverlight 3, Scott Guthrie announced the availability of Silverlight 4 Beta at the PDC. And what we can say, it’s that this version is full of features that the community has been asking for:

  • Tooling
  • Printing API
  • Right-click event handling
  • Webcam/microphone access
  • Mouse wheel support
  • RichTextArea Control
  • ICommand support
  • Clipboard API
  • HTML Hosting with WebBrowser
  • Elevated trust applications
  • Local file access
  • COM interop
  • Notification (“toast”) API
  • Network authentication
  • Cross-domain Networking changes
  • Keyboard access in full screen mode
  • Text trimming
  • ViewBox
  • Right-to-left, BiDi and complex script
  • Offline DRM
  • H.264 protected content
  • Silverlight as a drop target
  • Data binding
    • IDataErrorInfo and Async Validation
    • DependencyObject Binding
    • StringFormat, TargetNullValue, FallbackValue
  • Managed Extensibility Framework (MEF)
  • DataGrid enhancements
  • Fluid UI support in items controls
  • Implicit theming
  • Google Chrome support

For more information on these functionalities, you can read the Tim Heuer post about that: http://timheuer.com/blog/archive/2009/11/18/whats-new-in-silverlight-4-complete-guide-new-features.aspx

To download the runtime: Windows or Mac.

The official web site: http://silverlight.net

Le SDK de Microsoft Surface est maintenant public

Les ressources techniques autour de Microsoft Surface sont maintenant publiques. Vous pouvez trouver sur le site officiel :


logo_transparent1

Le site officiel : http://www.microsoft.com/surface/Pages/Technical/Learn.aspx

Microsoft Surface SDK Is now public

Surface technical resources are now public. You can find on the official Web Site:


logo_transparent1

The official Web Site: http://www.microsoft.com/surface/Pages/Technical/Learn.aspx

Add easing effects on your animations with WPF 4 easing functions

One of the new features of WPF 4 is the presence of easing functions. Already available with Silverlight 3, these functions allow you to play with acceleration or deceleration on your animations. The following sample illustrates how to add elastic behavior on image size animation.

<Image x:Name="MyImage" Source="Desert.jpg" Width="100" Height="100" Stretch="UniformToFill">
          <Image.Triggers>
              <EventTrigger RoutedEvent="Image.MouseLeftButtonDown">
                  <BeginStoryboard>
                      <Storyboard>
                          <DoubleAnimation
                              Storyboard.TargetName="MyImage"
                              Storyboard.TargetProperty="Width"
                              From="100" To="200" Duration="0:0:1" >
                              <DoubleAnimation.EasingFunction>
                                  <ElasticEase Oscillations="3" EasingMode="EaseOut"/>
                              </DoubleAnimation.EasingFunction>

                          </DoubleAnimation>
                          <DoubleAnimation
                              Storyboard.TargetName="MyImage"
                              Storyboard.TargetProperty="Height"
                              From="100" To="200" Duration="0:0:1" > 
                               <DoubleAnimation.EasingFunction>
                                  <ElasticEase Oscillations="3" EasingMode="EaseOut"/>
                              </DoubleAnimation.EasingFunction>
 
                          </DoubleAnimation>
                      </Storyboard>
                  </BeginStoryboard>
              </EventTrigger>
          </Image.Triggers>
      </Image>

An easing function applies formula to obtain an acceleration or deceleration effect. A “mode” option allows you to set when to apply the formula: at the beginning (EaseIn), at the end (EaseOut) or both (EaseInOut).

For our sample, the following graph demonstrates the different values of EasingMode, where f(t) represents the animation progress and t represents time (msdn source).

By default, WPF 4 contains the following functions:

  • BackEase
  • BounceEase
  • CircleEase
  • CubicEase
  • ElasticEase
  • ExponentialEase
  • ExponentialEase
  • PowerEase
  • QuadraticEase
  • QuarticEase
  • QuinticEase
  • SineEase

For more information about easing functions: http://msdn.microsoft.com/en-us/library/system.windows.media.animation.easingmode(VS.100).aspx

The source code is available here:

Ajouter des effets d’accélération sur vos animations avec les « easing functions » de WPF4

Une des nouveautés de WPF 4 est la présence des « easing functions ». Déjà présentes avec Silverlight 3, ces fonctions permettent de jouer sur les effets d’accélération de vos animations. L’exemple ci-dessous permet, par exemple, d’ajouter un effet élastique lors de l’agrandissement d’une image :

  <Image x:Name="MyImage" Source="Desert.jpg" Width="100" Height="100" Stretch="UniformToFill">
          <Image.Triggers>
              <EventTrigger RoutedEvent="Image.MouseLeftButtonDown">
                  <BeginStoryboard>
                      <Storyboard>
                          <DoubleAnimation
                              Storyboard.TargetName="MyImage"
                              Storyboard.TargetProperty="Width"
                              From="100" To="200" Duration="0:0:1" >
                              <DoubleAnimation.EasingFunction>
                                  <ElasticEase Oscillations="3" EasingMode="EaseOut"/>
                              </DoubleAnimation.EasingFunction>

                          </DoubleAnimation>
                          <DoubleAnimation
                              Storyboard.TargetName="MyImage"
                              Storyboard.TargetProperty="Height"
                              From="100" To="200" Duration="0:0:1" >
                              <DoubleAnimation.EasingFunction>
                                  <ElasticEase Oscillations="3" EasingMode="EaseOut"/>
                              </DoubleAnimation.EasingFunction> 
                         
</DoubleAnimation>
                      </Storyboard>
                  </BeginStoryboard>
              </EventTrigger>
          </Image.Triggers>
      </Image>

Une « easing function » applique une formule afin d’obtenir un effet d’accélération ou de décélération. Un mode permet de spécifier à quel moment est appliquée la formule : au début (EaseIn), à la fin (EaseOut) ou les deux (EaseInOut).

Pour notre exemple, voici les courbes correspondantes avec f(t) qui représente la progression de l’animation et t le temps (source msdn).

clip_image001

Voici la liste des fonctions disponibles:

  • BackEase
  • BounceEase
  • CircleEase
  • CubicEase
  • ElasticEase
  • ExponentialEase
  • ExponentialEase
  • PowerEase
  • QuadraticEase
  • QuarticEase
  • QuinticEase
  • SineEase

Pour plus d’informations sur ces fonctions : http://msdn.microsoft.com/en-us/library/system.windows.media.animation.easingmode(VS.100).aspx

Le code source est dispo ici :

Evénements WPF et Silverlight sur Paris

En cette rentrée, deux événements s’organisent autour des technologies RIA et RCA de Microsoft :

24 septembre – Have You Seen the light : Soirée communautaire avec des conférences sur Silverlight 3, Expression 3, Jeux, concours, Cockatail … Pour l’inscription, c’est ici : http://communaute-fbnews.eventbrite.com/

1er Octobre  - Industrialisation des développements N-tiers avec WPF et Silverlight : Conférence sur les nouvelles briques de développements .net (RIA Services, Prism). Pour plus d’info sur ce sujet, le poste de Mitsu, speaker à cet événement : http://blogs.msdn.com/mitsufu/archive/2009/09/04/mdd-industrialisation-des-d-veloppements-n-tiers-avec-wpf-et-silverlight.aspx et le lien direct vers la page d’inscription : http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032425797&Culture=fr-FR

Développez vos applications IPhone en .net avec MonoTouch

Avec MonoTouch, vous pouvez maintenant développer et exécuter vos applications .net sur IPhone ou sur IPod Touch. MonoTouch est une version spécifique de Mono (http://www.mono-project.com/Main_Page) pour ces périphériques. Pour plus d’information : http://monotouch.net/

Sachez qu’il est également possible de développer des applications .net sur Windows Mobile avec le .net compact Framework (http://msdn.microsoft.com/en-us/windowsmobile/bb264329.aspx) et vous pouvez publier vos applications sur le marché Windows Mobile (http://developer.windowsmobile.com/). Pour plus d’information sur le développement Windows Mobile, suivez le blog de Pierre : http://blogs.msdn.com/pierreca/

Build your IPhone App in .net with MonoTouch

With MonoTouch, you can now develop and run your .net applications on IPhone and IPod Touch. MonoTouch is a specific version of Mono (http://www.mono-project.com/Main_Page) for these devices. For more information: http://monotouch.net/
Know that you can develop .net application on windows Mobile with the .net Compact framework (http://msdn.microsoft.com/en-us/windowsmobile/bb264329.aspx) and store your application on the Windows Mobile Market Place (http://developer.windowsmobile.com/).

Windows 7 and Windows Server 2008 R2 are RTM

Windows 7 and Windows Server 2008 R2 are RTM !!! You can watch the RTM announcement by Steven Sinofsky during the Microsoft Global Exchange event on the following video:


Windows 7 Sneak-Peak from MGX
Partage de ressources entre Silverlight et Windows Presentation Foundation

Cet article, coécrit avec Luc VoVan (http://blogs.msdn.com/luc), présente différentes solutions liées aux problèmes de partage de ressources et de code source entre une application WPF et Silverlight.

N’hésitez pas à donner votre avis sur cet article ou partager votre retour d’expérience.

Lien direct pour le télécharger :

Guidance on Differences Between WPF and Silverlight

WPF and Silverlight are both XAML based platforms but there are some important functionality and implementation differences between the two. A guidance about these differences was posted on codeplex here: http://wpfslguidance.codeplex.com/

A new fix to improve display performances of the WPF deginer from Visual Studio 2008 SP1 / Un nouveau correctif pour améliorer les performances d’affichage du designer WPF avec Visual Studio 2008 SP1

[English]

During your WPF development with Visual Studio 2008 SP1, you may encounter the following error: the IDE stops responding and you receive a message in the notification area: "Microsoft Visual Studio is Busy".

In this case, know that a Fix has just been release on this link: http://support.microsoft.com/kb/963035/en-us

[Français]

Au cours de vos développements WPF dans Visual Studio 2008 SP1, il est possible que lorsque vous ouvrez un fichier XAML en mode « designer », l'IDE cesse de répondre et un message se trouve dans la zone de notification: «Microsoft Visual Studio est occupé».

Si vous avez déjà rencontré ce problème, sachez qu’un correctif vient juste de sortir à l’adresse suivante : http://support.microsoft.com/kb/963035/fr

Test your web site compatibility with SuperPreview / Tester la compatibilité de votre site web avec SuperPreview

[English]

Microsoft Expression WEB SuperPreview is a stand-alone application which shows your web pages rendered in Internet Explorer.

This tool is very useful to identify differences in layout depending of the web browser: From a web site, SuperPreview can highlight on conflicts html tags.

For more information, see the team blog post: http://blogs.msdn.com/xweb/archive/2009/03/18/Microsoft-Expression-Web-SuperPreview-for-Windows-Internet-Explorer.aspx

Direct link to download: http://download.microsoft.com/download/5/6/8/568F0D28-0434-4794-B7FC-FB293BCC98FB/SuperPreview_Trial_en.exe

[Français]

Microsoft Expression WEB SuperPreview est une application cliente qui va permettre d’afficher votre site web sous les différents moteurs d’Internet Exploreur.

Cet outil est très pratique pour identifier rapidement les différences de rendu en fonction du navigateur : A partir d’un site web, SuperPreview surligne les tags html qui sont sources de conflits.

Actuellement en version beta, il sera intégré dans la prochaine version de Microsoft Expression Web et pourra gérer les navigateurs web les plus populaires.

Pour plus d’informations, le blog de l’équipe expression : http://blogs.msdn.com/xweb/archive/2009/03/18/Microsoft-Expression-Web-SuperPreview-for-Windows-Internet-Explorer.aspx

Le lien pour télécharger la béta : http://download.microsoft.com/download/5/6/8/568F0D28-0434-4794-B7FC-FB293BCC98FB/SuperPreview_Trial_en.exe

More Posts Next page »
Page view tracker