[responsive-menu menu="HamburgerMenu"]

Integrate Azure Search to Cortana

Cortana is amazing. But in some cases (a shop site, for example), an application as lots of data and they change often. It would be interesting if Cortana could search on these data, stored in the cloud. Azure Search is made for that. Then… what if we integrate Azure Search in Cortana? Azure Search, what is it ? Azure Search, a search service [...]

Integration of an application to Cortana

Windows 10 greatly improves Cortana, in particular by enabling an application to integrate with it. What I mean is now we can interact with an application in the interface of Cortana, without launching the application itself (you must create a background task. It is this task that Cortana will start and will interrogate) Of course, this is limited, [...]

Create a panel to give all GridView items the maximum width/height

I found myself still recently facing a standard problem using a GridView (note: it is just as valid for the ListView). The items of the list contained a text which can be small or long, giving something like this: Great. By default, GridView takes the size of the first item as the size for all items. To work around this, I’ll create my own class [...]

Customize default theme for Universal App 8.1

  Very busy days, just a small trick this time. You can customize easily the default theme for Universal app. The theme ressource is not showing in Blend, but you can find it in the Windows Kit directory: Check for c:\Program Files (x86)\Windows Kits\8.1\Include\winrt\xaml\design\ . You will see two files : themeresources.xaml and Generic.xaml. [...]

Sharing files in Windows 10

There is a new way of sharing files in Windows 10. You can still share with the Share Contract, but there is also a way to share using a token. The principle : An application add one of its file to its shared file list. It receive a token for that file The application send the token (using uri activation for instance. Or any other way you can imagine, [...]

Playing with MS Band SDK

The Band SDK is out since a few weeks. Finally, I was waiting for it since I got the Band (Beginning of November, during the MVP Summit). I was a bit disappointed because you can’t write “real” Band app, but I understand. It is the first version of the device, I hope for the next ones, we will be able to do more. With this SDK, we can do 3 big [...]

Changing app theme on the fly with RequestedTheme

  Windows 8.1 (and WP 8.1 XAML and Universal apps) have this new XAML markup : ThemeResource To make it short, it is like the StaticResource but with a little bit of dynamism. If you change the theme at runtime, the property will be updated. A theme is just a resource dictionary with a specific key (Valid key, for Universal Apps are “Light” and [...]

Font not showing in Windows 8 app

A few weeks ago, I had to integrate some fancy fonts in an app. Out of the 10 fonts, 1 or 2 had some problem : they didn’t show on the screen. Instead I had the regular font. The problem was the family name. I checked the family name with the font installer software : So I put it in my C# like this : DestinationTextBox.FontFamily = new FontFamily("/Assets/Ming [...]

Imaging SDK 1.1 : Bokeh

One of the novelties of the Imaging SDK 1.1 is the Bokeh effect (Wikipedia). I’ll talk about the effect as such. For the use of masks (KernelMap), this will be for the next article. The Bokeh effect is a kind of blur, with “spots” whose shape depends on the lens shape. An image (two, actually, considering it’s a comparison) will [...]

Imaging SDK 1.1 : Bokeh Kernel map

  The previous article was talking about the Bokeh effect itself, here I’ll talk about the Kernel map that can be applied to it. Basically, a Kernel map is a grayscale mask. Each level corresponds to a Kernel (255 is reserved for focus: this part of the image will not be blurred). That is why there is a constructor of the LensBlurEffect class [...]