Using Fiddler to simulate AAD failures with ADAL.js

Authentication can be hard. Getting your error handling logic right can be especially hard if you cannot easily reproduce the error conditions that one needs to handle. This article provides some background on the Implicit Grant flow with Azure Active Directory (AAD) as supported by ADAL.js, then shows how to use Fiddler to simulate various…

0

Scatter plots in PowerApps using a Gallery control

This article will show you how you can build custom data visualizations in PowerApps using only two controls: a Gallery, and a Circle. While PowerApps already supports Column charts, Line charts and Pie charts out of the box, there is currently no built-in way to render scatter plots. Note that the idea presented here is…

4

Text conversion power tool for Visual Studio Code – Inception

Last week I finally wrote a tool that I had been meaning to write for some time. Inception is an extension for Visual Studio Code that helps developers extract information contained in text with simple keystrokes and few clicks.   Get it here: https://marketplace.visualstudio.com/items?itemName=davidni.inception Source code: https://github.com/davidni/vscode-inception     What does it do? Inception contributes…

2

Advanced PowerApps visualizations with dynamic SVG’s

PowerApps brings you lots of built-in controls and ways to visualize your data with just a few clicks. Sometimes, however, you might want to build custom visualizations that are not quite achievable with only those controls. This article shows one way in which you can create your own custom visualizations. In particular, we will create…

3

Building an interactive calendar view with PowerApps

PowerApps has many built-in facilities to help you work with dates and calendars (click these links to learn more about the DatePicker control and the Date and DateTime functions 1, 2, 3). For some scenarios, however, you might want to customize the look and feel of those experiences beyond what is available out of the…

20

Source Maps under the hood – VLQ, Base64 and Yoda

Source Maps can be extremely useful whenever there is a preprocessor that modifies an input into its corresponding output. In such cases, a source map enables one to figure out the original location (line, column) that corresponds to a given location of the output (line, column), and vice-versa. This article discusses source maps, the problem…

3

WinRT XAML for Serious Beginners – The XML in XAML

What is XAML XAML is XML with a letter ‘A’ in it. Let’s learn XML first before we can add that very important ‘A’. It is important to note that XAML uses a feature of XML that many people are not familiar with: XML namespaces. Read on to see a very brief explanation of XML…

0

WinRT XAML for Serious Beginners – Tips for successful online searches

This is a very short post, but at the same time it might be the most valuable of all. As the old saying goes: “Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime.” This blog post does neither. But it…

0

WinRT XAML for Serious Beginners – Intro

Hello everyone. First of all, some context as to what I’m doing here. This is a first post in what I expect will be a series of posts covering multiple aspects of building modern Windows apps, both for desktop / tablets with Windows 8.1, as well as Windows Phone 8.1 devices. With that said, and…

0