Windows 10 UWP programming utilities and tips

In the following I put some programming utilities and tips I used: it was a private post but I decided to makes it public so, may be,  it could be useful to someone else (even though it is not a well structured post 😦 … sorry for that!)


Two hidden gems in the Universal Windows Platform (from Minerva’s blog):

  • No more need of a BooleanToVisibilityConverter class: if we use the {x:Bind} markup extension (that was first introduced in the initial release of Windows 10), we can cast a Boolean property to a Visibility value directly in the XAML definition:
<Image Source="Assets/Favorite.png"        Visibility="{<strong>x:Bind (Visibility)</strong>ViewModel.IsFavorited}" />
<ListView ItemsSource="{x:Bind ViewModel.Samples}">
            <ItemsStackPanel <strong>ItemsUpdatingScrollMode="KeepLastItemInView"</strong> />


How to generate C# classes form JSON (or XML)

Download Web Essentials from the Visual Studio Gallery

To inspect JSON: Fiddler with JSONViewer plugin.

Quickly generate C# classes from JSON response (Download Web Essentials from the Visual Studio Gallery)


Past Special Past JSON Classes


If you have Web Essentials in Visual Studio, go to Edit => Paste special => paste JSON as class.

Other options are:



Informazioni su Enzo Contini

Electronic engineer
Questa voce è stata pubblicata in Windows, Windows Phone/Mobile. Contrassegna il permalink.

Lascia un Commento/Leave a comment

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:


Stai commentando usando il tuo account Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...