Welcome to MSDN Blogs Sign in | Join | Help

October 2009 - Posts

Silverlight: accéder à des fichiers en dehors du répertoire ClientBin

Accéder à un fichier quelconque sur votre site web est une action très courante dans les scénarios RIA. C’est d’ailleurs très facile avec Silverlight, si vos ressources se situent dans le répertoire ClientBin , ou si vous disposez de l’URI absolue (complète)
Posted by lvovan | 0 Comments
Attachment(s): RelativeExternalUris_fr.zip

Silverlight: Accessing files outside of the ClientBin directory of your website using a relative URI

Accessing an arbitrary file on your website is a very common need in RIA scenarios. This is easily done from Silverlight when the files you are trying to access are under the ClientBin directory, or given an absolute URI path to the targeted file. Unfortunately,
Posted by lvovan | 0 Comments
Attachment(s): RelativeExternalUris_en.zip

The FormatConverter, and XamlParseExceptions in Microsoft Expression Blend

A converter we very often use and reimplement is the so-called FormatConverter, which takes a string as a value and uses with the converter’s parameter in a call to String.Format . This eases sometimes shortens the XAML by quite a bit when concatenating

Le FormatConverter, et les XamlParseException dans Microsoft Expression Blend

Un converter que l’on voit et réimplémente très souvent est le FormatConverter, qui consiste à prendre en entrée une chaîne et l’utiliser comme paramètre pour la méthode String.Format . Cela permet par exemple d’éviter une redondance de runs lorsque l’on

Différences de namescopes et DataContext entre WPF et Silverlight

Lors de l’implémentation d’un UserControl, vous aurez très souvent à databinder un objet déclaré en XAML à une ou plusieurs propriétés du UserControl lui-même. La façon la plus élégante de procéder consiste à utiliser un binding ElementName . < UserControl
Posted by lvovan | 0 Comments
Attachment(s): NameScopeExample.zip

WPF and Silverlight namescopes and DataContext differences

When authoring a UserControl, you will more often than not end up data binding properties of objects in your XAML file to properties of your UserControl itself. The most elegant way to do this would be without any code-behind at all, using ElementName
Posted by lvovan | 0 Comments
Attachment(s): NameScopeExample.zip

ParseException AG_E_PARSER_BAD_TYPE : les points &#224; v&#233;rifier

Lors de l'exécution d'une application Silverlight, il arrive parfois de rencontrer une ParseException(“AG_E_PARSER_BAD_TYPE”). Malgré sa description quelque peu crue, le message décrit bel et bien l'erreur rencontrée : un problème de type est survenu

The XamlParseException AG_E_PARSER_BAD_TYPE checklist

While running a Silverlight application, you might sometimes encounter the dreaded runtime ParseException(“AG_E_PARSER_BAD_TYPE”). Despite its rather crude description, the message actually means something close to the words it uses: during the XAML parsing
Posted by lvovan | 1 Comments
 
Page view tracker