What is the advantage of ASP.NET precompilation?

How useful is using Aspnet_compiler.exe instead of just publishing through Visual Studio? What about resource files (resx)?

+3
source share
3 answers

Precompiling, unlike simple xcopy, gives you two main advantages:

  • The file system will not have all the code in the files .aspx, and all the code behind will be compiled into the assembly.

  • ASP.NET compilation start is missing the first time the page starts after the server starts.

Having said that, my knowledge of pre-compilation these days is a little rusty, the last time I touched it was back .

+4
source

, . , , asp.net .

, , . , , .

+3

Visual Studio "" aspnet_compiler.exe. , , aspnet_compiler.exe , .

0

Source: https://habr.com/ru/post/1727768/


All Articles