<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/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/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'Http Module'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=Http+Module&amp;orTags=0</link><description>Search results matching tag 'Http Module'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Why does IIS7 automatically register some of Asp.Net’s Http modules and Http handlers?</title><link>http://forums.iis.net/p/1157580/1903491.aspx#1903491</link><pubDate>Tue, 12 May 2009 21:36:10 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903491</guid><dc:creator>frankswildyears</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>Hello,&lt;br /&gt;&lt;br /&gt;Q1&lt;br /&gt;&lt;br /&gt;When IIS7 is running in integrated mode, it automatically registers some of managed Asp.Net modules ( such as FormsAuthenticationModule etc ) defined in &amp;lt;system.web&amp;gt; element of a root web.config file&lt;br /&gt;&lt;br /&gt;A) I understand that in order to use particular managed module with non-Asp.Net application, we would need to register that module with IIS7.&lt;br /&gt;&lt;br /&gt;But why does IIS, for example, &lt;b&gt;automatically &lt;/b&gt;register FormsAuthenticationModule, even if we don’t plan to use it for non-Asp.Net applications?&lt;br /&gt;&lt;br /&gt;Q2&lt;br /&gt;&lt;br /&gt;Book claims that ( when IIS7 is running in integrated mode ) settings for specific websites and virtual directories are stored in a separate section of a web.config file called &amp;lt;system.webServer&amp;gt;. Furthermore, if IIS7 finds any modules or handlers defined inside &amp;lt;system.web&amp;gt; element, it throws an exception.&lt;br /&gt;&lt;br /&gt;But then how is then IIS7 able to (by default) register some of Http handlers and Http modules defined in &amp;lt;system.web&amp;gt; element of a root web.config file? Shouldn’t it ignore them or throw an exception?</description></item><item><title>How does IIS7 decide when to invoke…?</title><link>http://forums.iis.net/p/1157579/1903490.aspx#1903490</link><pubDate>Tue, 12 May 2009 21:31:28 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903490</guid><dc:creator>frankswildyears</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;
 
  Normal
  0
  
  
  false
  false
  false
  
   
   
   
   
   
  
  MicrosoftInternetExplorer4
 

 
 




 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:&amp;quot;Table Normal&amp;quot;;
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:&amp;quot;&amp;quot;;
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:&amp;quot;Times New Roman&amp;quot;;
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}

&lt;span style="font-size:11pt;"&gt;Hello,&lt;/span&gt;

&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;Q1) Assuming we register Http module with IIS7 in order to be used for non-Asp.Net application ( say some Java app
) , when in the request’s life cycle will IIS7 invoke this module? Thus, how
will IIS7 decide when to invoke it? &lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;Q2) &lt;span&gt;&amp;nbsp;&lt;/span&gt;In order to register Http module with IIS7, we
need to put it in GAC. &lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;But is it also possible to register Http
module or Http handler without putting it in GAC?&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;



&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;thanx&lt;/span&gt;&lt;/p&gt;

