Performance benefits for pre-compiling a web application project that can be updated?

Is there any performance advantage for precompiling an asp.net web application if it is configured to upgrade? By setting the update flag in front of the compiler, it does not precompile aspx, ascx, etc., so they still need to be compiled during the loading of the first page. Everything else in the ASP.NET project for web applications has already been compiled, though, so why use a pre-compiler in WAP with the value set to true?

+3
source share
3 answers

From what I can say in this particular case, there is no preliminary benefit to pre-compiling WAP when it is configured to update for the reasons listed in the question.

0
source

The only performance benefit is that it precompiles the associated code files for your ASPX and ASCX files.

+1
source

ASP.NET ​​ , script ( ASP), DLL -. [18] ( , ). , , . , -, -, , .

ASPX ( ASP.NET, . ). ,.NET Framework .NET ; DLL. ASP.NET 1000 . , .

, . -.

(Taken directly from the wikipedia page) A great explanation of the benefits of compiling your code in a script like php or class ASP.

0
source

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


All Articles