(Answers to this could inform answers to this. My current code is: iis_config '"myAppPoolName" -section:system.applicationHost/applicationPools/sites/application/myAppPool/application /path="/" /preloadEnabled="true" /applicationPool="myAppPool" /commit:apphost'Īfter some more iterations and searching I've got this - still doesn't work: '"MyApp" /path:"MyApp" /section:sites /preloadEnabled:true /commit:apphost' I'm trying to get the application section to look like this: ![]() This is the section I'm trying to access: But I can't seem to get my preloadEnabled attribute squeezed in there. Auto Application Inialization (Preload) on IIS 3 minute read Problem: Sometimes we need to perform application initialization to avoid warm up time on first request or cold start issue on huge and complex web application which may need to perform lengthy startup processing, load quite a few libraries, prime in-memory caches, generate or pre-process some content etc. ![]() ![]() I can open the nfig file listed in the iis docs, and i can see the app pools defined in there. I do already have ApplicationInitialization enabled, with this block, that i've visually confirmed on the server: windows_feature 'IIS-ApplicationInit' do I can't figure out how to specify the right application section as defined in the IIS docs, is the main problem. zip file: Unzip the file to the wwwroot folder on your web server. ![]() The sample ASP.NET application is contained in the following. Note - the following steps assume your server already has both IIS 8.0 installed and ASP.NET 4.5 enabled for use in IIS 8.0. I am trying to set the iis 8.0 configuration preloadEnabled in my chef recipe, and i can't find the right combination of variables/attributes. Appendix - Setting up the Sample ASP.NET Application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |