This project is read-only.

Precompiled build target for Azure?

Topics: Administration, Core, Customizing Orchard, General
Aug 8, 2012 at 1:08 AM


I was looking at the new precompiled build target, and I was wondering if 

1. It is useful to port it to the Azure build script

2. If 1. would work


If it is useful and it will work I don't mind porting it.


Aug 9, 2012 at 6:21 AM

Yes and yes :)

Aug 9, 2012 at 10:50 AM

I've done it for one of our projects, which is slightly different than the normal orchard (we use a different solution file) but changing it for the default orchard project shouldn't be hard.

My question is... how do I know it's working? What do I need to check for in the Azure package?

And how do I get it to you?

Aug 9, 2012 at 11:45 AM

Timed it at 35 seconds for initial startup vs 50 using dynamic compilation, so a decent improvement. Still not the 6 seconds of my dev machine's IIS server though!

The timings used a very small instance.

Aug 9, 2012 at 6:41 PM

Can you try with Sql Server also ?

Aug 9, 2012 at 8:12 PM

This was using Sql Azure. 

What would you like me to do with SQL?

Aug 10, 2012 at 9:23 PM


I have a patch that fixes some references for the Azure project and also includes the precompiled target (and uses it for the ClickToBuildAzure.cmd build).

What do I do with it? :)

Aug 28, 2012 at 6:08 AM

Make a pull request or attach the patch file to the relevant bug.