Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I code in .NET/C# for Microsoft Dynamics AX?

I am a C# developer and want to start learning Dynamics AX. Please guide me can I use my .net/C# skills (knowledge of API) in Dynamics AX ?

I know AX is developed in X++ but some one tell me it is possible.

Kindly guide me does AX have a web interface or just it is a desktop application.

like image 342
haansi Avatar asked Feb 01 '11 03:02

haansi


People also ask

Can I use .NET with C?

. NET Framework is an object oriented programming framework meant to be used with languages that it provides bindings for. Since C is not an object oriented language it wouldn't make sense to use it with the framework.

Does .NET have coding?

NET applications are written in the C#, F#, or Visual Basic programming language. Code is compiled into a language-agnostic Common Intermediate Language (CIL). Compiled code is stored in assemblies—files with a . dll or .exe file extension.

Does .NET use C++ or C#?

. NET (pronounced dot net) is a framework that provides a programming guidelines that can be used to develop a wide range of applications–––from web to mobile to Windows-based applications. The . NET framework can work with several programming languages such as C#, VB.NET, C++ and F#.

Is C# NET a programming language?

C# (pronounced "C sharp") is a simple, modern, object-oriented, and type-safe programming language. Its roots in the C family of languages makes C# immediately familiar to C, C++, Java, and JavaScript programmers.


2 Answers

In August 2011, Dynamics AX 2012 was released.
It supports .NET now, so you can develop in Visual Studio and any .NET language now.

Read this blog post from the Dynamics AX team for an introduction:
Welcome to Visual Studio and .NET developer community

Here is a code example from MSDN:
Walkthrough: Integrate an Application with Microsoft Dynamics AX Using .NET Business Connector [AX 2012]

You can find a lot more information at the Dynamics AX Developer Center.


They started working on the .NET integration already years ago. Here is a Channel 9 video from 2009 about it:
Peter Villadsen and Gustavo Plancarte: X++ to MSIL

Quote from the link:

The new feature Peter and team have developed is a tool to generate managed code from the X++ intermediate language produced by the X++ compiler. This will have profound impact on the performance of the business applications written in X++, and it very clearly points to where they'll be going in the next few releases of Dynamics Ax.

like image 140
Christian Specht Avatar answered Sep 30 '22 01:09

Christian Specht


X++ is an object-oriented language with similarities to C#. X++ is part of the MorphX development platform that you use to construct accounting and business management systems.

A quick look at MSDN Doc. will reveal similarities and how it is used.

The syntax is much similar to C# so there won't be a steep learning curve for going with this language.

  • You can integrate it with other applications by using Business Connector.

  • You can also call managed code like C# in your X++ app by using CLR Interop. However its not possible opposite way. CLR interop works only in the direction where X++ code calls CLR managed assemblies. It does not support calling X++ classes from a CLR managed assembly.

like image 33
Shekhar_Pro Avatar answered Sep 30 '22 02:09

Shekhar_Pro