[HOWTO] React to Unhandled Exceptions in UWP

While developing an UWP application I wanted to log unhandled exceptions. My coach mentioned that in WPF you can register a exception handler to handle unhandled exceptions globally. In UWP it works exactly the same way. Add Unhandled Exception Handler NOTE: This solution does not prevent your app from crashing and exiting. This solution only […]

[HOWTO] Control the GPIO Interface of a Raspberry Pi 3 using UWP

In a project of ours I stumbled across the topic on how to control the GPIO interface of a Raspberry Pi 3 using the Windows.Devices.Gpio namespace. The mentioned namespace contains a class called GpioController. This class enables you to establish connection to any pin on the Raspberry Pi. You have to use the static method […]

Install Log4Net on UWP Application

As I was working on a project, I had to check if we can use Log4Net for an UWP Application which will run on a Windows 10 IoT device. For setting up the UWP Application, I used Visual Studio 2015 Community Edition. In the new project dialog I chose Blank App (Universal Windows) and used […]

Fix Null Reference Exception in XAML Designer

During developing a user control for a WPF UI I encountered a strange null reference exception in the XAML designer. Strange thing was, that when I started the application and switched to the control which contained the user control, everything worked fine. I could’ve just ignored this problem. However since it is very inconvenient writing […]

[HOWTO] Load data from OData API into Excel

While I was working with Excel of Office 365 I wanted to load and evaluate data from one of our Odata services we implemented. Suddenly I faced a strange issue: We couldn’t get data from the Data Model. Here’s the error message we got: Either the dimension with the ID of ‘Jobs_deaddead-dead-dead-dead-deaddeaddead’ does not exist […]

How SSL Certificates work

A so called SSL Certificate is used to verify the security of a website. With such a certificate the communication between a client and a webserver can be secured by encrypting the communication so that no one outside of the connection can read the data which is transferred between them. This is used to make […]

d-fens Hackathon 2016

On Monday and Tuesday, the 21st and the 22nd of November, our company organized an event. A Hackathon. What’s a Hackathon? “A hackathon (also known as a hack day, hackfest or codefest) is a design sprint-like event in which computer programmers and others involved in software development, including graphic designers, interface designers, project managers, and […]

Windows PowerShell on Linux Ubuntu 14.04

Microsoft finally open sourced and ported Windows PowerShell to Linux. As we use Windows PowerShell quite often in our daily business we decided to check out and test PowerShell on Linux. I was the happy one, who got the task to try it out. Setup For the try out I created a new virtual machine […]

[HOWTO] Publish PowerShell Module to PowerShellGallery with TeamCity 9.x

Hi I’m Steven Pilatschek, apprentice of the d-fens GmbH. I started my apprenticeship in August 2015. The first year of my apprenticeship I participated a program in a training center. Since August 2016 I’m working at d-fens. Introduction As a first task I had to extend the existing build configurations of our PowerShell modules on […]