<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Technology 'n Me (Sukesh) : IIS7</title><link>http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx</link><description>Tags: IIS7</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How to configure SSL on IIS7 under Windows 2008 Server Core</title><link>http://blogs.msdn.com/sukeshak/archive/2008/05/19/how-to-configure-ssl-on-iis7-under-windows-2008-server-core.aspx</link><pubDate>Mon, 19 May 2008 10:03:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8518756</guid><dc:creator>sukeshak</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/8518756.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=8518756</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=8518756</wfw:comment><description>&lt;p&gt;Due to the popularity of Windows 2008 Server Core I have seen frequently questions about how to configure SSL on IIS7 with only command-line. Since I wandered that path few months back I thought of putting this article/guide together.&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.awesomeideas.net/post/2008/05/18/How-to-configure-SSL-on-IIS7-under-Windows-2008-Server-Core.aspx" href="http://www.awesomeideas.net/post/2008/05/18/How-to-configure-SSL-on-IIS7-under-Windows-2008-Server-Core.aspx"&gt;http://www.awesomeideas.net/post/2008/05/18/How-to-configure-SSL-on-IIS7-under-Windows-2008-Server-Core.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8518756" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/Appcmd/default.aspx">Appcmd</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/Server+Core/default.aspx">Server Core</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/SSL/default.aspx">SSL</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/certutil/default.aspx">certutil</category></item><item><title>IIS7 Mobile Admin now on codeplex !!!</title><link>http://blogs.msdn.com/sukeshak/archive/2008/03/20/iis7-mobile-admin-now-on-codeplex.aspx</link><pubDate>Thu, 20 Mar 2008 12:30:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8327172</guid><dc:creator>sukeshak</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/8327172.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=8327172</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=8327172</wfw:comment><description>&lt;p&gt;IIS7 Mobile Admin is a simple web application to administer IIS7 remotely using a mobile phone browser.&amp;#160; I provided few screenshots of IIS7 Mobile Admin in my previous blog post here &lt;a title="IIS7 Mobile Admin" href="http://www.awesomeideas.net/post/2008/03/04/IIS7-Mobile-Admin.aspx"&gt;http://www.awesomeideas.net/post/2008/03/04/IIS7-Mobile-Admin.aspx&lt;/a&gt;     &lt;br /&gt;    &lt;br /&gt;And I promised to get it on codeplex for your download pleasure and finally it's ready and available    &lt;br /&gt;    &lt;br /&gt;Project Home (Screenshots,FAQ) - &lt;a title="http://www.awesomeideas.net/page/IIS7-Mobile-Admin.aspx" href="http://www.awesomeideas.net/page/IIS7-Mobile-Admin.aspx"&gt;http://www.awesomeideas.net/page/IIS7-Mobile-Admin.aspx&lt;/a&gt;     &lt;br /&gt;Download &amp;amp; Discussion - &lt;a href="http://www.codeplex.com/iis7mobileadmin/"&gt;http://www.codeplex.com/iis7mobileadmin/&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;What are the features available in this release (called R1)?      &lt;br /&gt;&lt;/strong&gt;Search Application Pools &amp;amp; Web Sites&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Application Pool      &lt;ul&gt;       &lt;li&gt;Show Requests (Top 10 requests sort in descending order of 'Time Elapsed' &lt;/li&gt;        &lt;li&gt;Show Applications &lt;/li&gt;        &lt;li&gt;Recycle Application Pool &lt;/li&gt;        &lt;li&gt;TODO:Your wishes... &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;Web Sites      &lt;ul&gt;       &lt;li&gt;Show Configuration (Show all bindings for the website) &lt;/li&gt;        &lt;li&gt;Start Website &lt;/li&gt;        &lt;li&gt;Stop Website &lt;/li&gt;        &lt;li&gt;TODO:Your wishes &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Get more screenshots on Project Home &lt;a title="http://www.awesomeideas.net/page/IIS7-Mobile-Admin.aspx" href="http://www.awesomeideas.net/page/IIS7-Mobile-Admin.aspx"&gt;http://www.awesomeideas.net/page/IIS7-Mobile-Admin.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img src="http://www.awesomeideas.net/image.axd?picture=WindowsLiveWriter/IIS7MobileAdmin_D7C0/MobileUI_2.png" /&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8327172" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/Cool+Stuff/default.aspx">Cool Stuff</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/Hostable+Web+Core/default.aspx">Hostable Web Core</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/HWC/default.aspx">HWC</category></item><item><title>IIS7 Mobile Admin</title><link>http://blogs.msdn.com/sukeshak/archive/2008/03/06/iis7-mobile-admin.aspx</link><pubDate>Thu, 06 Mar 2008 14:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8070818</guid><dc:creator>sukeshak</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/8070818.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=8070818</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=8070818</wfw:comment><description>&lt;P&gt;I wanted to introduce something I’ve been working during last couple of weekends. Yes you guessed it “&lt;B&gt;IIS7 Mobile Admin&lt;/B&gt;” to show some love to our web server administrators who keeps our Web 2.0 world up and running!&lt;/P&gt;
&lt;P&gt;&lt;I&gt;Ingredients&lt;/I&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;I&gt;IIS7 Hosted Web core Service (which I wrote in C++, just like WMSVC IIS Management Service)&amp;nbsp; &lt;BR&gt;&lt;A href="http://www.awesomeideas.net/page/IIS7-Hostable-WebCore.aspx" mce_href="http://www.awesomeideas.net/page/IIS7-Hostable-WebCore.aspx"&gt;http://www.awesomeideas.net/page/IIS7-Hostable-WebCore.aspx&lt;/A&gt; &lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;I&gt;ASP.NET website specifically designed for use on browser of a cell phone using LINQ + IIS7 managed API (Microsoft.Web.Administration)&lt;/I&gt; &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;I would like to know what are some of the “must have” features you expect from this application. &lt;BR&gt;&lt;/B&gt;&lt;FONT color=#808080&gt;(Keep in mind this is not developed to replace or even be on par with desktop IIS7 manager)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Please add your suggestions/comments/ideas under the following blog post and &lt;STRONG&gt;check out more screenshots&lt;/STRONG&gt;. &lt;BR&gt;&lt;A href="http://www.awesomeideas.net/post/2008/03/04/IIS7-Mobile-Admin.aspx" mce_href="http://www.awesomeideas.net/post/2008/03/04/IIS7-Mobile-Admin.aspx"&gt;http://www.awesomeideas.net/post/2008/03/04/IIS7-Mobile-Admin.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Plan is to get this complete package (both binary &amp;amp; source) on &lt;A href="http://www.codeplex.com/" mce_href="http://www.codeplex.com"&gt;http://www.&lt;B&gt;codeplex&lt;/B&gt;.com&lt;/A&gt;&lt;B&gt; &lt;/B&gt;by next weekend! &lt;BR&gt;Picture is worth a “&lt;FONT color=#808080&gt;how many words do they say?&lt;/FONT&gt;” so a picture below showing how it looks when it runs inside Pocket IE in full-screen.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/IIS7MobileAdmin_F0B7/clip_image002_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/IIS7MobileAdmin_F0B7/clip_image002_2.jpg"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=599 alt=clip_image002 src="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/IIS7MobileAdmin_F0B7/clip_image002_thumb.jpg" width=314 border=0 mce_src="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/IIS7MobileAdmin_F0B7/clip_image002_thumb.jpg"&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8070818" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/Cool+Stuff/default.aspx">Cool Stuff</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/Hostable+Web+Core/default.aspx">Hostable Web Core</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/HWC/default.aspx">HWC</category></item><item><title>IIS7 Hostable Web Core Custom Service (WebCoreService)</title><link>http://blogs.msdn.com/sukeshak/archive/2007/12/24/iis7-hosted-web-core-custom-service-webcoreservice.aspx</link><pubDate>Mon, 24 Dec 2007 12:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6852020</guid><dc:creator>sukeshak</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/6852020.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=6852020</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=6852020</wfw:comment><description>&lt;P&gt;Hostable Web Core (known as HWC) is a new concept in IIS7 to host a website/webservice inside your own process. In short a smaller hosted version of IIS (an IIS7 express edition?). &lt;BR&gt;This is accomplished by making a LoadLibrary call to load hwebcore.dll (%systemdrive%\Windows\System32\inetsrv\hwebcore.dll)&lt;/P&gt;
&lt;P&gt;From IIS7 onwards you can administer IIS7 remotely using IIS Manager (through HTTPS). When you connect remotely you are actually connecting to a "Web Management Service" called WMSVC. This service uses HWC so that it's not dependent on IIS7 services directly. &lt;/P&gt;
&lt;P&gt;I had some idea around building alternative UI for IIS7, but since WMSVC service calls are not publicly documented I didn't want to start using it since my application might break anytime. So HWC was a surprise to me but with a glitch. I'm too used to managed code that I haven't written C++ code from last 6years. During 1996-2000 C/C++ was my favorite language and then got into languages which are less fussy (VB/VB.net &amp;amp; C#).&lt;/P&gt;
&lt;P&gt;But I had multiple challenges 1) Writing something in a language which I've not used for last 6 years. 2) Writing a windows service which I haven't done before.&lt;/P&gt;
&lt;P&gt;Before diving into the code let's see limitations of HWC (Calling it limitation is wrong so let's say it's by design)&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Only one application pool &lt;/LI&gt;
&lt;LI&gt;Only one website/webservice &lt;/LI&gt;
&lt;LI&gt;Separate configuration file &lt;/LI&gt;
&lt;LI&gt;No monitoring like available for IIS7 application pools &lt;/LI&gt;
&lt;LI&gt;Require IIS7 to be installed &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;PS: Project files are in VS2008 but the application doesn't have any dependency with newer versions.&lt;/P&gt;
&lt;P&gt;Ingredients of my &lt;STRONG&gt;WebCoreService&lt;/STRONG&gt;.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Native Windows Service which host HWC which provides install/uninstall options &lt;/LI&gt;
&lt;LI&gt;Good IIS7 configuration file (applicationHost.config) which contains all configuration required to run ASP/ASPX/ASMX... pages &lt;/LI&gt;
&lt;LI&gt;TODO: Web/WCF service hosted inside this service which publishes all the management API's for consumption &lt;/LI&gt;
&lt;LI&gt;TODO: Alternate client for managing IIS7 &lt;/LI&gt;&lt;/OL&gt;
&lt;OL&gt;
&lt;LI&gt;Native Windows Service which host HWC. Below is a screenshot to see the options available using command-line &lt;BR&gt;&amp;nbsp;&lt;A href="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/IIS7HostedWebCoreandRemoteAdministration_A4DB/help_2.png" mce_href="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/IIS7HostedWebCoreandRemoteAdministration_A4DB/help_2.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=208 alt=help src="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/IIS7HostedWebCoreandRemoteAdministration_A4DB/help_thumb.png" width=552 border=0 mce_src="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/IIS7HostedWebCoreandRemoteAdministration_A4DB/help_thumb.png"&gt;&lt;/A&gt; &lt;/LI&gt;
&lt;LI&gt;All the configuration including where the website points to and what port it's hosting the site etc are mentioned in the configuration file called "WebCoreService.config". This is nothing but the actual applicationHost.config file after few of those things removed from it. &lt;/LI&gt;
&lt;LI&gt;This could be a good managed Webservice or WCF service which would expose management API's. &lt;/LI&gt;
&lt;LI&gt;How about a Mobile Client? which supports SMS (Texting). Just imagine sending a text message to recycle one of the application pool ? &lt;BR&gt;Hosting management site running inside this? &lt;BR&gt;These are only few of those possibilities though :) think crazy stuff and let me know. &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;How to RUN the service?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Extract the zip files with source and the binary files. &lt;BR&gt;Follow these steps to setup the service (&lt;FONT color=#ff0000&gt;make sure you are doing&amp;nbsp;this from an elevated command prompt&lt;/FONT&gt;)&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create a folder called "TestPath" inside your "C:\inetpub\" folder &lt;/LI&gt;
&lt;LI&gt;Create 2 folder inside called "wwwroot" and "Logs" &lt;/LI&gt;
&lt;LI&gt;Drop "time.asp" and "time.aspx" pages inside the "wwwroot" folder &lt;/LI&gt;
&lt;LI&gt;Enable event logs notification from the service&lt;BR&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\WebCoreService]&lt;BR&gt;Create a string key "EventMessageFile" and set value as full path to "sample.dll" under the bin folder&lt;BR&gt;Create a DWORD key "TypesSupported" and give value of "00000007"&lt;/LI&gt;
&lt;LI&gt;Goto the folder where the EXE file resides "WebCoreService.EXE" &lt;/LI&gt;
&lt;LI&gt;Install the service using the following command &lt;BR&gt;&lt;STRONG&gt;WebCoreService install&lt;/STRONG&gt; &lt;/LI&gt;
&lt;LI&gt;Start the service using the following command &lt;BR&gt;&lt;STRONG&gt;net start WebCoreService&lt;/STRONG&gt; &lt;/LI&gt;
&lt;LI&gt;Browse to the page &lt;A href="http://localhost:8080/time.asp" mce_href="http://localhost:8080/time.asp"&gt;http://localhost:8080/time.asp&lt;/A&gt; &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT color=#008000 size=3&gt;Bingo! Hostable webcore service is ready.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;All the configuration mentioned above like folder path, port number etc can be modified inside the configuration file "WebCoreService.exe.config"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Do let me know if you have any questions or suggestions or even ideas !!!&lt;BR&gt;&lt;EM&gt;Source &amp;amp; binary =&amp;gt; &lt;A href="http://code.msdn.com/hwc/"&gt;http://code.msdn.com/hwc/&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6852020" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/Hostable+Web+Core/default.aspx">Hostable Web Core</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/HWC/default.aspx">HWC</category></item><item><title>Kernel mode authentication in IIS7</title><link>http://blogs.msdn.com/sukeshak/archive/2007/11/27/kernel-mode-authentication-in-iis7.aspx</link><pubDate>Tue, 27 Nov 2007 14:42:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6548912</guid><dc:creator>sukeshak</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/6548912.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=6548912</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=6548912</wfw:comment><description>&lt;p&gt;Here is another featured moved to kernel mode. Yea it's Windows Authentication which is by default configured to run in kernel mode.&lt;/p&gt; &lt;p&gt;To see the dialog right click on "Windows Authentication" and select "Advanced Settings..."&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/KernelmodeauthenticationinIIS7_F031/KernelAuth_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="392" alt="KernelAuth" src="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/KernelmodeauthenticationinIIS7_F031/KernelAuth_thumb.png" width="563" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;This applies to Windows 2008 build and not Vista RTM.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6548912" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>Differences in SSL request/response flow on IIS6 vs IIS7 (Kernel mode SSL)</title><link>http://blogs.msdn.com/sukeshak/archive/2007/11/26/differences-in-ssl-request-response-flow-on-iis6-vs-iis7-kernel-mode-ssl.aspx</link><pubDate>Mon, 26 Nov 2007 18:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6531643</guid><dc:creator>sukeshak</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/6531643.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=6531643</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=6531643</wfw:comment><description>&lt;P&gt;There are so many things which has changed in IIS7 for the better and one of them is about the way SSL works. Although IIS6 allowed kernel mode SSL (starting with Windows 2003 SP1) that wasn't the default option. As far as I know (AFAIK) not many customers used it or knew about it. &lt;/P&gt;
&lt;P&gt;Starting with IIS7 kernel mode SSL is going to be the default setting and the only setting. This was primarily for performance reasons. So let us see how it differs.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IIS6 SSL request/response flow&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE class="" cellSpacing=0 cellPadding=2 width=562 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="" width=146&gt;1. Request &lt;BR&gt;2. HTTP.SYS &lt;BR&gt;3. HTTPFilter &lt;BR&gt;4. HTTP.SYS &lt;BR&gt;5. Worker process &lt;BR&gt;6. HTTP.SYS &lt;BR&gt;7. HTTPFilter &lt;BR&gt;8. HTTP.SYS &lt;BR&gt;9. Response&lt;/TD&gt;
&lt;TD class="" width=413&gt;(Encrypted Request from client)&lt;BR&gt;(Kernel Mode driver for HTTP accepts the request)&lt;BR&gt;(Sent to user mode service to decrypt)&lt;BR&gt;(Decrypted request comes back)&lt;BR&gt;(Sent decrypted request to W3Wp =&amp;gt; IIS)&lt;BR&gt;(Response comes back from IIS)&lt;BR&gt;(Sent again to user mode to encrypt response)&lt;BR&gt;(Encrypted response arrives from user mode)&lt;BR&gt;(Encrypted response sent back to client)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IIS7 SSL request/response flow&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE class="" cellSpacing=0 cellPadding=2 width=606 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="" width=148&gt;1. Request &lt;BR&gt;2. HTTP.SYS &lt;BR&gt;3. Worker process &lt;BR&gt;4. HTTP.SYS &lt;BR&gt;5. Response&lt;/TD&gt;
&lt;TD class="" width=456&gt;(Encrypted Request from client)&lt;BR&gt;(Kernel Mode driver for HTTP accepts and decrypts using SChannel)&lt;BR&gt;(Sent decrypted request to W3Wp =&amp;gt; IIS)&lt;BR&gt;(Response from IIS is encrypted using SChannel)&lt;BR&gt;(Encrypted Response sent back to client)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;You know that context switching between kernel mode and user mode is expensive and this new design of how SSL processing is done inside kernel mode increases performance on IIS7.&lt;/P&gt;
&lt;P&gt;IIS7 Rocks!!!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6531643" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>How to Check certificate expiry for webserver (IIS) certificates using script</title><link>http://blogs.msdn.com/sukeshak/archive/2007/09/12/how-to-check-certificate-expiry-for-webserver-iis-certificates-using-script.aspx</link><pubDate>Thu, 13 Sep 2007 08:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4889098</guid><dc:creator>sukeshak</dc:creator><slash:comments>18</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/4889098.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=4889098</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=4889098</wfw:comment><description>&lt;P&gt;Although the title says webserver certificates the script is not limited to webserver certificates only.&lt;/P&gt;
&lt;P&gt;This script is useful for admins to check expiry dates of server certificates and be prepared to renew or change them. In case if you have ideas of using this in your server environment and you need help in tweaking this script do let me know.&lt;/P&gt;
&lt;P&gt;Please copy &amp;amp; paste script below into a file called "CertExpiryCheck.vbs" and run the script from command line like&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#0000ff&gt;C:\&amp;gt; cscript certexpirycheck.vbs [SubjectName]&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\&amp;gt; cscript certexpirycheck.vbs sukak&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/HowtoCheckcertificateexpiryforwebserverc_98F4/CertExpirycheck.jpg" mce_href="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/HowtoCheckcertificateexpiryforwebserverc_98F4/CertExpirycheck.jpg"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=65 alt=CertExpirycheck src="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/HowtoCheckcertificateexpiryforwebserverc_98F4/CertExpirycheck_thumb.jpg" width=480 border=0 mce_src="http://blogs.msdn.com/blogfiles/sukeshak/WindowsLiveWriter/HowtoCheckcertificateexpiryforwebserverc_98F4/CertExpirycheck_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;* here "sukak" is subject name which usually would be your domain name (FQDN)&lt;BR&gt;* Issued by also shows "sukak" in my case since the test was done using self issued certificate created using selfSSL.exe&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;PRE style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;SPAN style="COLOR: #008000"&gt;'**************************************************&lt;/SPAN&gt;
&lt;SPAN style="COLOR: #008000"&gt;'* CertExpiryCheck.vbs&lt;/SPAN&gt;
&lt;SPAN style="COLOR: #008000"&gt;'* Enumerate certificates with day left for expiry &lt;/SPAN&gt;
&lt;SPAN style="COLOR: #008000"&gt;'**************************************************&lt;/SPAN&gt;

