web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

C# terminology vs DAX for .Net developers.

(0) ShareShare
ReportReport
Posted on by 840

Can anyone throw some light about DAX terms which map to C# as this will be easy for .net developers to understand.

For example:

What is something like dll in c# map to in DAX.

What about UI Layer, Bus Layer, DAL.

Any help will be appreciated.

Thanks,

N

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    Well, you should first understand what things can be compared at all. For example, DLL files - it's a bit like comparing car and airplane and ask what it car's equivalent of wings.

    You still can ask how AX code is deployed, but the question "What is something like dll in DAX?" makes no sense. Or - from different point of view - the answer can be "No difference", because AX itself uses/generates .NET assemblies (for service references, web portal controls, X++ code compiled to CIL etc.).

    It's also highly questionable what it UI layer or DAL in C#. There is nothing like that in the language itself, it all depends on what framework you use.

    Feel free to ask about thing that you don't understand, but don't expect to get full explanation of difference between car and airplane here. Also, please let us know what version of AX you're interested, especially the last version have changed many things.

    To get the basic idea about what Dynamics AX is, you can use many on-line resources, for example MSDN library. If you're serious about AX, you should obtain a book called "Inside Microsoft Dynamics AX" as soon as possible. (The version for AX4 is even free; it still may be useful to get basic feeling.)

  • Navin Pathuru Profile Picture
    840 on at

    Thanks for your response Martin.

    Sorry if it appears like i am comparing apples to oranges.

    Here is the context  of the question or where i came from:

    Lets say you want to access all the records in CustTable in DAX 5.0

    I was wondering if i need to create CustBusiness class as the first step and treat it as my business object in which i would communicate with CustTable and extract and manipulate the data and expose it to my UI and other clients.

    I was wondering if this kind of practise is followed in DAX as this is how we follow in a .net applications.

    By doing it like this i was thinking my CustTable is my Data object and CustBusiness as my BO.

    Also from a deployment perspective i was wondering if each project we create in DAX is similar to projects in .Net and at the time of deploying in .Net just as we deploy the aspx, and dll files i wanted to get a quick understanding of what were the files in DAX.

    Thanks,

    N

  • Verified answer
    Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    In .NET, if you don't use an entity class or so, you wouldn't have anything to work with, because you can't access database objects directly. The situation in AX is similar - what you can see as "tables" in AX are actually classes, not database tables (database tables are generated based on these classes). They're usually used directly and AX treats them in a special way (form controls can bind to them, for example).

    Projects in AX are just groupings of elements; projects in Visual Studio do much more (the project file is, basically, MSBuild definiton) and they are often interchanged with assemblies - there is nothing like that in X++. AX code is usually deployed as whole layers (.ald files), or exported/imported via .xpo files. It has changed by model stores in AX2012...

    Also, AX uses a lot of .NET components like SSRS reports, ASP.NET controls etc. which are developed as usual, but their deployment as part of AX is usually somewhat special.

  • NR-11010513-0 Profile Picture
    2 on at

    X++ / C# comparisons:

    msdn.microsoft.com/.../cc967357.aspx

  • Navin Pathuru Profile Picture
    840 on at

    Thanks Martin.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans