I am using MVC3, ASP.NET4.5 and C#
There are a number of choices when precompiling a web application:
- Do not Merge.
- Do not merge, Create a separate assembly for each page and control.
- Merge all outputs to a single assembly.
- Merge each individual folder output to its own assembly.
- Merge all pages and control outputs to a single assembly.
I am deploying to Azure websites.
I have currently opted for 3 which creates a 2.5MB assembly.
I realise that PCode is generated at this point ready for the Jitter to create the Native code at runtime, and therefore performance should be identical. However I was wondering whether there was still a performance difference between these options. I have currently chosen option 3, because it seemed tidier.
Thanks.