AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 09.05.2007, 14:51   #1  
Blog bot is offline
Blog bot
Участник
 
25,617 / 848 (80) +++++++
Регистрация: 28.10.2006
Arijit Basu: DAX 4.01 .NET Business Connector: Microsoft.Dynamics.BusinessConnectorNet
Источник: http://daxguy.blogspot.com/2007/05/d...connector.html
==============

The Business Connector is a Microsoft Dynamics AX 4.0 component that enables external applications to interact with Application Object Server instances.

Microsoft.Dynamics.BusinessConnectorNet

Microsoft Dynamics AX 4.0 now includes two versions of the Business Connector; a COM version, and the new .NET version.The .NET Business Connector provides a set of managed classes that provide easy access to X++ functionality in
Microsoft Dynamics AX 4.0. It is installed with and used to support the functionality in the EP server, Reporting server,and Application integration server roles. The .NET Business Connector can be installed as a stand-alone component, and used to develop third-party applications that integrate with Microsoft Dynamics AX 4.0.

The .NET Business Connector consists of 3 layers:

•Managed classes: Exposes public methods that can be called to interact with Microsoft Dynamics AX 4.0.
•Transition layer: Maps the managed classes to the corresponding interpreter functions.
•Interpreter layer: Executes X++ and communicates with the Application Object Server.

.NET Connector Overview

•The .NET Business Connector is a versatile, general-purpose component that enables managed applications to be
developed against Microsoft Dynamics AX 4.0.
•It uses the Microsoft .NET Framework 2.0.
•A set of public managed classes let you invoke X++ business logic and access data in Microsoft Dynamics AX 4.0.
•You can use the .NET Business Connector to implement and deploy both client-based applications, such as a Microsoft
Excel add-in, and server-based applications.
•When the .NET Business Connector is hosted within IIS, it provides access to the managed (ASP.NET) http context
from X++, (this is used by the AX Web framework to enable Web-based functionality).
•The Microsoft Dynamics AX 4.0 CLR Interop feature can be invoked from the .NET Business Connector to instantiate
and use external managed components from X++ code that is executed in the .NET Business Connector interpreter.
•A mechanism is provided for securely impersonating AX users {LogonAs()}(this is required in certain deployment
topologies).
•Both the AX EP and the AIF Web Services use the .NET Business Connector.

I did some R & D on this .NET Business Connector and made a very simple C# Windows Application which demonstrates this feature. The files can be downloaded from the link below.

.NET AX Simple e.g.
(You need to log in to http://www.whatisaxapta.com/). I'll try and put more download resources.

The Zipped file contains a AX Class which you must import into AX (AX 4.01) and an EXE file. To execute this you must have the .NET BC Client installed on your PC. The EXE uses the existing Windows user to Log into AX. Make sure this is configured.



Setup the components and Run the EXE.Click "File" and then "Fetch/Refresh". The output should be something like the pix above. Click on Help menu to know more :)

Its really a very simple example. You can definitely R & D other features like perhaps create a small Desktop gadget that shows relevant AX Information or perhaps even a VISTA Sidebar gadget (in future when AX runs on VISTA).
Lemme know in case of any issues.

Happy DAXing :)



Источник: http://daxguy.blogspot.com/2007/05/d...connector.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Старый 09.05.2007, 19:34   #2  
kashperuk is offline
kashperuk
Участник
Аватар для kashperuk
MCBMSS
Соотечественники
Сотрудники Microsoft Dynamics
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии 2011
Лучший по профессии 2009
 
4,361 / 2084 (78) +++++++++
Регистрация: 30.05.2004
Адрес: Atlanta, GA, USA
По просьбе автора выкладываю проект и exe файл примера
Вложения
Тип файла: rar AXPurchStatistics.rar (25.6 Кб, 449 просмотров)
Тип файла: xpo Class_AXPurchStatistics.xpo (2.3 Кб, 774 просмотров)
Старый 10.05.2007, 10:11   #3  
Arijit Basu is offline
Arijit Basu
Участник
 
1 / 10 (1) +
Регистрация: 12.04.2007
Адрес: India
Thanks for uploading the files Ivan
__________________
Arijit Basu
Dynamics AX MVP
http://daxguy.blogspot.com/
Старый 30.09.2008, 01:17   #4  
ulucky is offline
ulucky
Участник
 
1 / 10 (1) +
Регистрация: 10.06.2008
Как можно соедениться с Аксаптой из другого домейна
Подскажите пожайлуста, как можно соедениться с Аксаптой из другого домейна с помощью BusinessConnector(приложением написанной на C#) , или вообще это возможно? оба домаина видять друг друга через ВПН.

Спасибо заранее
Теги
ax4.0, business connector

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Inside Dynamics AX 4.0: Working with the .NET Business Connector Blog bot DAX Blogs 0 04.10.2007 05:15
Inside Dynamics AX 4.0: Inside the Business Connector Blog bot DAX Blogs 0 04.10.2007 05:15
Dynamics AX: Microsoft Dynamics AX (DAX): Known Issues when upgrading to Microsoft Dynamics™ AX 4.0 - Arijit Basu | AX MVP Blog bot DAX Blogs 0 31.05.2007 03:30
Arijit Basu: Microsoft Dynamics enables Real-World SOA to connect your business vision with software Blog bot DAX Blogs 0 17.05.2007 13:20

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 03:35.