<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Off The Post</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/abhisk/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/abhisk/feed.xml</link>
    <description>My stories on IIS / ASP.NET ....</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:47:15 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Configuring Application Initialization</title>
      <link>https://docs.microsoft.com/archive/blogs/abhisk/configuring-application-initialization</link>
      <pubDate>Fri, 16 Aug 2013 07:48:28 GMT</pubDate>
      <dc:creator><![CDATA[Abhishek Kumar (MSFT)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/abhisk/2013/08/16/configuring-application-initialization/</guid>
      <description><![CDATA[Application Initialization for IIS 7.5 and IIS 8 expose only few settings in the UI. For the others...]]></description>
      <content:encoded><![CDATA[<p>Application Initialization for IIS 7.5 and IIS 8 expose only few settings in the UI. For the others we need to modify config files.&#160; Here is how to configure it without using the UI extension (for IIS 8) found <a href="https://blogs.msdn.com/b/abhisk/archive/2013/04/19/application-initialization-ui-extension-for-iis-8.aspx">here</a>. </p>  <p><b><u></u></b></p>  <p><b><u>Changes to the application pool</u></b></p>  <p><b></b></p>  <p>1. Open the applicationhost.config (found at: C:\Windows\System32\inetsrv\config)</p>  <p>2. Look for the concerned applicationpool name in the &lt;applicationpools&gt; section and make sure you have the following two settings present for the application Pool:</p>  <p>&lt;add name=&quot;DefaultAppPool&quot; autoStart=&quot;true&quot; startMode=&quot;alwaysRunning”&#160; /&gt;</p>  <p>3. In addition to these make sure that the application pool runs in Integrated mode and the .net framework for the same is v4.0 (as shown below) .</p>  <p><b><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/40/metablogapi/5025.clip_image001_196320E6.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-40-metablogapi/5025.clip_5F00_image001_5F00_196320E6.jpg"><img title="clip_image001" style="display: inline;" border="0" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/40/metablogapi/5074.clip_image001_thumb_17B25512.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-40-metablogapi/5074.clip_5F00_image001_5F00_thumb_5F00_17B25512.jpg" width="373" height="179" /></a></b></p>  <p><b></b></p>  <p><b></b></p>  <p><b><u>Changes for the website or Application in the applicationHost.config file:</u></b></p>  <p>1. Look for the &lt;sites&gt; section under &lt;system.applicationHost&gt; section. </p>  <p>2. Under &lt;sites&gt; look for the concerned website( or application ;&#160; I have chosen&#160; application “AppInit” present under “Default Web Site” here to explain the settings).&#160; For this website make sure you have preloadEnabled setting = “True” as shown below.</p>  <p>&lt;system.applicationHost&gt;    <br />&#160; &lt;sites&gt;     <br />&#160;&#160;&#160; &lt;site name=&quot;Default Web Site&quot; id=&quot;1&quot;&gt;     <br />&#160;&#160;&#160;&#160;&#160; &lt;application path=&quot;/&quot;&gt;     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;virtualDirectory path=&quot;/&quot; physicalPath=&quot;%SystemDrive%\inetpub\wwwroot&quot; /&gt;     <br />&#160;&#160;&#160;&#160;&#160; &lt;/application&gt;     <br />&#160;&#160;&#160;&#160;&#160; &lt;application name=&quot;AppInit&quot; applicationPool=&quot;DefaultAppPool&quot; preloadEnabled=&quot;true&quot;&gt;     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;virtualDirectory path=&quot;/AppInit&quot; physicalPath=&quot;c:\inetpub\wwwroot\appinit&quot; /&gt;     <br />&#160;&#160;&#160;&#160;&#160; &lt;/application&gt;     <br />&#160;&#160;&#160; &lt;/site&gt;     <br />&#160; &lt;/sites&gt;     <br />&lt;/system.applicationHost&gt;</p>  <p><b><u>Changes to the concerned Website/Application (These changes can be also made in applicationHost.config file, here,for simplicity, I am mentioning the steps to do so using web.config of the concerned site ):</u></b></p>  <p>1. Go the web.config of the website and look for the &lt;configuration&gt; section and under this for&#160; &lt;system.webServer&gt; section.&#160; If the web.config is not present or these sections don’t exist, you will have to create them.</p>  <p>2. Under this&#160; &lt;system.webServer&gt; section please add the following appropriately as shown below:</p>  <p>=================================================</p>  <p>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</p>  <p>&lt;configuration&gt;</p>  <p>&lt;system.webServer&gt;</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;applicationInitialization remapManagedRequestsTo=&quot;splash.html&quot; skipManagedModules=&quot;true&quot;&gt;</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;add initializationPage=&quot;default.aspx&quot; /&gt;</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/applicationInitialization&gt;</p>  <p>&lt;/system.webServer&gt;</p>  <p>&lt;/configuration&gt;</p>  <p>================================================</p>  <p>Note:</p>  <p>1.&#160; The “splash.html” will be shown to the users when they browse to the “default.aspx” page until it is ready to be served.</p>  <p>2. You will need to restart w3svc service to make sure that the changes take effect.&#160; You can do this from the command prompt (running in admin mode) by following the steps below:</p>  <p>· net stop w3svc</p>  <p>· net start w3svc</p>]]></content:encoded>
    </item>
    <item>
      <title>Application Initialization UI Extension for IIS 8</title>
      <link>https://docs.microsoft.com/archive/blogs/abhisk/application-initialization-ui-extension-for-iis-8</link>
      <pubDate>Fri, 19 Apr 2013 03:56:22 GMT</pubDate>
      <dc:creator><![CDATA[Abhishek Kumar (MSFT)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/abhisk/2013/04/19/application-initialization-ui-extension-for-iis-8/</guid>
      <description><![CDATA[&#160;  This module provides a UI for Application Initialization (called Application Warm-Up module...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>This module provides a UI for Application Initialization (called <a href="https://www.iis.net/download/ApplicationInitialization">Application Warm-Up module</a> previously). </p>  <p>&#160;</p>  <p>Application Initialization makes sure that your application is ready to serve requests without having to wait for an actual client to make a request. It proactively loads and initializes all the dependencies of the application such as data base connections, Compilation of ASP.NET code, loading modules, thereby making the websites responsive at all times even if the Application Pool is recycled.</p>  <p>&#160;</p>  <p> The UI helps you configure settings at two Levels:</p>  <p>1. Global settings at the server level</p>  <p>2. Local settings at Application/Website level</p>  <p>&#160;</p>  <p>&#160; Configuring Global settings:</p>  <p>&#160;</p>&#160;&#160; <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/40/metablogapi/7026.image_1305F36E.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-40-metablogapi/7026.image_5F00_1305F36E.png"><img title="image" style="display: inline;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/40/metablogapi/6114.image_thumb_350E4F34.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-40-metablogapi/6114.image_5F00_thumb_5F00_350E4F34.png" width="592" height="352" /></a> </p>  <p>&#160;</p>  <p>&#160; </p>  <ul>   <li>Select the application Pool and make changes required to configure AppPool settings. ( Set the .Net framework as v4.0 and Start Mode as AlwaysRunning for setting up Application Initialization)</li> </ul>  <p>&#160;</p>  <h2><strong><u>Configuring Website/Application level settings:</u></strong></h2>  <p>&#160;</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/40/metablogapi/0508.image_0176D7CD.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-40-metablogapi/0508.image_5F00_0176D7CD.png"><img title="image" style="display: inline;" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/40/metablogapi/1050.image_thumb_51D8B940.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-40-metablogapi/1050.image_5F00_thumb_5F00_51D8B940.png" width="568" height="317" /></a> </p>  <p>&#160;</p>  <p>Configure All the settings for your Web Site or Application to enable Application Initialization using this UI. Apart from the “Global Application Settings” , changes made here are saved to the web.config of your application/website.</p>  <p>&#160; </p>  <p>&#160;</p>  <p><strong><u>Downloading and Installing this UI Extension for IIS 8:</u></strong></p>  <p>&#160;</p>  <p>Once you download and install this UI , It:</p>  <ul>   <li>Registers ApplicationInitializationUI.dll to the GAC (Global Assembly Cache) on the server.</li>    <li>Adds the following lines to your administration.config under their respective sections:</li> </ul>  <p>&lt;moduleProviders&gt;</p>  <p>&#160;</p>  <p>&lt;add name=&quot;ApplicationInitializationUI&quot; type=&quot;ApplicationInitializationUI.AppInitProvider,ApplicationInitializationUI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=200af7975825e805&quot; /&gt;</p>  <p>&lt;/moduleProviders&gt;</p>  <p>&#160;</p>  <p>&lt;modules&gt;</p>  <p>&lt;add name=&quot;ApplicationInitializationUI&quot; /&gt;    <br />&#160;&#160;&#160; &lt;/modules&gt;</p>  <p><strong>NOTE: Before Installing this UI Extension, Please make sure you have “Application Initialization Feature” installed on IIS. You can read the Step by Step instructions mentioned&#160; </strong><a href="https://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-application-initialization#TOC301259895"><strong>here</strong></a><strong> for more information on how to install this Feature.</strong></p>  <p>&#160;</p>  <p>&#160;</p>  <p>&#160;</p>  <p>&#160;</p>  <div id="scid:12CF4F9E-00D5-4d59-A727-42B7641FBD93:6cd9e71f-ad5f-4cc4-8bc2-bac43e3a510a" class="wlWriterSmartContent" style="margin: 0px; padding: 0px; float: none; display: inline;">   <p></p>    <div>Download <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/58/40/metablogapi/0647.ApplicationInitializationUIExtension_7375F139.rar" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-58-40-metablogapi/0647.ApplicationInitializationUIExtension_5F00_7375F139.rar" target="_self">ApplicationInitializationUIExtension.rar</a></div>    <p></p> </div>  <div></div>  <p>&#160;</p>  <p>&#160;</p>  <p>&#160;</p>  <p>To read more about Application Initialization you might like to refer to the blogs below:</p>  <p><a href="https://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-application-initialization">https://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-application-initialization</a></p>  <p><a href="https://blogs.iis.net/wadeh/archive/2012/05/01/application-initialization-part-2.aspx">https://blogs.iis.net/wadeh/archive/2012/05/01/application-initialization-part-2.aspx</a></p>]]></content:encoded>
    </item>
  </channel>
</rss>