&lt;SPAN style="COLOR: #0000ff"&gt;Option&lt;/SPAN&gt; Explicit
&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt; SubjectName
&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt; WScript.Arguments.Count &amp;gt; 0 &lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;
    SubjectName = LCase(WScript.Arguments(0))
&lt;SPAN style="COLOR: #0000ff"&gt;Else&lt;/SPAN&gt;
    CommandUsage
&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;

&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt; Store, Certificates, Certificate
&lt;SPAN style="COLOR: #0000ff"&gt;Const&lt;/SPAN&gt; CAPICOM_LOCAL_MACHINE_STORE = 1
&lt;SPAN style="COLOR: #0000ff"&gt;Const&lt;/SPAN&gt; CAPICOM_CERTIFICATE_FIND_SUBJECT_NAME = 1        
&lt;SPAN style="COLOR: #0000ff"&gt;Const&lt;/SPAN&gt; CAPICOM_STORE_OPEN_READ_ONLY = 0

&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt; Store = CreateObject(&lt;SPAN style="COLOR: #006080"&gt;"CAPICOM.Store"&lt;/SPAN&gt;)
Store.Open CAPICOM_LOCAL_MACHINE_STORE, &lt;SPAN style="COLOR: #006080"&gt;"MY"&lt;/SPAN&gt; ,CAPICOM_STORE_OPEN_READ_ONLY
&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt; Certificates = Store.Certificates.Find(CAPICOM_CERTIFICATE_FIND_SUBJECT_NAME, SubjectName, 0)

