ASP.NET ahead of time compilation

Does .NET support compile time? I see that Mono did this to avoid problems with JITing on other platforms (for example, IPhone), and wondered if it was possible to build dlls for native code and run those that were in IIS. For dev, I would really like to be able to flip the switch to VS and IIS, so I only need to wait for compilation once, and not compile wait, JIT wait.

+3
source share
5 answers

You can precompile IL, but not native code; NGEN is not compatible with websites because of how they load in IIS.

-, DLL, "-", , "-", .

+1

- (aspnet_compiler.exe) .

.aspx,.ascx,.master . JITed, . , NGen , ( , JITing ).

aspnet_compiler .

+2

, , ASP.NET. NGEN.

+1

-u:

-u

http://msdn.microsoft.com/en-us/library/ms229863%28VS.80%29.aspx:

", Aspnet_compiler.exe , , .aspx.

, . . "

0

, ngen (, ). , .

0

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


All Articles