![]() In the right hand "Actions" panel, click the Settings choice. In IIS Manager, drill down to the Web site you want to autostart and double-click the Application Warm-up option in the panel in the middle of IIS manager. ![]() There are two ways to configure this option: with IIS Manager or by making changes in configuration files. If you want to start experimenting with the tool, first download the warmup module from and install it on your server. Because the feature is tied to IIS 7.5, you must be using Windows 7 or Windows Server 2008 R2 as your server. The good news is that this option works with any version of ASP.NET beginning with version 2.0. IIS 7.5 now has (in beta) an option to trigger code to run automatically whenever your Web site is started and before any requests are received - just what my clients need. To ensure that the data is loaded before the first "real" user makes a request, the intern comes in very early in the morning to trigger the processing. Second, they assigned some low-ranking person (often an intern) to request that page from the site. ![]() First, they put code in a page on the site that would perform a bunch of initialization activities (primarily, load the Cache object with data). One of my clients implemented a two-step process to eliminate this problem. You may have noticed that the first request to an ASP.NET Web site takes longer than subsequent requests as worker threads are started, database connections opened and cached data loaded. Practical ASP.NET Preloading Your ASP.NET Applications
0 Comments
Leave a Reply. |