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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 18.11.2008, 20:44   #1  
mazzy is offline
mazzy
Участник
Аватар для mazzy
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
29,472 / 4494 (208) ++++++++++
Регистрация: 29.11.2001
Адрес: Москва
Записей в блоге: 10
Хотелось бы вернуться к этому в связи с alexef: Выпущен международный релиз Navision 2009 (W1).
и c В NAV 2009 код C/AL конвертится в C#, а что же будет в DAX?


Цитата:
Сообщение от Blog bot Посмотреть сообщение
Very briefly - the Service Tier is the middle tier in a Microsoft Dynamics NAV 2009 installation. This is where all database access is performed and all business logic is executed, meaning also that this is where the application is running. The Database Tier needs to be SQL Server 2005 or higher and the Client Tier needs to be the Role Tailored Client. When installed, the Service Tier does nothing but to wait for a connection from a Role Tailored Client, so even if the Service Tier is started it really doesn't consume a lot of resources until some Clients connects to it.

...

On the Client computer you will connect to a Service Tier using the Select Server dialog, in which you specify the URL of the Service Tier as: localhost/DynamicsNAV or localhost:7046/DynamicsNAV

Is the Service Tier interpreting C/AL code?
As you probably already know, the answer to this question is No. In NAV 2009

The majority of the Service Tier is written in C# and runs managed code and the application is also converted into C# and at runtime executed as compiled managed Code.

The way this happens is, that whenever you compile an object in C/SIDE, the object is behind the scenes compiled to C# (by the classic client) and the C# code is stored in the Object Metadata table (in the BLOB field called User Code). Furthermore the Object Timestamp field in the Object Tracking table is updated allowing the Service Tier to pickup these changes. When the Service Tier needs to run code from an object - the C# code from the object is written to disk and through some magic compiled into a module, which is loaded dynamically, allowing the Service Tier to replace single code units, pages etc. on the fly.

The directory in which the Service Tier stores the C# files can be found in:

<Program Data>MicrosoftMicrosoft Dynamics NAV60Server<process ID>source

where <Program Data> is

Cocuments and SettingsAll UsersApplication Data on my XP and my Windows 2003 Server and
C:UsersAll Users on my Vista box

and the process ID can be found in the Task Manager by choosing to show the PID column.

Having the C# files available in this directory actually allows you to debug this code as described in Claus Lundstrøm's post:

http://blogs.msdn.com/clausl/archive/2008/...n-nav-2009.aspx

but note that:
  • You will be debugging the C# code - and you cannot see the AL code
  • You will have to install SP1 on VS2005 or VS2008 in order to debug
  • You are debugging the Service Tier meaning that you debug every connection (can be pretty confusing:-))
При установке международного NAV2009 я выбрал вариант для develop'ера.
Ролевой центр у меня работает. См. скриншоты alexef: Выпущен международный релиз Navision 2009 (W1).
однако этого сервиса не вижу и localhost/DynamicsNAV у меня не появился. База на SQL2005.

1. Что я недоустановил?
2. Действительно ли в вышедшей NAV2009 код компилируется в C#? При каких условиях?
3. Что-то я не вижу сервера. Клиента - вижу. Что нужно поставить, чтобы был сервер?
4. Где об этом написано подробнее?
Миниатюры
Нажмите на изображение для увеличения
Название: 1.PNG
Просмотров: 354
Размер:	89.3 Кб
ID:	10372  
__________________
полезное на axForum, github, vk, coub.
 


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

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

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