ztirom Blog

Get User, Company and System Language in AX2012 0

Get User, Company and System Language via X++ in AX 2012

In this quick post I want to show you how to get the actual user language, the language of the current company and the system language in AX 2012 via X++. Languages in AX 2012 To get the actual company language you can call the static method languageId from the CompanyInfo table, which will return a LanguageId. (CompanyInfo::languageId –...

Azure Logic App Overview 0

Get notified per Mail by Azure Logic App when your Website is down

Today I want to demonstrate how one could monitor the online status of a website with the help of Azure Logic Apps. Please be aware that the steps I describe in this article may cost you money. Please see the Azure pricing page first. Azure Logic Apps are basically workflows that will help you to accomplish certain tasks in a...

Xamarin iOS Visual Studio Mac Simulator 0

Get Xamarin iOS up and running with VS 2015 and a Mac

Today I want to demonstrate how to setup Xamarin iOS in Visual Studio with the use of your Mac as a simulator for your iOS apps. First of all I assume that you already installaled Xamarin for Visual Studio, if not, please follow this documentation on MSDN. If you first create a new Xamarin iOS project, a message...

AX2012 AIF WCF Configuration 0

How to fix the MaxReceivedMessageSize error while using an AX2012 AIF service

The error message: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element. What is the cause? When you setup your AIF Service in AX2012 (basically a WCF service), you can also define an property called MaxReceivedMessageSize for your binding. The problem is, the MaxReceivedMessageSize...

Setup SSL Lets Encrypt HTTP HTTPS 0

Setup SSL on an Azure Ubuntu VM running Apache

Setting up an own SSL certificate was never easier and cheaper as nowadays. With Lets Encrypt free SSL certificates are just one Github repository away. In this post I want to show you, how to setup SSL for your Ubuntu VM on Azure, while running an Apache web server. As always before we begin, get the system up to date: Install...

Azure DNS zone 0

Create a DNS zone to point a custom domain to your Azure VM

If you have your own web server up and running on Azure, you surly want to add a custom domain to it at some point. Adding a custom domain on Azure was never easier than nowadays. To do so, you just have to create a new so called DNS zone, which is comparable with the Route 53 service from AWS....

Create an Azure IoT hub 0

Frist steps with Azure IoT Hub

While ordering the new Raspberry Pi 3 Model B today, I just looked into the Azure IoT Hub, tried it out and wrote down what I accomplished till now. If you are interested how I made my first steps with the Azure IoT, while implementing a device registration into ASP.net, just read on. Basically I followed the getting started...

Import PuTTY Keyfile 0

Create an OpenSSH pem Keyfile from a PuTTY ppk file

A few weeks ago I showed how to logon to a Linux Azure VM via PuTTY with a keyfile. Today I want to show how one can create an OpenSSH pem keyfile from a PuTTY ppk file, to use the key with ssh. What we need: PuTTY Key Generator a ppk keyfile Import your ppk keyfile First we need to...