开发者

Can sgen.exe be used for web.config file to improve performance and cold start?

.NET cold start is a known issue, and it denotes the time necessary for the first time load an ASP.NET web site, which includes DLL loadin开发者_StackOverflow社区g, JIT compilation, w3wp.exe creation, and other stuff.

Does using sgen.exe on web.config files have an improvement effect on cold start?

More fundamentally, can we use this tool on web.config, and if yes, how?


I would have to say no. .config files are handled by the config api, so having used sgen on them, the api wouldn't know how to use your compiled code.

You'd be better off looking at aspnet_compiler.exe to pre-build the site. This would have a much greater impact on the cold start delay.

Simon

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