GURUUMEDITATION

Astuce
3 May, 2016

vstest.console.exe tfs logger unauthorized access

I had a small problem a few days ago with my unit tests. I run them by hand with vstest.console.exe and sends it the direct relationship to VSTS using the /logger:TfsPublisher switch. Everything was fine until, suddenly, the drama. Unable to publish : vstest.console started to have a problem each time: “Error: Exception occurred while initializing [...]

Astuce
27 Mar, 2016

Dynamically change the language of a universal app

When writing a multi-language application, it is always nice to offer the user the choice of the language used. It’s even more fun when this is done on the fly, without having to restart the application, let’s see how. Change the language Not too complicated. Let’s just change the language of the application through the property PrimaryLanguageOverride [...]

Astuce
25 Nov, 2015

Debug made (almost) easy with DebugProxy

Dammit, an article that does not speak of mobile! With such a console application! Nothing goes right anymore in this world… No, I don’t change expertise, but, for once, this is a pure c# article, valid for any project, so for convenience I went in console mode. Debuging is sometimes…tedious Often, in fact. If you find values in complex [...]

Astuce
19 Nov, 2015

Clipping XAML controls

For an application (RPG Dice) I had to make an animation where a text is “disapearing” when moving below a line. Like this : The problem is most of the control don’t clip their content. So, if we animate it, we got something like this : How do we clip, then? Well the solution is simple. FrameworkElement has a Clip property. It is a rectangle, [...]

Astuce
9 Sep, 2015

Using DeviceFamily to create device adaptive layouts

An UWP application can run on a huge range of devices. And screens. From a small screen of a few centimeters to the Surface Hub over-the-top-screen. Of course, Microsoft provided to us, modest developers some tools on WinRT for adaptive design. The StateTrigger (which will be the subject of an article soon), comes to mind. But sometimes, for one reason [...]

Cortana
7 Aug, 2015

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 [...]

Cortana
22 Jul, 2015

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, [...]

Raspberry
10 Jul, 2015

I/O I²C with Windows 10 IoT, Raspberry Pi 2 and the temperature sensor BMP180

After playing with the very classic digital serial communication, let’s take a look at the I²C I²C ? But that is what the I²C? It is a communication protocol created by Phillips in the early 1980s. Among the drawbacks of the serial communication is the fact that it is asynchronous and participants should agree on transfer speed, therefore [...]

Raspberry
9 Jul, 2015

Analog I/O on Windows 10 IoT Raspberry Pi 2 and ADS1115 converter

This is the final part on the I/O of Raspberry Pi. There are a lot of good quality and cheap sensors for Arduino. The problem is that some are analog, and the Raspberry Pi 2 has no analog pin. Are we doomed? No, it is a fairly standard case and some company selling components that make analog to digital conversion. I will speak of one of these components, [...]

Raspberry
8 Jul, 2015

Digital I/O with Windows 10 IoT, Raspberry Pi 2 and the Ultrasonic Ranging Module HC – SR04

I finally had a little time to play with Windows 10 IoT and Raspberry Pi 2, I take this opportunity to share my experience. In this article, I will talk about the digital I/O. For the I2C and analogs I/O, this will be for next 2 articles. I wanted a sensor where I have also send date to show digital output. While searching through my components box, [...]