Jan 2, 2013 at 9:03 AM
Edited Jan 2, 2013 at 9:08 AM
As my sites under Azure Web Site in Reserved mode with 2 cores and 3,5 Gb memory (Western Europe) are still lagging and frequently stopping on Error 502, I have been reading this doc to better understand:
It appears that Orchard is preferring the DynamicLoader than the Precompiled module loader in some circonstances in Azure Web Sites.
Using VS 2012 and web deply, I took care to generate my solution, checking that in the bin folders of modules there was a recent assembly(dll), but Orchard continues to prefer compiling if there is a csproj file for this module whatever the dll date.
And this is also available for core modules.
I attached the generated dependencies.xml and dependencies.compiled.xml in this issue report
where we can see that even with a recent assembly in bin folder, it takes the dynamic loader.
And I have installed the the HostComponents.config file ....which seems to be not used ?
I also do some tracing replacing WARNING by ALL in the log4net.config and I attached the resulting file.
It appear THAT ON AZURE WEB SITES some paths are too long, this could be the reason for our problems ????
The other thing to note is that the assemnlies identification and loading process is very long....and if on AWS it does this on each request......