I read that pre comipiling a website using aspnet_compiler speeds up the website (by mitigating the delays due to worker process restart). But when you deploy using an msi, isn’t the deployed stuff already in the pre compiled (MSIL) form?
I read that pre comipiling a website using aspnet_compiler speeds up the website (by
Share
Yes when you deploy your website using an MSI you first publish it, which precompiles it entirely. Thus, saving some time on the first hit (regardeless of the value of
Compilation batch).This is how we actually deploy websites at work. Visual Studio’s Web Setup project is very straightforward. You just add the precompiled website as content, set the virtual directory name and that’s it! you get a next-next-next type of wizard as installation file