Azure Support?

Jun 17, 2009 at 2:48 PM

Hi Guys,

Just wondering whether Unity is going to be supported "officially" through Azure ? I am using Azure and it seems to play up a lot when using Unity ?


Jun 17, 2009 at 3:11 PM

According to this link, Unity is listed as a pattern/practice that has been retired:

The link takes you to an article about Unity on Microsoft's website.  The table of contents on the left places the article under "Retired."

I'm not sure Unity itself has been retired or if the documentation has simply been retired.



Jun 17, 2009 at 3:27 PM

The "retired" item is probably because the article is about Unity 1.1 while the current release is 1.2 and has a link of

This page is not under the retiered section.

Jun 17, 2009 at 4:20 PM

"Play up" how? We haven't done anything explicitly about Azure yet, but it's definately on our radar. We're waiting for PDC before doing too much serious work in this area.

Could you share more details of what sorts of problems you're having? I had expected it to just work.



Jun 18, 2009 at 8:25 AM

Well I am using unity & entlib for logging and caching in my Azure webapp - I have strange problem in that the web browser takes a very long time to load. It seems there is a conflict with the web.config file but unsure what to do ? I need to wait 1-2 mins for the start page to display, sometimes it doesn't display at all - cleanup, restarting dev fabric and storage - and again again. 

Points to note: 
  • Unity and Entlib blocks have their configuration sections in web.config 
  • Without azure everything works fine since there no azure platform - first web.config initializes and in the code all sections from it are accessible 
  • With azure we have dev platform (with its undocumented initialization process and config files) 
I split unity initialization (controller factory + other stuff) to satisfy web role (web project in azure) initialization, otherwise i got errors. Now I have no errors but I have real sluggishness, unstable initialization etc.
Its really frustrating issue - and not sure how to resolve it?

Jun 18, 2009 at 7:50 PM

Hi Andy,

Could you please share more information on your problem? What kind of errors did you get before you split the initialization?



Jun 22, 2009 at 4:01 AM

Hi Guys,

Sorry about the delay - I am not sure but if I remove the "enalbeNativeCodeExecution" - I get a bunch of security errors. Just wondering if Unity works in the Trust Environments required by Azure: