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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.12.2011, 13:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
East Ocean - Technical: Working with ServiceConfiguration file in Azure Cloud
Источник: http://eastoceantechnical.blogspot.c...tion-file.html
==============

Recently I have been working heavily on CRM2011 + Azure platform, just want to share some of the quick tips for those plan to move their application into Cloud!
You will notice some extra file in your VS2010 solution when you added the Azure web role project, 2 configuration files included which differentiate by the "Cloud" & "Local". It give us the flexibility to deploy our solution base on different environment. For example my case I'm using different DB.




In order to configure the values, right click properties brings us into the setting page that allows developer to add the key into different configuration files.

Always remember to select the service configuration that you want to use base on your deployment. To retrieve the value dynamically on run time after deployment, refer below:
Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.GetConfigurationSettingValue("SQLConnection")



Источник: http://eastoceantechnical.blogspot.c...tion-file.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
East Ocean - Technical: Duplicate UUID issue with vhd images [VirtualBox] Blog bot Dynamics CRM: Blogs 0 13.04.2011 03:24
East Ocean - Technical: No organization was specified in the configuration file Blog bot Dynamics CRM: Blogs 0 18.10.2010 10:05
East Ocean - Technical: CRM 5.0 & Azure Blog bot Dynamics CRM: Blogs 0 10.01.2010 19:07
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 18:27.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.