Can NGEN be used with Azure Websites?

2020-07-13 06:21发布

问题:

After much research I still cannot find the answer to this question.

So can one NGEN one's ASP.NET MVC3 application which is deployed in Azure Websites, in a 32bit "Basic" or "Standard" instance?

Thanks.

回答1:

Will things blow up if you NGEN? No.

Will you get a benefit from NGEN? No. If your build system differs from the Azure server (which almost certainly does), the runtime will simply re-JIT things on the server.