Deploying XAF to Windows Azure

Investing in a new technology and platform such as Azure involves making decisions and taking risks. XAF and XPO are capable of running on the cloud. However it is always better to consult an expert before deciding to do so. Panagiotis Kefalidis is a Windows Azure MVP with a commercial XAF application on Azure making him a leading authority in this field.

This webinar will focus on Azure and how to deploy XAF XCRM on it. The specific areas will include,

  1. The prerequisites for deploying a XAF application on Azure,
  2. Modification of the XCRM source code in order to simulate a multitenant system,
  3. Creating an Azure deployment package,
  4. Exploring the Azure portal,

The XCRM will remain online and accessible after the webinar. 

Prepare your questions and join us for this webinar on Friday 27th May 2011.

You can view this webinar at

11 comment(s)
James Zhong

Good news for XAF deployment on cloud!

26 May, 2011
Robson Vitor Rezini

I have a commercial application deployed on Azure, using XAF. I had many doubts in assembling it, now I can see if what I did is actually correct!

26 May, 2011
Simon de Kraa

I missed it. When will it be available online?

28 May, 2011
Simon de Kraa

Never mind. Already found it at

28 May, 2011
Apostolis Bekiaris (DevExpress)

The XCRM can be found at

To avoid conflicts and simulate a multi tenant system every session hold a unique datastore.

30 May, 2011
Simon de Kraa

New to XAF.

Is it correct that if I am going to use one web role I won't get into trouble with the sticky sessions?

For demo purposes only.

6 June, 2011
Simon de Kraa

For my convenience. Is there a list of  he necessary changes available? E.g. to web.config. So I don't have to extract it from the video.

6 June, 2011
Panagiotis Kefalidis


Sorry for taking so long to reply, busy week! :S

The changes:

A) Remove the impersonation (impersonate = true)

B) Remove the stdole reference, otherwise included in the package also

C) I was targeting version 4 of .NET Framework, that means you have to remove the preconditions from the handlers

D) Remove the include for HttpHandlers and HttpModules.

E) Make sure the web.config is IIS7 or 7.5 compliant (you can check that locally on your IIS)

F) If you want Diagnostics (Traces etc) to be collected by Windows Azure Diagnostics and be stored on Windows Azure Tables for later usage/analysis, you need to add the trace listener:



         <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics">

           <filter type="" />




G) You also need to reset the defaultDocument, to include "Default.aspx" as the first in the list and not "index.html"

<defaultDocument enabled="true">


       <clear />

       <add value="Default.aspx" />

       <add value="index.html" />



As I said before, you're targeting IIS7 or IIS7.5 (depending on the Windows Azure OS version you choose), so those changes go into the system.webServer section of your web.config.

H) Last change, which doesn't go into the system.webServer section, is to add a fixed machine key, in case you're running more than 1 instances. That applies to non-XAF applications mostly

<machineKey decryption="AES" decryptionKey="0CA3EFAF0F7A5E7A62681C0BF656EE0ECE31ACEE3E1023BA3FAD20EA5F199DE8" validation="SHA1" validationKey="56A47E06B676AFD248061D7DC892D34C7B6F28309DE62168764FF0DCE537184F0535D5D9AD66DEDC97DC1ABFF7FA540B4DFD82E5BB196B95D15FF81F75AD5328" />

Hope it helps!

8 June, 2011
Panagiotis Kefalidis

To avoid confusion for step A) I mean remove the "impersonate = true".

8 June, 2011

Can we get an update on this? It's been 8 years.

4 April, 2019
Dennis (DevExpress Support)

@Stephan.Smit: Would you please clarify your problematic use-case scenario and expected results with DevExpress products?

4 April, 2019

Please login or register to post comments.