&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt; Certificates.Count &amp;gt;0 &lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;
   &lt;SPAN style="COLOR: #0000ff"&gt;For&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;Each&lt;/SPAN&gt; Certificate &lt;SPAN style="COLOR: #0000ff"&gt;in&lt;/SPAN&gt; Certificates
    &lt;SPAN style="COLOR: #008000"&gt;'Certificate.display()    'If you want to see the Cert in UI&lt;/SPAN&gt;
    WScript.Echo &lt;SPAN style="COLOR: #006080"&gt;"*** Subject "&lt;/SPAN&gt; &amp;amp; Certificate.SubjectName &amp;amp; &lt;SPAN style="COLOR: #006080"&gt;" ***"&lt;/SPAN&gt;
    WScript.Echo &lt;SPAN style="COLOR: #006080"&gt;"Issued by "&lt;/SPAN&gt; &amp;amp; Certificate.IssuerName 
    WScript.Echo &lt;SPAN style="COLOR: #006080"&gt;"Valid from "&lt;/SPAN&gt; &amp;amp; Certificate.ValidFromDate &amp;amp; &lt;SPAN style="COLOR: #006080"&gt;" to "&lt;/SPAN&gt; &amp;amp; Certificate.ValidToDate 
    WScript.Echo &lt;SPAN style="COLOR: #006080"&gt;"Days to expiry "&lt;/SPAN&gt; &amp;amp; DateDiff(&lt;SPAN style="COLOR: #006080"&gt;"d"&lt;/SPAN&gt;,now(),Certificate.ValidToDate)
    WScript.Echo 
   &lt;SPAN style="COLOR: #0000ff"&gt;Next&lt;/SPAN&gt;
 &lt;SPAN style="COLOR: #0000ff"&gt;Else&lt;/SPAN&gt;
  WScript.Echo &lt;SPAN style="COLOR: #006080"&gt;"No certificates with SubjectName =&amp;gt; '"&lt;/SPAN&gt; &amp;amp; SubjectName &amp;amp; &lt;SPAN style="COLOR: #006080"&gt;"'"&lt;/SPAN&gt;
&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;

&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt; Certificates = &lt;SPAN style="COLOR: #0000ff"&gt;Nothing&lt;/SPAN&gt;
&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt; Store = &lt;SPAN style="COLOR: #0000ff"&gt;Nothing&lt;/SPAN&gt;

&lt;SPAN style="COLOR: #0000ff"&gt;Sub&lt;/SPAN&gt; CommandUsage
  MsgBox &lt;SPAN style="COLOR: #006080"&gt;"Usage: CertExpiryCheck.vbs  [SubjectName] "&lt;/SPAN&gt;, vbInformation,&lt;SPAN style="COLOR: #006080"&gt;"CertExpiryCheck"&lt;/SPAN&gt;
  WScript.Quit(1)
