How can you speed up the restart of an ASP.NET application?

What can I do to make sure that when starting the application pool / application pool, the application quickly returns to the network as quickly as possible?

Even better, is there a way to prevent the application from restarting when normal triggers occur? Like changing web.config, global.asax or machine.config?

+3
source share
5 answers

ASP.NET 4.0 will have an “autostart” feature ( Scott Guthrie talks about it ), but it won’t help you now.

, , -/, "". AppPool 20 . , -, .

: - , App_Code , bin .dll( Build > Build Website). . , - , -, .

+4

, - . - global.asax , .

-, , - bin . .

2 - 3 . , global.asax, , 20 . , , 3 0,1 .

+1

-, , - , .dll.

- , App_Code , .

0

- - ( VS2010), DLL, - . . ScottGu , WDP.

0

, , 300 + /. 90 .

, , , , ( ) . , w3wp.exe .

IIS ? IIS asp.net ?

0

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


All Articles