ztirom Blog

AX2012 Threading Slow Method

Simple Threading in AX 2012

In this post I want to show, how easily you can utilize the Thread class in AX 2012. Simple Thread example First we want to setup a new class. Next we want to add two static methods, one “slow” method which will use a sleep to simulate a lengthy runtime and one “fast” method. The idea here is that...

Azure set CDN Profile

Add Azure CDN to your WordPress Site

Serving static files from a CDN (Content Delivery Network) has various benefits for a website. As your visitors loading your static files, like images, js and css from a different server then yours and often directly from their region, the load time can improve a lot. Your serves payload goes down as well. Setup a CDN on Azure Utilizing...

Get the client name of your (rdp) maschine

Get the Client Name of your (Remote) Machine in AX2012

In this short post I want to highlight how you can get the name of the client which is connected to AX 2012, even if you run your session via a RDP connection. For this purpose I wrote a small Job, that outputs the client name in an Infolog. Code The first Info invokes the static global method...

Get User, Company and System Language in AX2012

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

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

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

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