&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt; Sub&lt;/PRE&gt;&lt;/DIV&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just keep in mind you need capicom.dll to use this script. This comes default on Windows 2003 (I guess) but might need to be downloaded and registered on other platforms like Vista. Use &lt;STRONG&gt;regsvr32 capicom.dll &lt;/STRONG&gt;to register it first before using the script.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4889098" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS+_2600_amp_3B00_+HTTP/default.aspx">IIS &amp;amp; HTTP</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/Cool+Stuff/default.aspx">Cool Stuff</category></item><item><title>Redirecting from http to https in IIS7 (http2https Updated)</title><link>http://blogs.msdn.com/sukeshak/archive/2007/09/05/redirecting-from-http-to-https-in-iis7-http2https-updated.aspx</link><pubDate>Wed, 05 Sep 2007 13:07:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4759266</guid><dc:creator>sukeshak</dc:creator><slash:comments>11</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/4759266.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=4759266</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=4759266</wfw:comment><description>&lt;P&gt;I had written a sample to redirect all http traffic to https (secure) in September 2006 &lt;A title=http://blogs.msdn.com/sukeshak/archive/2006/09/03/http2https.aspx href="http://blogs.msdn.com/sukeshak/archive/2006/09/03/http2https.aspx" mce_href="http://blogs.msdn.com/sukeshak/archive/2006/09/03/http2https.aspx"&gt;http://blogs.msdn.com/sukeshak/archive/2006/09/03/http2https.aspx&lt;/A&gt; 
&lt;P&gt;In one of our internal discussion alias the question came up that this method does not work when SSL is forced on the website. Step 5 below handles that scenario by checking the "403.4 SSL required" response and handling it during OnEndRequest event. 
&lt;P&gt;&lt;STRONG&gt;So let us get into action (I'm using C# for this sample)&lt;/STRONG&gt; 
&lt;OL&gt;
&lt;LI&gt;Download and Install &lt;A href="http://www.iis.net/handlers/871/ItemPermaLink.ashx" mce_href="http://www.iis.net/handlers/871/ItemPermaLink.ashx"&gt;IIS7 Managed Module Starter Kit&lt;/A&gt;&lt;BR&gt;(Not really a requirement but it would make developing IIS7 modules easier) 
&lt;LI&gt;Rename the default class name created to "redir.cs" and rename project/solution/namespace to "http2https" 
&lt;LI&gt;Add the following code in "Init" method &lt;BR&gt;
&lt;DIV&gt;&lt;PRE style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;SPAN style="COLOR: #008000"&gt;// register for the BeginRequest event&lt;/SPAN&gt;
application.BeginRequest += &lt;SPAN style="COLOR: #0000ff"&gt;new&lt;/SPAN&gt; EventHandler(OnBeginRequest); 
application.EndRequest += &lt;SPAN style="COLOR: #0000ff"&gt;new&lt;/SPAN&gt; EventHandler(OnEndRequest);&lt;/PRE&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;LI&gt;Add the following method to implement "BeginRequest" event &lt;BR&gt;
&lt;DIV&gt;&lt;PRE style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;SPAN style="COLOR: #008000"&gt;//BeginRequest implementation&lt;/SPAN&gt;
&lt;SPAN style="COLOR: #0000ff"&gt;public&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;void&lt;/SPAN&gt; OnBeginRequest(Object sender, EventArgs e)
{
HttpApplication app = (HttpApplication)sender;
&lt;SPAN style="COLOR: #0000ff"&gt;string&lt;/SPAN&gt; HttpUrl = app.Request.Url.ToString(); 

   &lt;SPAN style="COLOR: #0000ff"&gt;if&lt;/SPAN&gt; (HttpUrl.StartsWith(&lt;SPAN style="COLOR: #006080"&gt;"http:"&lt;/SPAN&gt;))                           &lt;SPAN style="COLOR: #008000"&gt;//Redirection done only if URL starts with http:&lt;/SPAN&gt;
   {
   HttpUrl = HttpUrl.Replace(&lt;SPAN style="COLOR: #006080"&gt;"http:"&lt;/SPAN&gt;, &lt;SPAN style="COLOR: #006080"&gt;"https:"&lt;/SPAN&gt;);
   app.Response.Redirect(HttpUrl.ToString(), &lt;SPAN style="COLOR: #0000ff"&gt;true&lt;/SPAN&gt;);           &lt;SPAN style="COLOR: #008000"&gt;//Redirecting (http 302) to the same URL but with https&lt;/SPAN&gt;
   app.Response.End();                                        &lt;SPAN style="COLOR: #008000"&gt;//We don't want to any further so end&lt;/SPAN&gt;
   }
} 
&lt;/PRE&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;P&gt;Add the following method to implement "OnEndRequest" event&lt;BR&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;PRE style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&lt;SPAN style="COLOR: #008000"&gt;//This is for scenario where SSL is forced on the site&lt;/SPAN&gt;
&lt;SPAN style="COLOR: #0000ff"&gt;public&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;void&lt;/SPAN&gt; OnEndRequest(Object sender, EventArgs e)
{
  HttpApplication app = (HttpApplication)sender;
  &lt;SPAN style="COLOR: #0000ff"&gt;if&lt;/SPAN&gt; (app.Response.StatusCode == 403 &amp;amp;&amp;amp; app.Response.SubStatusCode == 4)
  { 
    &lt;SPAN style="COLOR: #0000ff"&gt;string&lt;/SPAN&gt; HttpUrl = app.Request.Url.ToString();

    &lt;SPAN style="COLOR: #0000ff"&gt;if&lt;/SPAN&gt; (HttpUrl.StartsWith(&lt;SPAN style="COLOR: #006080"&gt;"http:"&lt;/SPAN&gt;))
    {
        HttpUrl = HttpUrl.Replace(&lt;SPAN style="COLOR: #006080"&gt;"http:"&lt;/SPAN&gt;, &lt;SPAN style="COLOR: #006080"&gt;"https:"&lt;/SPAN&gt;);
        app.Response.Redirect(HttpUrl.ToString(), &lt;SPAN style="COLOR: #0000ff"&gt;true&lt;/SPAN&gt;);
        app.Response.End();
    }
}

&lt;/PRE&gt;&lt;BR&gt;&lt;/DIV&gt;
&lt;LI&gt;Make sure you have the following in your web.config inside configuration tag &lt;BR&gt;
&lt;DIV&gt;&lt;PRE style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0em; OVERFLOW: visible; WIDTH: 100%; COLOR: black; BORDER-TOP-STYLE: none; LINE-HEIGHT: 12pt; PADDING-TOP: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; BORDER-BOTTOM-STYLE: none"&gt;&amp;lt;system.webServer&amp;gt;
&amp;lt;modules&amp;gt;
   &amp;lt;add name=&lt;SPAN style="COLOR: #006080"&gt;"redir"&lt;/SPAN&gt; type=&lt;SPAN style="COLOR: #006080"&gt;"http2https.redir"&lt;/SPAN&gt; /&amp;gt;
&amp;lt;/modules&amp;gt;
&amp;lt;/system.webServer&amp;gt; 
&lt;/PRE&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Your http to https redirection sample is ready and also works if you force SSL!!! 
&lt;P&gt;&lt;STRONG&gt;&lt;BR&gt;How to deploy the HttpModule&lt;BR&gt;&lt;/STRONG&gt;There are multiple ways you can deploy this component (I'm assuming that it's being deployed for "default website") 
&lt;P&gt;&lt;U&gt;Method 1&lt;BR&gt;&lt;/U&gt;Create a folder called "App_Code" inside "%systemdrive%\inetpub\wwwroot"&lt;BR&gt;Copy "redir.cs" file into "App_Code" folder&lt;BR&gt;Copy "web.config" file inside "%systemdrive%\inetpub\wwwroot" 
&lt;P&gt;&lt;U&gt;Method 2&lt;BR&gt;&lt;/U&gt;Create a folder called "bin" inside "%systemdrive%\inetpub\wwwroot"&lt;BR&gt;Compile&amp;nbsp;"redir.cs" into "redir.dll" and copy&amp;nbsp;it into "bin" folder (to compile -&amp;gt; csc.exe /out:redir.dll /target:library redir.cs)&lt;BR&gt;Copy "web.config" file inside "%systemdrive%\inetpub\wwwroot" 
&lt;P&gt;If you open IIS7 UI and go to Modules you can see your HttpModule listed there.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#ff0000&gt;Source code attached with this post&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4759266" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/sukeshak/attachment/4759266.ashx" length="200372" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>Redirecting from http to https in IIS7</title><link>http://blogs.msdn.com/sukeshak/archive/2006/09/03/http2https.aspx</link><pubDate>Sun, 03 Sep 2006 20:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:738246</guid><dc:creator>sukeshak</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/738246.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=738246</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=738246</wfw:comment><description>&lt;p&gt;I was thinking to write an HttpModule for IIS7 and wanted a simple, useful and easily understandable scenario. Working with IIS customers for last 3 years one of those common scenario came into my mind, Redirecting http traffic to https. Although this is pretty straight forward requirement, till IIS6 it was difficult to achieve. Check the following KB 839357 (specifically for OWA scenario) which explains the cumbersome&amp;nbsp;steps .&lt;/p&gt; &lt;p&gt;(If you are looking for same functionality in prior versions of IIS, find it at the bottom of this post)&lt;/p&gt; &lt;p&gt;HttpModules are not something new if you are an ASP.NET developer. But there&amp;nbsp;are some differences. In IIS7 because of integrated pipeline, HttpModule applies to any request not just ASP.NET and that includes htm,jpg,asp,aspx,asmx,php,jsp...&lt;/p&gt; &lt;p&gt;&lt;strong&gt;So let us get into action (I'm using C# for this sample)&lt;/strong&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Download and Install &lt;a href="http://www.iis.net/handlers/871/ItemPermaLink.ashx" target="_blank"&gt;IIS7 Managed Module Starter Kit&lt;/a&gt;&lt;br&gt;(Not really a requirement but it would make developing IIS7 modules easier)  &lt;li&gt;Rename the default class name created to "redir.cs" and rename project/solution/namespace to "http2https"  &lt;li&gt;Add the following code in "&lt;font color="#0000ff"&gt;Init&lt;/font&gt;" method &lt;br&gt; &lt;p&gt;&lt;font color="#008080"&gt;&lt;font color="#008000"&gt;// register for the BeginRequest event&lt;/font&gt;&lt;br&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;application.BeginRequest += new EventHandler(OnBeginRequest);&lt;/font&gt; &lt;/p&gt; &lt;li&gt;Add the following method to implement "BeginRequest" event &lt;br&gt; &lt;p&gt;&lt;font color="#008000"&gt;//BeginRequest implementation&lt;/font&gt;&lt;br&gt;&lt;font color="#0000ff"&gt;public void OnBeginRequest(Object sender, EventArgs e)&lt;br&gt;{&lt;br&gt;HttpApplication app = (HttpApplication)sender;&lt;br&gt;string HttpUrl = app.Request.Url.ToString(); &lt;/font&gt; &lt;p&gt;&lt;font color="#0000ff"&gt;if (HttpUrl.StartsWith("http:"))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#008000"&gt;//Redirection done only if URL starts with http:&lt;/font&gt;&lt;br&gt;{&lt;br&gt;&amp;nbsp;&amp;nbsp; HttpUrl = HttpUrl.Replace("http:", "https:");&lt;br&gt;&amp;nbsp;&amp;nbsp; app.Response.Redirect(HttpUrl.ToString(), true);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#008000"&gt;//Redirecting (http 302) to the same URL but with https&lt;/font&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;app.Response.End();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#008000"&gt;//We don't want to any further so end&lt;/font&gt;&lt;br&gt;}&lt;br&gt;}&lt;/font&gt; &lt;/p&gt; &lt;li&gt;Make sure you have the following in your web.config inside configuration tag&lt;br&gt;&lt;font color="#0000ff"&gt;&amp;lt;system.webServer&amp;gt;&lt;br&gt;&amp;lt;modules&amp;gt;&lt;br&gt;&amp;lt;add name="redir" type="http2https.redir" /&amp;gt;&lt;br&gt;&amp;lt;/modules&amp;gt;&lt;br&gt;&amp;lt;/system.webServer&amp;gt;&lt;/font&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Your http to https redirection sample is ready!!!&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;br&gt;How to deploy the HttpModule&lt;br&gt;&lt;/strong&gt;There are multiple ways you can deploy this component (I'm assuming that it's being deployed for "default website")&lt;/p&gt; &lt;p&gt;&lt;u&gt;Method 1&lt;br&gt;&lt;/u&gt;Create a folder called "&lt;font color="#0000ff"&gt;App_Code&lt;/font&gt;" inside &lt;font color="#0000ff"&gt;"%systemdrive%\inetpub\wwwroot&lt;/font&gt;"&lt;br&gt;Copy "&lt;font color="#0000ff"&gt;redir.cs&lt;/font&gt;" file into "&lt;font color="#0000ff"&gt;App_Code&lt;/font&gt;" folder&lt;br&gt;Copy "&lt;font color="#0000ff"&gt;web.config&lt;/font&gt;" file inside &lt;font color="#0000ff"&gt;"%systemdrive%\inetpub\wwwroot&lt;/font&gt;"&lt;br&gt;&lt;/p&gt; &lt;p&gt;&lt;u&gt;Method 2&lt;br&gt;&lt;/u&gt;Create a folder called "&lt;font color="#0000ff"&gt;bin&lt;/font&gt;" inside &lt;font color="#0000ff"&gt;"%systemdrive%\inetpub\wwwroot&lt;/font&gt;"&lt;br&gt;Compile&amp;nbsp;"&lt;font color="#0000ff"&gt;redir.cs&lt;/font&gt;" into "&lt;font color="#0000ff"&gt;redir.dll&lt;/font&gt;" and copy&amp;nbsp;it into "&lt;font color="#0000ff"&gt;bin&lt;/font&gt;" folder (to compile -&amp;gt; csc.exe /out:redir.dll /target:library redir.cs)&lt;br&gt;Copy "&lt;font color="#0000ff"&gt;web.config&lt;/font&gt;" file inside &lt;font color="#0000ff"&gt;"%systemdrive%\inetpub\wwwroot&lt;/font&gt;"&lt;/p&gt; &lt;p&gt;If you open IIS7 UI and go to Modules you can see your HttpModule listed there.&lt;/p&gt; &lt;p&gt;&lt;br&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;u&gt;Redirection options for prior versions of IIS below (you need to search for these)&lt;/u&gt;&lt;/p&gt; &lt;p&gt;- ASP.NET URL mapping capability (HttpContext.RewritePath)&lt;br&gt;- IIS v6.0 Resource Kit includes the UrlRemap tool&lt;br&gt;- IISRewrite &lt;br&gt;- ISAPI_Rewrite - includes a "lite" version available for free. &lt;br&gt;- Mod_Rewrite 2&lt;br&gt;- Ionic's ISAPI Rewrite Filter&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=738246" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>ABC's of Appcmd (command line administration in IIS7)</title><link>http://blogs.msdn.com/sukeshak/archive/2006/05/24/605911.aspx</link><pubDate>Wed, 24 May 2006 15:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:605911</guid><dc:creator>sukeshak</dc:creator><slash:comments>8</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/605911.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=605911</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=605911</wfw:comment><description>&lt;P&gt;&lt;FONT color=#0000ff&gt;So what is Appcmd.exe?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;This is "one" command line tool to administer IIS7.&amp;nbsp; In IIS6 several of admin task were done using several scattered VBS script files. This made it difficult to find out what script needs to be run for eg. to get list of worker processes. &lt;/P&gt;
&lt;P&gt;So IIS7 is powered with Appcmd.exe which provides all the options you need to administer IIS7.&lt;/P&gt;
&lt;P&gt;Following are the options/categories available from a high level&lt;/P&gt;
&lt;TABLE cellSpacing=0 cellPadding=3 border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;SITE&lt;/TD&gt;
&lt;TD&gt;Administration of virtual sites&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;APP&lt;/TD&gt;
&lt;TD&gt;Administration of applications&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;VDIR&lt;/TD&gt;
&lt;TD&gt;Administration of virtual directories&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;APPPOOL&lt;/TD&gt;
&lt;TD&gt;Administration of application pools&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;CONFIG&lt;/TD&gt;
&lt;TD&gt;Administration of general configuration sections&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;WP&lt;/TD&gt;
&lt;TD&gt;Administration of worker processes&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;REQUEST&lt;/TD&gt;
&lt;TD&gt;Administration of HTTP requests&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;MODULE&lt;/TD&gt;
&lt;TD&gt;Administration of server modules&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;BACKUP&lt;/TD&gt;
&lt;TD&gt;Administration of server configuration backups&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;TRACE&lt;/TD&gt;
&lt;TD&gt;Working with failed request trace logs&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;&lt;STRONG&gt;Lets see how we can use it with an example&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;When I installed LH Server Beta (I rebuild my box quite frequently) I wanted to see how it's like to have 1000 websites running on IIS7. &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;So I created 1000 websites on my box. &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Good scenario to use Appcmd.exe and also my MS-DOS experience. No I'm not gone nutts to create it using the UI :)&lt;/P&gt;
&lt;P&gt;Steps required&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Wanted separate folders for each website 
&lt;LI&gt;Wanted to use same IP address and port for all websites 
&lt;LI&gt;Type a command and leave the box to create all the websites&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Keep in mind I'm not talking about Server but my desktop machine. Yea its got 2GB RAM though.&lt;/P&gt;
&lt;P&gt;Steps below&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Created a folder - &lt;FONT color=#ff0000&gt;E:\Websites&lt;/FONT&gt; 
&lt;LI&gt;I wrote a batch file (createsite.cmd) with the following&lt;BR&gt;&lt;FONT color=#ff0000&gt;&lt;STRONG&gt;MD&lt;/STRONG&gt; E:\Websites\Site%1&lt;BR&gt;&lt;STRONG&gt;appcmd&lt;/STRONG&gt; add site /name:"Site%1" /id:%1 /bindings:http/:*:80:site%1 /physicalPath:"E:\Websites\Site%1"&lt;/FONT&gt; &lt;BR&gt;&lt;FONT color=#ff0000&gt;&lt;STRONG&gt;appcmd&lt;/STRONG&gt; start site "Site%1"&lt;/FONT&gt;
&lt;LI&gt;Now the command to trigger the batch file where my MS-DOS experience came handy&lt;BR&gt;&lt;FONT color=#ff0000&gt;&lt;FONT color=#000000&gt;C:\&lt;/FONT&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt; /L %i IN (2,1,5) DO createsite.cmd %i&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;FOR command is a&amp;nbsp;batch file loop which simply works like 'for' loop in your favorite language&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;FONT color=#ff0000&gt;FOR /L %i IN (2,1,1000) DO createsite.cmd %i&lt;/FONT&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;is equivalent to the following in C&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff0000&gt;for ( i=2; i &amp;lt;= 1000; i++ )&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;createsite( i );&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;BR&gt;I started value of 'i' from 2 because "Default Website" has Site ID 1.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Hit enter and wait till the folders and websites are created for each iteration. &lt;/P&gt;
&lt;P&gt;Bingo !!! 1000 websites ready to be administered or tested.&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;So the result would be &lt;BR&gt;&lt;/FONT&gt;E:\Websites folder would have folders called Site2, Site3 etc... and in IIS there would be sites with name Site2, Site3 etc...&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;Lets revisit the appcmd command above once again&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;STRONG&gt;appcmd&lt;/STRONG&gt; &lt;STRONG&gt;add&lt;/STRONG&gt; &lt;STRONG&gt;site&lt;/STRONG&gt; &lt;BR&gt;/name:"Site%1" &lt;FONT color=#008000&gt;// website name&lt;BR&gt;&lt;/FONT&gt;/id:%1&amp;nbsp;&lt;FONT color=#008000&gt;// Site ID&lt;/FONT&gt;&lt;BR&gt;/bindings:http/:*:80:site%1&amp;nbsp;&lt;FONT color=#006400&gt;&lt;FONT color=#008000&gt;// site would have "All Unassigned" including host header with the site name&lt;/FONT&gt;&lt;BR&gt;&lt;/FONT&gt;/physicalPath:"E:\Websites\Site%1" &lt;/FONT&gt;&lt;FONT color=#008000&gt;// Pointing to the physical folder for that site&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;&lt;STRONG&gt;appcmd&lt;/STRONG&gt; start site "Site%1"&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#008000&gt;// pretty straight forward, it starts the website&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;What else can I do to extend this scenario?&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create Application Pools separately for each website 
&lt;LI&gt;Create a simple ASP page and drop it in every folder created 
&lt;LI&gt;Use TinyGET utility (available with IIS6 Resource Kit) to simulate request&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Some other useful command options &lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;Create Backup&lt;BR&gt;&lt;/FONT&gt;C:\&amp;gt;&lt;STRONG&gt;appcmd&lt;/STRONG&gt; add backup "backup before screwup"&lt;BR&gt;BACKUP object "backup before screwup" added&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;List Backup&lt;/FONT&gt;&lt;BR&gt;C:\&amp;gt;&lt;STRONG&gt;appcmd&lt;/STRONG&gt; list backup&lt;BR&gt;BACKUP "backup before screwup"&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;Restore from Backup&lt;/FONT&gt;&lt;BR&gt;C:\&amp;gt;&lt;STRONG&gt;appcmd&lt;/STRONG&gt; restore backup "backup before screwup"&lt;BR&gt;Restored configuration from backup "backup before screwup"&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;Currently Executing Requests&lt;/FONT&gt;&lt;BR&gt;C:\&amp;gt;&lt;STRONG&gt;appcmd&lt;/STRONG&gt; list&amp;nbsp; request&lt;BR&gt;REQUEST "fa00000080000487" (&lt;A href="GET"&gt;url:GET&lt;/A&gt; /highcpu.asp, time:1903 msec, client:localhost)&lt;/P&gt;
&lt;P&gt;Will add more of this later...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=605911" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>IIS Community Portal is here... !!!</title><link>http://blogs.msdn.com/sukeshak/archive/2006/05/23/iisdotnet.aspx</link><pubDate>Wed, 24 May 2006 07:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:605652</guid><dc:creator>sukeshak</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/605652.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=605652</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=605652</wfw:comment><description>&lt;P&gt;I'm&amp;nbsp;super excited to add this&amp;nbsp;post to announce the release of &lt;STRONG&gt;IIS Community Portal&lt;/STRONG&gt; -&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;A href="http://www.iis.net"&gt;&lt;STRONG&gt;www.iis.net&lt;/STRONG&gt;&lt;/A&gt; . To tell you, I've been waiting for it to be public so that I can blog about the site and open up on IIS7 features, tips &amp;amp; tricks.&lt;/P&gt;
&lt;P&gt;You might think why a community site for a server product? How are administrators going to contribute to a community site. Will it be asking questions and providing answers ? Then why a portal and why not just a forum?&lt;/P&gt;
&lt;P&gt;With the release of IIS7 (available in beta on Vista &amp;amp; Longhorn Server builds) and also on the CTP (Community Tech Preview) releases of the OS, there is a lot of meat added to developers.&lt;/P&gt;
&lt;P&gt;Prior to IIS7 it was VC++ developer friend because they could write ISAPI Filters &amp;amp; ISAPI Extensions to extend features of prior versions of IIS till IIS6. Then came ASP.NET and HTTP Handlers &amp;amp; Modules.&amp;nbsp; But then with the architecture of&amp;nbsp;IIS6, the control of http request processing was handled 1st by ISAPI's (you know why VC guys feel so proud) and then given a chance to .NET counter parts.&lt;/P&gt;
&lt;P&gt;Now with IIS7 the door is open for "Managed Code Developers" as well. Can you believe that? &lt;/P&gt;
&lt;P&gt;hmmm so now you're getting some hint on why we need IIS portal and not just a forum. So challenge would be for developers both managed &amp;amp; unmanaged world, to be creative and start developing your ideas into components like never before !!!&lt;/P&gt;
&lt;P&gt;So am I just talking about the same HTTP Handlers &amp;amp; HTTP Modules?&lt;/P&gt;
&lt;P&gt;Noooo, you can, not only change the way existing stuff works (like before) but also REPLACE default components.... Isn't that awesome power for us (developers) to dive in?&lt;/P&gt;
&lt;P&gt;Best example would be the sample Bill Staples showcased on how to change the look and feel of "Directory browsing" with cool image thumbnails... (See the video available at &lt;A href="http://www.iis.net"&gt;www.iis.net&lt;/A&gt;) &lt;/P&gt;
&lt;P&gt;But replacing features are not at all limited to the above mentioned&amp;nbsp;sample but your creative thinking. Everything becomes easy because now you can use your favorite .NET language for developing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=605652" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>IIS7 Administration User Interface</title><link>http://blogs.msdn.com/sukeshak/archive/2006/05/17/iis7screenshot.aspx</link><pubDate>Wed, 17 May 2006 10:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:599690</guid><dc:creator>sukeshak</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/599690.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=599690</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=599690</wfw:comment><description>&lt;P&gt;Here is a glimpse of the new IIS7 UI from my Vista Ultimate Edition. Just keep in mind that there might be changes happening before the release and might look different. Again this is Vista (which means client version) and not the Server version. Click thumbnails to see the rest.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Web Server Level&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A HREF="/photos/sukeshak/images/599676/original.aspx" target=_blank&gt;&lt;IMG src="/photos/sukeshak/images/599676/495x375.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A HREF="/photos/sukeshak/picture599676.aspx" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A HREF="/photos/sukeshak/images/599676/original.aspx" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Web Site Level&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A HREF="/photos/sukeshak/images/599677/original.aspx" target=_blank&gt;&lt;IMG src="/photos/sukeshak/images/599677/495x375.aspx" border=0&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A HREF="/photos/sukeshak/images/599677/original.aspx" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Modules (both managed and unmanaged)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A HREF="/photos/sukeshak/images/599678/original.aspx" target=_blank&gt;&lt;IMG src="/photos/sukeshak/images/599678/495x375.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A HREF="/photos/sukeshak/images/599678/original.aspx" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SMTP configuration for using email in applications&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A HREF="/photos/sukeshak/images/599679/original.aspx" target=_blank&gt;&lt;IMG src="/photos/sukeshak/images/599679/495x375.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A HREF="/photos/sukeshak/images/599679/original.aspx" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A HREF="/photos/sukeshak/images/599679/original.aspx" target=_blank&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;more of these coming up soon...&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=599690" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>Evolution of HTTP on Windows Platform</title><link>http://blogs.msdn.com/sukeshak/archive/2006/05/16/httpevolution.aspx</link><pubDate>Wed, 17 May 2006 09:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:599659</guid><dc:creator>sukeshak</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/599659.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=599659</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=599659</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Before the boom of web and internet, HTTP was not so common is everyday life. When internet became more and more widely used, HTTP also grew in usage.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Basic web server serves static HTML type contents and then was the era in which there came several ways to extend the web server and its features. Because of the popularity of the web, on internet most of the companies connected to the web have port 80 (which is the default HTTP port) open on firewalls. Which simply means that to use HTTP most of the companies didn’t have restrictions and thereby became the default and uninterrupted way of global communication?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;HTTP on Windows platform was initially used only by IIS for serving web sites. Gradually because of the simplicity and availability (of open port 80) of HTTP several other applications started using HTTP as a medium of transport. Then came the wave of all HTTP based protocols and having another protocol tunnel through HTTP. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;RPC over HTTP (I would call it as “RPC through HTTP” rather) for Exchange and SQL to name a few. SQL started supporting HTTP so that you can expose a database over the web using HTTP and SQL queries can be executed using query string and the results returned as XML. Once, more and more application platforms started using HTTP, it became important that we have a uniform &amp;amp; consistent way on Windows platform to use HTTP protocol. So the kernel mode driver called HTTP.SYS was born. Since it’s a kernel mode driver, it gives us a lot of advantages (mainly on 64bit machines with a huge amount of memory for kernel mode caching and getting higher performance) and creates a layer which gives a consistent way of utilizing HTTP protocol. HTTP.SYS also provides API’s if we need to use HTTP protocol directly and bypass IIS. This route would obviously lack other features provided by IIS like health monitoring, easy management etc… but can be utilized for specific needs.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Next big leap – IIS7&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Before we look at some of those upcoming features in IIS7, let us see what we lack till the current version of IIS i.e. IIS6.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l1 level1 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Delegation of administration (very important for website hosting and also for hosting department websites with its own admin)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l1 level1 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Extensibility (A thorough understanding of IIS is required in order to write high performance ISAPI Filters or Extensions)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l1 level1 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;You can add features but not replace features&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l1 level1 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Managing IIS was not possible when it comes to higher number of websites simply because the MMC style of interface is not efficient.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l1 level1 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Even if you use ASP.NET (handlers or modules) it works at a lower level than ISAPI Filters/Extensions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l1 level1 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Debugging or tracing (A fair amount of tracing features were introduced in IIS6 and more with SP1 but still we resort to post-mortem dumps for 60% of our cases)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l1 level1 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;XCopy deployment of websites.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;Now “few” of the highlights from IIS7 features list&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Delegation of administration to granular level (like attribute level) and users can be either from Active Directory / SAM (workgroup) or custom database&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;You have managed and unmanaged API's to access IIS or for admin purposes (e.g. showing&amp;nbsp;a list of pages currently running and how much CPU each of them are taking). This is possible in IIS6 with SP1 (Windows 2003 SP1) but with extra tools, but in IIS7 it’s available inside the MMC itself.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;You can search or book mark a website when you have too many sites, for easy administration.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Now with the new Integrated Pipeline, you can write managed or unmanaged ISAPI&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;A lot of tracing functionalities are included e.g. Failed Request Tracing etc... Even specifics like “only requests failed with authentication” etc...&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Since website related details (like default page etc...) are stored inside web.config (not necessarily ASP.NET application) you can deploy sites using XCopy and it simply works.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;You can enable admin service with a different secure port which can be used for administering IIS remotely (http). This is not an admin website like before but a separate service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;You can replace existing IIS components by replacing the dll name in the application.config file. Example custom logging, custom authentication. This simply means that everything is pluggable and only required features are installed or loaded into the process. For example you don't want "Basic Authentication" you don't even install it.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This would reduce attack surface and enables better performance also.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;My favorite feature, you can enable forms authentication with a single page (uses .NET 2.0) for htm / asp / asp.net / php / cgi / images or any application web site.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;You can see some managed code snippets of IIS7 Admin API’s from the following link&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;A title=http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx HREF="/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx"&gt;http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Make sure you see the piece of code&amp;nbsp;titled “&lt;B&gt;Getting list of executing requests&lt;/B&gt;” which is my favorite.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Coming up - Screenshots of IIS7 Administration Interface &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=599659" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS+_2600_amp_3B00_+HTTP/default.aspx">IIS &amp;amp; HTTP</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>Back to Basics - HTTP/IIS (Part II)</title><link>http://blogs.msdn.com/sukeshak/archive/2006/05/16/httpbasics2.aspx</link><pubDate>Wed, 17 May 2006 09:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:599655</guid><dc:creator>sukeshak</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/599655.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=599655</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=599655</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; mso-outline-level: 1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Let us see how HTTP is extended to do more than serving static content.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;When we talk about Windows Platform &amp;amp; HTTP, Microsoft product which comes to the picture is IIS. In the early days (and early versions of IIS) HTTP was primarily used for hosting websites and to enable people to use browsers to request those websites.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;So in essence IIS (or for that matter any web server) is built to serve “static” HTML pages with resources like images (referring to IIS2). But later versions of IIS provided ways to extend the web server in order to provide dynamically serving websites. In IIS world we call it as ISAPI Extensions. Hmmm... So what is ISAPI Filters then?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Let’s try to understand more about ISAPI Filters, ISAPI Extensions &amp;amp; Wildcard ISAPI Extensions to get more clarity.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; mso-outline-level: 1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;ISAPI Filters&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;From the name itself you know that it’s something to do with filtering. Yea you got it right! So IIS exposes a set of notifications (IIS term for events) so that we can develop an ISAPI Filter (dll with a difference) to register for these notifications. When IIS triggers these notifications your ISAPI Filter DLL gets a chance to handle the data available for that specific notification. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; mso-outline-level: 1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Confused? Huh! Let me try with a hypothetical example then, &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Assume that you have an ASP application and you don’t want your web users to know that it’s really ASP. So what can you do? Let them request .ASPX pages and we will change the extension to .ASP before IIS gets it for further processing. Good Idea?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Change all your links in the site to point to .ASPX extension. And when web users request “default.aspx” the ISAPI Filter would change the file requested to “default.asp” without the user’s knowledge and show off that you are running an ASP.NET application but under the hood it’s a legacy ASP application. &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;How does this work or how is this implemented? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Like I mentioned before you need to use one of those ISAPI Filter notification called SF_NOTIFY_PREPROC (search on MSDN for more information). So what does that give us? When a request enters IIS and when IIS reads in the HTTP request header our ISAPI Filter gets a chance to access HTTP request header and if required we can modify it. So in our scenario, we would see that URL field in the header contains “default.aspx”. Yes you guessed it, we would change that URL to “default.asp” and let IIS know that it needs further processing. Cool deal hah!&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; mso-outline-level: 1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Important piece of code from the ISAPI source provided below to show how easy it is&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;
&lt;TABLE class=MsoTableGrid style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-yfti-tbllook: 480; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext" cellSpacing=0 cellPadding=0 border=1&gt;
&lt;TBODY&gt;
&lt;TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes"&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: windowtext 1pt solid; WIDTH: 6.15in; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt" vAlign=top width=590&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Char buffer[256];&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;DWORD buffSize = sizeof(buffer);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;BOOL bHeader = pHeaderInfo-&amp;gt;GetHeader(pCtxt-&amp;gt;m_pFC,"url",buffer,&amp;amp;buffSize); &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;CString urlString(buffer);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;urlString.MakeLower(); &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;if (urlString.Find("&lt;B style="mso-bidi-font-weight: normal"&gt;.aspx&lt;/B&gt;”) != -1) //we want to change this file’s extension&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;urlString.Replace("&lt;B style="mso-bidi-font-weight: normal"&gt;.aspx&lt;/B&gt;","&lt;B style="mso-bidi-font-weight: normal"&gt;.asp&lt;/B&gt;");&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;char *newUrlString= urlString.GetBuffer(urlString.GetLength());&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;pHeaderInfo-&amp;gt;SetHeader(pCtxt-&amp;gt;m_pFC, "url", newUrlString);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;//we’re done, now give it to IIS for further processing&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;return SF_STATUS_REQ_HANDLED_NOTIFICATION; &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; mso-outline-level: 1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;ISAPI Extensions&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;So like I mentioned before a web server serves static pages, the dynamic features like ASP, ASP.NET, PHP etc happens because of ISAPI extensions. So the obvious is that ISAPI Extensions are a way to extend the Web Server to add more features to it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;So once the requests surpass the ISAPI Filter and if the request is not for static page, IIS searches for an ISAPI extension which is mapped to the request file extension. If found the request is forwarded to that ISAPI Extension for further processing and returning a valid response back to the client.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;Wildcard ISAPI Extensions (IIS6 specific)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Here we will talk about why we need this piece and what are we trying to achieve here. Yes you guessed it, Wildcard extensions comes in between ISAPI Filters &amp;amp; ISAPI Extensions, so that it can have the features of both ISAPI Filters &amp;amp; Extensions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;
&lt;TABLE class=MsoTableGrid style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; WIDTH: 6.15in; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-yfti-tbllook: 480; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext" cellSpacing=0 cellPadding=0 width=590 border=1&gt;
&lt;TBODY&gt;
&lt;TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes"&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: windowtext 1pt solid; WIDTH: 51.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt" vAlign=top width=69&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Request&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 332pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" vAlign=top width=443&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" align=center&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;IIS&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt; [ ISAPI Filter -&amp;gt; Wildcard Extension -&amp;gt; ISAPI Extension]&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 59.4pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" vAlign=top width=79&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Response&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Before getting into details lets see the Pros &amp;amp; Cons of ISAPI Filters &amp;amp; ISAPI Extensions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;ISAPI Filters&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; mso-outline-level: 1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;Pros of ISAPI Filters&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l2 level1 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Every request can be intercepted regardless of the file extension&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l2 level1 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Filter notification allows us to enhance or replace some of the IIS features&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;OL style="MARGIN-TOP: 0in" type=a&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list 1.0in; mso-list: l2 level2 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Custom Redirection or request filtering&amp;nbsp;- &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;SF_NOTIFY_PREPROC_HEADERS&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list 1.0in; mso-list: l2 level2 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Custom Authentication – SF_NOTIFY_AUTHENTICATION&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list 1.0in; mso-list: l2 level2 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Modify IIS log values – SF_NOTIFY_LOG&lt;BR&gt;etc… (notification list documented on MSDN)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; mso-outline-level: 1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;Cons of ISAPI Filters&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;No Asynchronous support&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Uses IIS thread pool and cannot implement its own thread pool, so whatever processing of request is being done inside the filter should be completed quickly, otherwise chances are that IIS runs out of worker threads and users starts seeing errors like “Server too busy” or IIS gets into a hung state without responding to requests.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;No access to entity body (huh! its another term for HTTP request body)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;ISAPI Extensions&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; mso-outline-level: 1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;Pros of ISAPI Extensions&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l3 level1 lfo3"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Gets the entire entity body (HTTP request body)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l3 level1 lfo3"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Can implement custom thread pool&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l3 level1 lfo3"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Processing the request can be asynchronous&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; mso-outline-level: 1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;Cons of ISAPI Extensions&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l1 level1 lfo5"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Can handle only requests to specific extensions (because its mapped to specific file extension.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l1 level1 lfo5"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Processing happens only after getting the complete request entity body.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Wildcard ISAPI Extensions&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;Pros of ISAPI Wildcard Extensions (hybrid of Filter &amp;amp; Extension)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l4 level1 lfo4"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Every request can be intercepted regardless of the file extension&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.75in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;ISAPI Filters: Yes&lt;BR&gt;ISAPI Extensions: No&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=2&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l4 level1 lfo4"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Implement custom thread pool&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.75in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;ISAPI Filters: No&lt;BR&gt;ISAPI Extensions: Yes&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=3&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l4 level1 lfo4"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Asynchronous Processing&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.75in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;ISAPI Filters: No&lt;BR&gt;ISAPI Extensions: Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=4&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l4 level1 lfo4"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Handle entire request processing and return response to the client or hand over to an ISAPI Extension (according to the extension) for further processing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.75in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;ISAPI Filters: Yes&lt;BR&gt;ISAPI Extensions: Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=5&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l4 level1 lfo4"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Can get access to complete request entity body&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.75in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;ISAPI Filters: No&lt;BR&gt;ISAPI Extensions: Yes&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.75in; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;So from the above list you can see that Wildcard ISAPI Extension provides a way to get best of both worlds (ISAPI Filter &amp;amp; ISAPI Extension).&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=599655" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS+_2600_amp_3B00_+HTTP/default.aspx">IIS &amp;amp; HTTP</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category></item><item><title>Back to Basics - HTTP (Part I)</title><link>http://blogs.msdn.com/sukeshak/archive/2006/05/06/httpbasics.aspx</link><pubDate>Sat, 06 May 2006 13:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:591428</guid><dc:creator>sukeshak</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sukeshak/comments/591428.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sukeshak/commentrss.aspx?PostID=591428</wfw:commentRss><wfw:comment>http://blogs.msdn.com/sukeshak/rsscomments.aspx?PostID=591428</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center; mso-outline-level: 1" align=center&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Most of my interactions in the past with customers, web developers and some of my prior colleagues, I have found that a larger percentage of them don't have a good understanding of how HTTP protocol works. This could be due to various reasons; some of them could be like&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="MARGIN-TOP: 0in" type=disc&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Coming from windows application development background.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Not getting enough time to go through the details due to project deadlines. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Too difficult to get the meat out of HTTP RFC document because it’s too much to read.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;This results in lot of confusions and also leads to low performance application development. So I thought I would help the readers of putting those confusions to rest and explain all these in simple and effective way. So, in essence this article is no rocket science, but HTTP basics which most of those HTTP/IIS experts left out thinking that it would not be necessary to be explained (Or maybe its there but I missed noticing it).&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; mso-outline-level: 1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;Is HTTP a popular protocol, Oh really?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;The popularity of HTTP protocol is simply because it's a simple protocol when you try to understand it from grass root level. Because of the simplicity (huh, I think due to recent developments people have made it a little complex) HTTP is used extensively not just for serving HTML pages but in order to empower several applications to make it work on the web.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; mso-outline-level: 1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;How does a simple HTTP response look like?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;
&lt;TABLE class=MsoTableGrid style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-yfti-tbllook: 480; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext" cellSpacing=0 cellPadding=0 border=1&gt;
&lt;TBODY&gt;
&lt;TR style="HEIGHT: 124.5pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes"&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: windowtext 1pt solid; WIDTH: 6.15in; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 124.5pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt" width=590&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;#include &amp;lt;iostream.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;#include &amp;lt;windows.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;int main (int argc, char** argv,char **envp)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;cout &amp;lt;&amp;lt; "Content-Type: text/html\r\n\r\n"; &lt;FONT color=#006400&gt;//Header&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;cout &amp;lt;&amp;lt; "&amp;lt;h2&amp;gt;Hello World!&amp;lt;/h2&amp;gt;" &amp;lt;&amp;lt;endl;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;FONT color=#006400&gt;//Body&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;return 1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; mso-outline-level: 1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;How does HTTP works with authenticated request?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l1 level1 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Browser send GET request to IIS (remember 1&lt;SUP&gt;st&lt;/SUP&gt; request is always anonymous)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l1 level1 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;IIS returns 401 and provides WWW-Authenticate Header with the supported authentication methods&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l1 level1 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;According to authentication method Browser pop-up the dialog to enter credentials and then submits to IIS&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt; 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; tab-stops: list .5in; mso-list: l1 level1 lfo2"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Credentials gets validated and if valid, your GET request is served with HTTP Status 200 (200 = success)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify; mso-outline-level: 1"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana"&gt;Why do we need sessions in HTTP?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;Since HTTP is a connection-less protocol we need to provide a way to continue request-response process without having to create a ‘fresh’ newer connection for every request.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=591428" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS+_2600_amp_3B00_+HTTP/default.aspx">IIS &amp;amp; HTTP</category><category domain="http://blogs.msdn.com/sukeshak/archive/tags/IIS7/default.aspx">IIS7</category></item></channel></rss>