Microsoft Dynamics Ax developer's blog

Thursday, August 31, 2017

New cloud architecture guides

MS has released new architecture guides revealing the vision how modern applications should work in cloud.

Also as there is a free course by famous Jeffry Richter about what is special in cloud that can be recommended to developers who want to get familiar with cloud concepts. 

Friday, July 10, 2015

DAX 2012 toolset

There is a project that combines most interesting known tools for Ax2012. In includes DEV_Toolbar for example.

Wednesday, November 19, 2014

Static code analysis using XLNT

In ax 2012 there is a code upgrade tool based on parser named XLNT - it allows to use syntax tree if X++ from .NET.

I have written a small example of static analysis for X++ based on that technology

It detects code patters that are likely to be copy-and-paste errors (when somebody copies code but forget to change something in a copy) like:

case X: some code
case X: some code

if (x) {


Tuesday, July 30, 2013

How to become an axapta administrator with powershell

$sid = [System.Security.Principal.WindowsIdentity]::GetCurrent().User.Value

osql -d AXDBDEV -p -E -Q "update userinfo set sid = '$sid', networkdomain = '$env:userdomain', networkalias = '$env:username' where ID = 'admin'"

Friday, April 27, 2012

Did you know, that you can drag and drop from debugger?

When I debug complex code, I open OneNote, dock it to the right border of screen and save some variables values from debugger there.
Previusly, I used copy and paste from "locals" or "watch" windows and it looked like there:






Today I've tried to drag&drop a value and it looked like there:

_closeAmountReporting 128.57   real

which is more compact and comfortable representation.

Monday, April 09, 2012

Code folding in ax 2012

As mentioned Martin Drab, editor extensions for VS 2010 work also in Ax 2012. Including code outlining example. Below is CustVendSettle.settleNow, lines 111 to 777: