Зарегистрироваться | Сообщения за день | Поиск | Все разделы прочитаны |
Результаты опроса: Как вам визуализация AX7 | |||
нравится | 6 | 75.00% | |
не нравится | 2 | 25.00% | |
Голосовавшие: 8. Вы ещё не голосовали в этом опросе |
|
Опции темы |
19.02.2016, 10:58 | #1 |
Участник
|
Программирование AX 7
Всем привет.
Кто-то уже разбирался с Technical Preview Microsoft Dynamics 7 ? Не могу однозначно разобраться с разработкой: на чем будет вестись разработка : как и раньше на X++ или как и обещали C# и никакого CIL? |
|
19.02.2016, 12:16 | #2 |
MCT
|
X++ Changes
• What it was? (AX 2012)• Up until AX 2012, X++ source code was compiled into AX p-code, which was understood by the interpreter at run time. • Optionally, you could then compile the p-code into Microsoft .NET CIL. • The CIL code was usable only in limited cases, mainly for code executed in services and batch jobs. No more p-code, everything is .NET Framework CIL• In AX 7 the new X++ compiler generates CIL only • No more p-code • Compiled X++ code now runs exclusively as .NET CIL Benefits over p-code• CIL runs much faster in some common scenarios. • There is no longer any need for the AX .NET Business Connector, because the AX assemblies can be consumed directly (.NET Business Connector is deprecated). Enhancements to X++ New constructs in X++ that are available in C# and other mainstream .NET languages: • try … catch … finally o The statement provided in the finally clause are executed irrespective of whether the try block threw any exceptions. • The using keyword has been added as shorthand for referencing .NET namespaces. o You can now initialize a class’s field in the field’s declaration statement. • A class’s fields can now be static. In previous versions only instance fields were allowed. • A delegate can now be defined in a table, form, or query, and not just in a class. • Declare variables anywhere. Backward-incompatible changes to X++ • The following keywords are no longer part of the X++ language, and their use causes a compile error: o changeSite o pause o window • The two keywords client and server are now ignored. Their use does not cause a compile error, but they should not be used in any new X++ code. • CIL helper methods such as Global::runClassMethodIL have been removed. • AX 7 eliminates the concept of AOT > Jobs. In AX 7. Instead use static Main method of a class, and then set the class as the startup object from the AX 7 project. LINQ Provider for use in C# LINQ (Language Integrated Query) is a set of classes and methods that enable you to access data that is stored in a variety of places and formats. Data access from heterogeneous data sources: • In-memory object graphs • Active Directory entries • Flickr pictures and XML • SQL Server When very few records are fetched C# LINQ is three times longer than while select. When many records are fetch the total times are about the same between C# and X++. PS: запасайтесь Visual Studio и терпением )
__________________
Axapta book for developer |
|
|
За это сообщение автора поблагодарили: mazzy (2). |
19.02.2016, 14:18 | #3 |
Участник
|
Вот тут много инфы:
https://ax.help.dynamics.com/en/ Конкретнее про разработку: https://ax.help.dynamics.com/en/wiki...oncepts-guide/ |
|
19.02.2016, 18:26 | #4 |
Lean Six Sigma
|
Цитата:
на чем будет вестись разработка : как и раньше на X++ или как и обещали C# и никакого CIL?
|
|
|
За это сообщение автора поблагодарили: mazzy (2), MikeR (3), MazterHan (1). |
Теги |
ax7, ctp8 |
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|