270 likes | 450 Views
Dynamics AX TAP Knowledge Transfer Wave 2. Dynamics™ AX Business Connector. Lachlan Cash Program Manager Microsoft Corporation. Karl Tolgu Program Manager Microsoft Corporation. Agenda. Overview and Architecture Common Usage Patterns Demo – Exploring Business Connector Elements
E N D
Dynamics AX TAP Knowledge Transfer Wave 2
Dynamics™ AX Business Connector Lachlan Cash Program Manager Microsoft Corporation Karl Tolgu Program Manager Microsoft Corporation
Agenda • Overview and Architecture • Common Usage Patterns • Demo – Exploring Business Connector Elements • Demo – Integration Framework • Demo – InfoPath Integration • Exploring CLR Interop • Authentication Changes • Usage Guidance • Q & A
.NET Business ConnectorOverview • A platform component that enables integration with AX • Provides an X++ runtime environment • AX interpreter • Access to AOD • Client/server execution • Single/multi-user mode • Built with .NET Framework 2.0
.NET Business ConnectorArchitecture (1) .NET Business Connector Managed Classes Transition Layer (.NET/X++ Type Marshalling) Interpreter Layer (Dynamics™ AX X++) The .NET Business Connector is not a COM Connector wrapper!
AOS AX Interpreter .NET Business ConnectorArchitecture (2) AX Database ODBC RPC
Common Usage PatternsBasic Object Manipulation • Axapta • AxaptaBuffer • AxaptaContainer • AxaptaObject • AxaptaRecord
Integration FrameworkCode Reuse • How large is your integration project ? • Envisage a framework that simplifies integration: • Base Classes data types • Base Application Class administration • Base Record Class record manipulation • Base Objects Classes AX classes
Client IntegrationMicrosoft Office InfoPath Web Server WS .NETBC IIS AOS AX Database
.NET Business ConnectorCLR Interop NEW COM Interop CLR Interop Windows Client NEW Application Object Server CLR Interop COM Business Connector NEW NEW .NET Business Connector CLR Interop AX Database
MyApp.exe .NET Application foo.dll CLRBridge.dll LoadLibrary .NET Business ConnectorCLR Interop Application Tier Server Tier AOS AOD CallStaticClassMethod(“bar”,…) Reference: foo.dll Class: bar (client) bar
Authentication Changes • Windows integrated authentication • AX User Domain User • Understand constraints (hops, etc.) • What impersonation mechanism should you use? • LogonAs() – Business Connector API • RunAs() - X++ API • Runas– Microsoft Windows • Refactor applications to use Windows authentication
AIF AX Integration Technologies Document Processing CLR Interop Web Services .NET Business Connector
AX Integration TechnologiesAIF – Document Processing • XML/document oriented • Asynchronous (batch) • Support for multiple transports • Transformation support • Trusted intermediary • Extensible using X++ • B2B, A2A, EAI
AX Integration TechnologiesAIF – Web Services • XML/document oriented • Standards based • Web Services (request, submit) • Synchronous • Trusted intermediary • Extensible using X++ • Uses .NET Business Connector • B2B, A2A, EAI
AX Integration Technologies.NET Business Connector • Client/server applications • Single/multi-user support • Synchronous • Web-aware • Access to AX business logic (X++) & data • Tighter coupling (than AIF)
AX Integration TechnologiesCLR Interop • Integrated into the AX kernel • Client/server usage • Synchronous • Extend existing business logic in X++ with managed (.NET) components