views:

123

answers:

0

Hi Guys,

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

Has anyone experienced this or have any ideas about a fix ?