</description></item><item><title>How to find Content-Type in IIS Filter module?</title><link>http://forums.iis.net/p/1155379/1893865.aspx#1893865</link><pubDate>Wed, 18 Feb 2009 15:20:06 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1893865</guid><dc:creator>neha.noma</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have one doubt regarding the Character-Set. I have written one small IIS filter module to fetch the name from query string and display it through our filter. However there is a problem as the characters in query string can be in different character-sets so I need to decode it keeping the Character set in mind. Till here the logic looks fine.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Now the actual problem starts here is that the HTTP Request does not have &amp;quot;Content-Type&amp;quot; header. How can I find the Content-Type of the requested page? &lt;/p&gt;&lt;p&gt;Is there a way to find the default Content-type header defined for Virtual Web Server.&amp;nbsp; &lt;/p&gt;&lt;p&gt;As far as my understanding, the IIS will add the response header once it starts rendering the page. And if the page does not have tag&amp;lt;meta htt-equiv=&amp;quot;Content-Type&amp;quot; content .. &amp;gt;, it will set the &amp;quot;Content-Type&amp;quot; header to Default.&lt;/p&gt;&lt;p&gt;In my case our filter intercepts the request, so no rendering has started yet. Please let me know how to find the &amp;quot;Content-Type&amp;quot; for partially/not processed web pages from filter.&lt;/p&gt;&lt;p&gt;Am I looking at wrong header, please correct me.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Neha &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Clearing modules</title><link>http://forums.iis.net/p/1153971/1888369.aspx#1888369</link><pubDate>Thu, 25 Dec 2008 22:46:23 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888369</guid><dc:creator>pajocomo</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;On ASP.NET (up to IIS6), I can remove all the HTTP modules (in the web.config file)&amp;nbsp;and add only the ones I want to.&lt;/p&gt;
&lt;p&gt;How can I do the same in IIS7?&lt;/p&gt;</description></item><item><title>XSSI with IIS (Conditional SSI)</title><link>http://forums.iis.net/p/1151326/1877589.aspx#1877589</link><pubDate>Mon, 25 Aug 2008 15:33:02 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1877589</guid><dc:creator>khblenk</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;does anyone know if there exist any solution to get SSI extensions (XSSI) work on IIS? We need conditional SSI (if...then...else) in SSI files urgently. Perhaps: Any .dll extensions from 3rd party vendors? When no solution is available for IIS we must migrate some hundred sites to apache :-(&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Karl-Heinz&lt;/p&gt;</description></item><item><title>Windows Vista Home Basic Edition : IIS 7</title><link>http://forums.iis.net/p/1147548/1861807.aspx#1861807</link><pubDate>Sun, 13 Jan 2008 13:50:16 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1861807</guid><dc:creator>aries0613</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have switched on the IIS 7 and noticed that the management console is not available.&lt;br /&gt;How can I&amp;nbsp;have this? Is there additional apps to install this.&lt;br /&gt;I also have HTML handler problem.&lt;br /&gt;Can anyone help me please?&lt;/p&gt;</description></item><item><title>Logs: about the sc-win32-status field</title><link>http://forums.iis.net/p/1147504/1861669.aspx#1861669</link><pubDate>Wed, 09 Jan 2008 16:11:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1861669</guid><dc:creator>remye06</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;Hello everybody,&lt;/p&gt;
&lt;p&gt;I&amp;#39;d like to tell you about the sc-win32-status field of the W3C Logging in IIS, which has become very useful in IIS7 (on Server 2008) since it makes you know about a transfer being complete or not. In other words, you can make sure that a file download was successfully terminated (&amp;#39;0&amp;#39;) and not aborted (&amp;#39;64&amp;#39;) by the client, without need of any ActiveX component or anything else on the client side.&lt;/p&gt;
&lt;p&gt;Although this field was already present in previous versions of IIS, it didn&amp;#39;t seem to be reliable at all (i.e. always returning &amp;#39;0&amp;#39; error code, depending on the versions of Windows&amp;amp;IIS).&lt;/p&gt;
&lt;p&gt;You can refer to the &amp;quot;NET HELPMSG&amp;quot; command to get information about the error code the Win32 Status returns.&lt;/p&gt;
&lt;p&gt;However, something getting me lost is that I still can&amp;#39;t figure out how to get this value from a HttpModule. The fact that the HttpApplication.LogRequest event was specifically included in the new IIS API leads me to think there&amp;#39;s a way to retrieve this information, and I&amp;#39;d love&amp;nbsp;that someone could tell me about it because I&amp;#39;ve been looking for it 2 whole days along so far &amp;gt;_&amp;lt;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s some accurate documentation I managed to find: &lt;/p&gt;
&lt;p&gt;&amp;nbsp;- &lt;a href="http://msdn2.microsoft.com/en-us/library/aa814385(VS.85).aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa814385(VS.85).aspx&lt;/a&gt;&amp;nbsp;(maybe useable from C# code ?)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- &lt;a href="http://blogs.msdn.com/david.wang/archive/2006/04/15/HOWTO-Get-Field-Data-for-Custom-Logging-with-ISAPI-Filter.aspx"&gt;http://blogs.msdn.com/david.wang/archive/2006/04/15/HOWTO-Get-Field-Data-for-Custom-Logging-with-ISAPI-Filter.aspx&lt;/a&gt;&amp;nbsp;(IIS6 related)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you !&lt;/p&gt;</description></item><item><title>Re: Are child requests supported in Integrated Pipeline Mode?</title><link>http://forums.iis.net/p/1132368/1859653.aspx#1859653</link><pubDate>Sat, 24 Nov 2007 10:32:40 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1859653</guid><dc:creator>jlchereau</dc:creator><cs:applicationKey>iis7_-_general--1</cs:applicationKey><description>&lt;p&gt;Hello Dean,&amp;nbsp;&lt;/p&gt;&lt;p&gt;Maybe you will want to look at the source code published at &lt;a href="http://www.codeplex.com/VelodocXP"&gt;http://www.codeplex.com/VelodocXP&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.velodoc.com"&gt;Velodoc &lt;/a&gt;is a platform to publish, share, send and transfer large files. Velodoc XP is the open source core. It includes an Http module for uploads and server controls based on ASP.NET Ajax Extensions 1.0.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;It can be tried online at &lt;a href="http://www.velodoc.net"&gt;http://www.velodoc.net&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Jack.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>