AX + LINQ + WPF

All technologies mentioned in the title – Dynamics AX, LINQ (Language Integrated Query) and WPF (Windows Presentation Foundation) – are quite complex and it may sound strange to mix them together. But I want to show how they can be used to make complicated things simpler. We’ll create a simple WPF application showing data from …

Continue reading ‘AX + LINQ + WPF’ »

Memory profiling

Dynamics AX offers many ways how to call .NET code, use .NET GUI components and so on. That’s absolutely fantastic – it gives us easy ways to reuse existing .NET types and frameworks or simply to write a solution in the best fitting language. But as always: “With great power comes great responsibility”. One potential …

Continue reading ‘Memory profiling’ »

Binary data in AX2012

For a manipulation with binary data (e.g. binary files including images, serialized objects etc.), AX particularly offers classes BinData, BinaryIo and Binary. While the first two ones are the same in AX2012 as in AX2009, Binary got few new a useful methods: public static Binary constructFromContainer(container _data) public static Binary constructFromMemoryStream(CLRObject _memoryStream) public container getContainer() …

Continue reading ‘Binary data in AX2012’ »

Tutorial: WPF User Control for AX2012

One of many new features in Dynamics AX 2012 which bring fantastic new possibilities is the ability to host managed UI controls, both from Windows Forms and WPF. Microsoft made a great effort to integrate the .NET environment and AX, not only from a run-time perspective but also for developers, easy event handling and so …

Continue reading ‘Tutorial: WPF User Control for AX2012’ »