Инструменты пользователя

Инструменты сайта


axapta:ax2012

ВсеВерсии


http://msdn.microsoft.com/en-us/library/gg845327.aspx toc

Введение

Ниже приводится краткий обзор того, о чем стало известно на недавней технической конференции по Dynamics AX, прошедшей в Редмонде

http://www.microsoft.com/dynamics/dy...onContent.aspx

Сам я не смог уделить достаточно времени этой конференции, поскольку был очень занят на текущем проекте, но хочу выразить особую признательность Брэндону (#dynamicserp) и Харишу (#HarishM) за то, что они вели подробные записи в твиттере обо всем увиденном!

На основе этих записей я собрал и сгруппировал информацию о новой версии. Следите за обновлениями документации на PartnerSource и MSDN Developer Center - возможно, очень скоро там появится полная pdf-версия того, что здесь изложено. Когда она появится, я размещу здесь ссылку, а пока приведенная тезисная информация позволит вам получить общее представление о том, чего можно ожидать от следующей версии AX.

Доступность

Мы все сейчас знаем, Ax2012 станет общедоступной в третьем квартале этого года. RTM обычно происходит перед этим.

Реализовано более 1200 новых возможностей, на 140% больше тестовых примеров, собраны отзывы от 185 клиентов и партнеров, в команде разработчиков - люди 30 различных национальностей.

Большое внимание уделено гос.сектору, о чем уже во время вводной презентации было несколько раз заявлено.

Архитектура

Архитектура сегодняшних ERP-систем создана еще в 1980-х. Она недостаточно гибка и динамична для сегодняшних постоянно меняющихся потребностей бизнеса

Разработка для AX в VS на основе моделей. Более мощные абстракции данных, существенное улучшение взаимодействия с .NET

Уверенное заявление о том, что разработка на основе моделей должна будет начинаться в VS, а не в AX

Доступ к метаданным AOT непосредственно с помощью VS application explorer

Официально заявлено, что модели будут храниться в БД, причем на одном прикладном слое смогут уживаться несколько моделей

Демонстрация полной интеграции с веб-сервисами с поддержкой зон и интеграция с внешними сайтами. SOA.

Основной лейтмотив - использование моделирования сущностей и процессов предметной области - от схемы базы данных до программирования, управления бизнес-процессами и настройки орг.структуры. Все завязано на модели.

ГАК используется в AX2012 повсеместно. Уменьшение дублирования данных, контроль доступа и безопасное использование этих данных.

Принципы проектирования архитектуры AX2012. Вкратце - мощные и в то же время простые в использовании возможности; ключевое слово: модели.

На сессии по архитектуре системы сделан акцент на том, что инвестиции в развитие MorphX и X++ будут продолжены и дальше.

Теперь возможна разработка частей бизнес-логики с использованием управляемого кода, поддержка обработки событий и т.д. Однако, X++ никуда не денется и останется основным средством разработки.

Обозреватель иерархии объектов теперь работает и для таблиц (теперь поддерживается наследование таблиц)

Наследование таблиц позволит упростить моделирование сложных структур данных.

Моделирование

Моделируйте окружающий мир - с помощью AX 2012. Для моделирования всех бизнес-процессов следует использовать Workflows.

Когда вы думаете о моделировании БП, то думаете о DSL (domain specific language). Это верно и для AX 2012.

DSL для AX 2012 может быть улучшен с помощью вертикального решения, учитывающего особенности той или иной сферы деятельности.

Использование и создание элементов для определенных вертикальных решений, которые бизнес-аналитики могут использовать в дизайнере AX 2012 WF. Вертикальное решение - это своего рода DSL.

Затем это можно использовать для настройки бизнес-процесса в системе, который лучше соответствует бизнес-процессу, уже существующему в рамках той или иной организации.

Смещение парадигмы в сторону моделирования; где-то это стало обязательным требованием, в других местах это опционально.

Обретение целостного понимания экосистемы dynamics как средства реализации концепции моделирования мира потребует немалых дополнительных усилий.

С учетом всех тех целей, на достижение которых направлено моделирование, для успеха требуется очень высокий уровень подготовки специалистов.

Если вы - компания-партнер, то должны уже сейчас внимательно изучать эту тему и подстраивать ваши текущие и будущие проекты под максимальное использование WF

Основная идея, на которой строятся модели WF, заключается в решении вопросов той или иной сферы бизнеса с использованием DSL.

И все это достигается за счет использования WF, .NET и AX 2012

Файл модели AX (с расширением .axmodel) - это новое средство развертывания приложения. Меняется подход к процессу распространения масштабных модификаций и решений.

По ходу реализации этого изменения была решена проблема идентификаторов объектов.

Теперь идентификаторы объектов специфичны для каждой отдельной инсталляции.

Между тем, на каждом слое может существовать лишь один экземпляр объекта приложения; две модели на одном слое не могут содержать один и тот же объект.

Однако, с учетом указанного ограничения, на одном слое может располагаться несколько моделей - каждая при этом группирует те или иные объекты приложения.

Было отмечено, что для сложных сценариев работы с моделями в различных слоях реализована поддержка PowerShell.

Создать новую модель на том или ином слое вы теперь можете через меню Tools > modeling management > create model.

Модели могут использоваться для сегментирования даже собственных доработок клиента, реализованных на CUS-слое

Модели в рамках одного слоя управляют элементами приложения на этом слое и также служат для развертывания новых объектов приложения.

Процесс развертывания модификаций в тестовой среде по ходу реализации проекта теперь меняется: нужно будет скопировать рабочую базу в тестовую, после чего развернуть новые модели из разработки в тесте.

Теперь нельзя просто так брать и перемещать БД, поскольку она уже не только содержит данные, но также является хранилищем моделей - имейте это в виду.

Параметр командной строки /verbose утилиты AXutil является очень полезным при выполнении практически любых ее команд

Реализовано множество мощных и гибких возможностей как в рамках самой AXutil, так и в виде интерфейса для интеграции с другими приложениями, когда требуется реализовать сложные сценарии развертывания модификаций и управления объектами приложения.

Взаимодействие с VS

Полная поддержка IntelliSense для всех объектов AX в VisualStudio. Это гиганское [изменение] по сравнению с сегодняшней работой с AX и .net.

Замечание для X++ разработчиков: если вы не знаете C#, то сейчас самое время заняться его изучением

Демонстрация того, как использование обработчиков событий в приложении AX позволяет вам вместо непосредственной модификации кода X++ просто обрабатывать соответствующие события

Проекты VS теперь могут располагаться в хранилище моделей AOT. Это очень помогает при развертывании и управлении модификациями

Great possibilities with what can be done with the new option of .net and Xpp. Very powerful stuff! Will impact devs for sure

Был задан вопрос, связаны ли новые прокси для X++ и .NET с существенными дополнительными расходами и падением производительности. Ответ был просто «нет», но интересно было был услышать какие-то детали

Безопасность

Форма ролей безопасности является основным инструментом для управления ролями, настройки параметров безопасности на уровне записи и прав доступа для внешних компонент (??? external security)

Управление правами доступа в AX 2012 совершенно отличается от того, как это делалось в предыдущих версиях. Некоторые концепции сохранились, но вместе с тем появилось очень много нового.

The points being addressed for AX 2012 is the make security administration rescues is a big way in complexity

Подход, основанный на ролях, является многоуровневым: роли, обязанности (duties), привилегии, разрешения. Настройка идет сверху вниз.

Обязанности (duties) функционально также соотносятся с «петлями процессов» («process cycles»), выполняемых работником на той или иной должности

Process cycle and duties is where segregation if duties are enabled and managed within AX 2012

В AX 2012 теперь поддерживаются три типа пользователей: пользователи Active Directory, пользователи, аутентифицированные на основе утверждений (claim-based authentication), а также группы. AD больше не является обязательным компонентом для осуществления возможности доступа пользователей.

Аутентификация на основе утверждений (claim-based authentication), чья реализация стала возможна за счет поддержки этой модели безопасности в Microsoft Office SharePoint Server 14

Идея в том, чтобы не нужно было заводить клиентов и поставщиков как пользователей AD, используя вместо этого пользователей, аутентифицируемых на основе утверждений

Share point uses secure open service, to take the claims based user Id, and share point keeps the context for the user for user UX

This is key for federated access and trust. Ie, cloud enablement for secure access to AX and cloud objects

Federated support for security is huge, because this means not just azure with live Id, but also google accounts or others.

This also helps with mobile access to secure access to data and business logic within AX, managed the same way

MSDYNAX 2012 wil leverage SharePoint Claims based security for non-AD users. Welcome ADFS, Live-ID, SAML tokens

Ax2012 security rocks! Improvements are impressive: role based security, external users and automatic role assignment!

Установка и мониторинг SCOM

Install of ax 2012 is easier than ever

Fewer steps and also scom pack highkighted for ax 2012

Scom pack will be huge for those that invest in systems center

Install, configure and operate areas of focus for this session and release

Install checklist not needed to run multiple times. Done once and then done! Decouples install and initialize

Scom pack has bp configuration check. Scom pack getting a lot of praise.

In ax 2012 biztalk adapter is gone. Now common adapter for ax to biztalk is wcf adapter

Ep and reporting separation in ax 09 development in VS is now one vs tools. Good move

Service packs and updates can be dropped in install share and thse update installed with single pass

Some very nice changes to actually help make setup and install easier. However there are new roles as well

Models folder is key to enable custom installs and that it's installed as part of new install

Models, labels and updates folder make installs dynamic and simple.

Always publish and sign models as part of axmodel file creation

Management pack contains key concepts of discovery, monitor and task.

Current scom pack for 09 is limited to aos. AX 2012 has really expanded in scope, monitors and ability

Scom is key for enabling ax admin for a company. Big investment that companies should consider

Быстродействие

Arch for performance: always start with the database. It's the lowest level. Then aos, batch, connection between them

Rpc not only protocol anymore for web based or share point communication with aos. Now with services, WCF

This means you don't have to go through the BC.Net and that removes a layer and therefore helps perf

Showing off VS TFS for performing this benchmark with AX 2012. Great to see this ability.

A lot of benchmark ability in AX 2012.

AX 2012 benchmarking is with the VS team system

AOS for the first time has large box awareness and can scale up! No longer just a scale out

True parallel and asynchronous processing with AX 2012

Table inheritance means taking one table and making it 8. This is part of the perf of AX 2012.

Hexcore and beyond support for cores In AX 2012.

Sys operations framework is the key that enabled more parallel processing. As dev you can make use of this as well

Data caching has been 100% reengineered.

Included columns as part of indexes as well as full text index. Along with true temp table usage!

Join caching, date effective caching, sysglobslconfiguration class… All great improvements in AX 2012.

Sysglobalobjectcache… And Xpp object we all need to learn about!

Unique index caching for joins. This means for unique records, cached and therefore cuts down on io round trips

Caching support for super type and subtype for across the board, and with even a legacy table.

Batch framework highlighted as how threaded processing works and will continue to work with improvements!

DMVs highlighted and shown with the IDMF for AX 2012! This continues as powerful tools for AX 2012 perf

WCF services highlighted once again as a great improvement in AX 2012 as a great perf improvement

AppFabric (velocity) mentioned during the session as session state store for services and EP.

Event trace parser for Microsoft Dynamics AX 2012 lives right out of the client, easy to get going and work with!

Making trace for AX 2012 easy to run and report on, is a key factor is having more people use it as a tool for perf.

OS can scale and tested on 32 cores! Again first time the scale up really for AOS

Performance gain for using CIL execution is around garbage collection. Test took 90k lines from 24h to 2h.

This case for performance, means that perf gains that are major gains will happen at the CIL. Deterministic GC

MorphX

Now switching to MorphX IDE. Showing off still the importance of Xpp as the core language for AX

Showing off multiple ISV solutions within the same layer. Based on model files that live in the db

Showed off fact that can add table in AOT and it showed up in VS2010

[[EnterprisePortal]]

Single click process for taking a rich client form to make it a web protal page! Very powerful

Portal, rich client and office are truly a blurred UX and it looks the same across these products

[[WorkFlow]]

In AX2012, workflow is integrated in the AOS. No more messy installs

Great workflow development wizard in makes it much easier to develop new workflows

Tracking details show workflow events and show in the branched out way they took place

Common workflow UI controls. This is the top area of form within AX 2012 when workflows are enabled

Vision: every process should be modeled with a workflow

If your a customer, VAR or ISV this changes how you design an instance of AX and any vertical add on or what is custom

Should be as much as possible designed with workflows

Trying to limit the need of a developer for changing workflows. Developers still needed though

Workflow runtime integrated into AOS, which helps with lowered TCO and manageability of workflows.

New workflow development wizards to help kick off and create new workflows

Modeling the business process, documents actual workflow of process that at the same time «configures» the solution

Enjoying the wizards now provided with AX2012 to create and link AOT elements for workflow. Separate wizards for components.

Partners need to understand WF and it's impacts on AX so the correct story can be presented to customers for correct use.

So for WF, companies when they upgrade will want to consider removing code approaches to replace with WF. Again big change

So WF in AX 2012, among other things means we have a lot to cover in the Dynamics Community!

Key focus is model «real life» business process in AX with new workflow

Finally they are showing off the workflow editor. This is the same as in VS2010

Showing multiple branching workflow that works out of the box

Showing off purchasing policy. Shows great flexibility but if not designed properly could become nightmare for customer

Управление при помощи [[:PowerShell]]

Again, shows that PowerShell is a key part now for management of AX. Very powerful tool and one we all need to understand.

Using PowerShell, once could take and dynamically deploy the latest touched reports, based on modified date

Huge focus on PowerShell for report deployment, configuration and management among multiple instances

I've been talking to people about PowerShell for a while now. Well it's a major part of AX 2012

Three ways to deploy, client, VS2010 or ax management shell, which is PowerShell with other things loaded

Standard tooling is based on PowerShell and PS cmdlets

Standard box, 10 mins to deploy 800 reports in AX 2012

[[AIF | ]]

When upgrading from Ax2009 to 2012 for AIF service contracts have changed. There is some manual and reconfigure

Big schema change, and will be some rework based on this.

All excel import and exports for office addin happen through AIF.

Perf increase of 37 percent benchmarked for new AIF improvements

The AIF is fully built on services which will run on the AOS. All integration through WCF services. Standardizes integrations!

the improved AIF framework will hopefully open up AX for mobile platforms more than the previous clunky version.

Transformations truly enable any file format support based on the stream in and out for AIF.

I'm impressed with the level of efforts that have went into making AIF an easier story for setup and management

SQL server is actually being used to enable change tracking at the table level

Going through several demos, a lot of work to make AIF configuration a lot easier. Very good to see.

Claims based auth. Support again highlighted. AIF

No more 10 mb file limit! AIF

Integration ports are tied to service groups. Sharing of common WSDL helps with complex int needs

New system services: query service, metadata service and user session service. AIF

These new system services expose AX in a new one. Openning up a brand new world!

Another highlighted aspect is support for non-XML formats.

80 percent reduction in top level AIF concepts! Less complexity!

90+ out of the box document services that come with AX 2012.

Bulk import support! Opens door for using this in massive data loads!

Апгрейд данных

Preprocessing data upgrade before the ACTUAL upgrade to minimize down time

AX2012 will be shipped with a new and enhanced upgrade model

Отчеты SSRS

SSRS reports node is the new location of report elements. No longer held in the reportlibs node of the AOT

Интеграция с Excel

AX data changes while using Excel to edit, optimistic concurrency is used. Data cannot be published. No merging logic in place.

Allowing the users to create data in Excel and publish it when complete will be a big talking point in getting data into AX.

Two types of AX exports to Excel: static (like in a 2009) and refreshable export (active connection to AX). Excel junkies rejoice

DAX ribbon in Excel, publish data. Go back in AX and it's all there and secured.

Security roles mean can take the budget template in excel and the person gets their data vs. The data used to create temp.

Excel budte demo enabled through services to AX. SOA once again.

So word, excel and SSRS to create mashups for information workers is very powerful

EP

EP for AX is making use of share point 14 claims based security context. Look that up. It's the core enablement for this!

I really like the design mode in Word for reporting data from AX. The simple dragging and dropping of the fields is very intuitive

Поддержка/Обратная совместимость

AX 2012 client will not work on XP. XP is not supported with this release

AX 2012 security will be MUCH easier to test since rec security policies are set in AOT and now no need to refresh client code base

[[AOS | ]]

There is an attach process that you start from the VS side. Attach to client or server, set break point. Remote debugging for AOS.

Does not recommend cross debugging at all

Two options, either AOS, client and VS on dev box for attaching with VS. Or remote debugging

AOS in process hosting of WCF services. Good move for manageability and lower TCO across many areas with this.

Net.TCP is default adapter used when services hosted within AOS.

Пакетные задания и отладка

Assembly hot swapping must be enabled in the configuration, for full debugging.

Assembly hot swapping helps fix issue of session locking on assemblies

App domains are enabled with the hot swapping. Once session is destroyed, new dll applied for new sessions

Hot swapping will be a big need for companies that don't have an AOS per developer. A lot of companies don't

Hot swapping assemblies does come at a foot print and context price

Hot swapping helps with addressing assembly change, and not making a call to restart the AOS

Xpp still becomes Pcode, then is translated into XML with Pcode in tact. That is sent to the IL to generated the managed code.

Reflector from .net highlighted to take a look at the IL code. Cool insight from Xpp down to IL

Batch debugging is made possible in AX 2012 because of it's execution vis CIL. Attached process

Breakpoint is placed on the proxy object inside VS2010 for the Xpp code.

Since remote debugging is needed, must have admin rights on the server to make this happen

Debugging in batch, with the new approach is a big improvement for sure! Makes using batch an easier choice

No sharing of breakpoints between VS2010 and the legacy Xpp debugger

When thinking compiles, you have CIL incremental and then CIL full compile

Xpp code can have errors and compile others. Were as the CIL compile, incremental, is not so forgiving

Good session. Abilities exist to debug the new proxies, batch and server based code

Now showcasing the fact that because CIL is used, all kinds of new benefits, like profiling in VS2010,

WCF

WCF is the standardize story for new AIF arch within AX 2012.

WCF message routing for external needs. Still needs IIS for external service support

AOS in process hosting of WCF services. Good move for manageability and lower TCO across many areas with this.

Single WSDL among services groups. Means can share data contracts among common services

WCF was used in AX 2009 however some pains. These issues are being addressed

Can't wait to get the slide decks from these sessions. Will be ready for us in two weks

Msft is addressing the AIF manageability pains including promotion from one instance to another.

Keys: standardized, powerful and simplified. For AIF in AX 2012

Ax power shell cmdlets introduced to manage deployments

VS2010 also always no break on exception option which has not existed before for Xpp based code. Done via CIL

Разное

Big improvements on how easy it is to service enable logic for integration work in AX 2012.

Visio and VS2010 integration for SDK tool, which not sure if that name will stay the same or not

Threadabortexcpetion is actually gone in AX2012! great!

Scripting control, multiple server management, remote deployment, threadwbortexception, and more all addressed now

Tech is great, but tech is not what AX is trying to address. AX is meant to address business domain issues

The focus is being declaritive vs. Code or rules. A theme found throughout this release of AX

SSMS and db level setup must take place as a one time DB level for change tracking to enable document tracking

To conclude, I can say the next version of AX is ready to take on the other big ERP stalwarts in the market. Good work Microsoft and a huge effort by Devs and PMs in Microsoft shaping up the next big release of Dynamics AX!

Источник: http://daxdilip.blogspot.com/2011/01...012-brief.html __

axapta/ax2012.txt · Последнее изменение: 2018/04/13 22:43 (внешнее изменение)