<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Suddenelfilio's Weblog &#187; IIS</title>
	<atom:link href="http://blog.suddenelfilio.net/category/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.suddenelfilio.net</link>
	<description>Passionate about .net</description>
	<lastBuildDate>Tue, 23 Feb 2010 15:31:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.suddenelfilio.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/6246d2f8813362b3e258dd7b00ed3a41?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Suddenelfilio's Weblog &#187; IIS</title>
		<link>http://blog.suddenelfilio.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.suddenelfilio.net/osd.xml" title="Suddenelfilio&#039;s Weblog" />
	<atom:link rel='hub' href='http://blog.suddenelfilio.net/?pushpress=hub'/>
		<item>
		<title>IIS 7: HTTP POST, DefaultDocumentModule and a forgotten &#8216;/&#8217;</title>
		<link>http://blog.suddenelfilio.net/2009/02/06/iis-7-http-post-defaultdocumentmodule-and-a-forgotten/</link>
		<comments>http://blog.suddenelfilio.net/2009/02/06/iis-7-http-post-defaultdocumentmodule-and-a-forgotten/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 09:13:45 +0000</pubDate>
		<dc:creator>suddenelfilio</dc:creator>
				<category><![CDATA[.net 3.5]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://blog.suddenelfilio.net/?p=222</guid>
		<description><![CDATA[Yesterday I experienced some issues when I was trying to access a generic http handler (*.ashx) file using only the path without the filename e.g.: http://localhost/somefolder The default document was set to uploadhandler.ashx. So i expected that if I connected to http://localhost/somefolder it would sent me to http://localhost/somefolder/uploadhandler.ashx but it didn&#8217;t. Appareantly it has got [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.suddenelfilio.net&blog=1463725&post=222&subd=suddenelfilio&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;">
<div style="text-align:auto;"></div>
<p><a href="http://forums.iis.net/t/1155013.aspx"><img src="http://suddenelfilio.files.wordpress.com/2009/02/powered-by-iis7-1of2.png?w=406" alt="" /></a></p>
<p>Yesterday I experienced some issues when I was trying to access a generic http handler (*.ashx) file using only the path without the filename e.g.: http://localhost/somefolder</p>
<p>The default document was set to uploadhandler.ashx. So i expected that if I connected to http://localhost/somefolder it would sent me to http://localhost/somefolder/uploadhandler.ashx but it didn&#8217;t. Appareantly it has got something to do with not adding a &#8216;/&#8217; at the end.  For the exact problem and also the reason why it didn&#8217;t work as well as the solution have a look at post of mine put up at the iis.net fourms <a href="http://forums.iis.net/t/1155013.aspx">http://forums.iis.net/t/1155013.aspx</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/suddenelfilio.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/suddenelfilio.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/suddenelfilio.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/suddenelfilio.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/suddenelfilio.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/suddenelfilio.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/suddenelfilio.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/suddenelfilio.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/suddenelfilio.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/suddenelfilio.wordpress.com/222/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.suddenelfilio.net&blog=1463725&post=222&subd=suddenelfilio&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.suddenelfilio.net/2009/02/06/iis-7-http-post-defaultdocumentmodule-and-a-forgotten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d2a314ead18f2575eff4c6880639dc3a?s=96&#38;d=" medium="image">
			<media:title type="html">suddenelfilio</media:title>
		</media:content>

		<media:content url="http://suddenelfilio.files.wordpress.com/2009/02/powered-by-iis7-1of2.png" medium="image" />
	</item>
		<item>
		<title>Compact framework WCF, Disco files, netcfsvcutil</title>
		<link>http://blog.suddenelfilio.net/2008/11/06/compact-framework-wcf-disco-files-netcfsvcutil/</link>
		<comments>http://blog.suddenelfilio.net/2008/11/06/compact-framework-wcf-disco-files-netcfsvcutil/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 14:24:25 +0000</pubDate>
		<dc:creator>suddenelfilio</dc:creator>
				<category><![CDATA[.net 3.5]]></category>
		<category><![CDATA[.net Compact Framework]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://suddenelfilio.wordpress.com/2008/11/06/compact-framework-wcf-disco-files-netcfsvcutil/</guid>
		<description><![CDATA[When using the 3.5 version of the compact framework it is possible to connect with wcf services. This is because the CF 3.5 contains a limited subset of the wcf technology. There are several blog posts listing the wcf capabilities in CF e.g.: http://blogs.msdn.com/andrewarnottms/archive/2007/08/21/the-wcf-subset-supported-by-netcf.aspx We were researching for a mobile client to connect to a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.suddenelfilio.net&blog=1463725&post=164&subd=suddenelfilio&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>When using the 3.5 version of the compact framework it is possible to connect with wcf services. This is because the CF 3.5 contains a limited subset of the wcf technology. There are several blog posts listing the wcf capabilities in CF e.g.: <a href="http://blogs.msdn.com/andrewarnottms/archive/2007/08/21/the-wcf-subset-supported-by-netcf.aspx">http://blogs.msdn.com/andrewarnottms/archive/2007/08/21/the-wcf-subset-supported-by-netcf.aspx</a></p>
<p>We were researching for a mobile client to connect to a wcf service running at one of our servers. The requirement is that transport is secured by using HTTPS protocol. </p>
<p>The first problem was creating a client side proxy. Since the SvcUtil doesn’t work for the CF we had to look for an alternative. After some googling we found the netCFSvcUtil which is basically the same as the svcutil, but it generates a proxy specifically for CF. You can find it as part of the Power Toys for .NET Compact Framework 3.5. For more on this you can read <a href="http://64.233.183.104/search?q=cache:6BHoqVDFuz8J:blogs.msdn.com/andrewarnottms/archive/2007/09/13/calling-wcf-services-from-netcf-3-5-using-compact-wcf-and-netcfsvcutil-exe.aspx+netcfsvcutil&amp;hl=nl&amp;ct=clnk&amp;cd=2&amp;gl=be" target="_blank">this excellent blog post by Andrew Arnott</a></p>
<p>When you get this generated client proxy there is another problem. It expects that you are using HTTP. Since we need HTTP<strong>S </strong>that’s a problem. Thanks to <a href="http://developers.de/blogs/damir_dobric/archive/2008/08/23/creating-default-bindings-on-compact-framework.aspx" target="_blank">Damir Dobric</a> we found how to make the proxy use https instead of http.</p>
<pre>System.ServiceModel.Channels.CustomBinding binding = <span style="color:#0000ff;">new</span>
    System.ServiceModel.Channels.CustomBinding();
binding.Elements.Add(<span style="color:#0000ff;">new</span> System.ServiceModel.Channels.TextMessageEncodingBindingElement
   (System.ServiceModel.Channels.MessageVersion.Soap11, System.Text.Encoding.UTF8));
System.ServiceModel.Channels.HttpsTransportBindingElement https =
   <span style="color:#0000ff;">new</span> System.ServiceModel.Channels.HttpsTransportBindingElement(); </pre>
<pre>https.RequireClientCertificate = <span style="color:#0000ff;">false</span>;
binding.Elements.Add(https);</pre>
<pre>&nbsp;</pre>
<p>This way your client proxy is now HTTPS enabled. </p>
<p>&nbsp;</p>
<p>Another problem we had was that the disco file was downloaded from the “wrong” location. We have a wildcard certificate in place for our HTTPS like *.domain.com. We were accessing the service using <a href="https://laptop1.domain.com/wcf/service.svc">https://laptop1.domain.com/wcf/service.svc</a>. Although this url works fine when we browsed to it, there was an issue when we tried to generate a client proxy. It seemed that both svcutil as netcfsvcutil were trying to download the DISCO file from <a href="https://laptop1/wcf/service.svc?Disco">https://laptop1/wcf/service.svc?Disco</a>. When we browsed to this link it worked just fine. The problem is in the url and the wildcard certificate. Since the disco url didn’t include the domain.com part in its url the utils were not able to establish a trust relationship over ssl with the web server. This is perfectly normal since it does not correspond with our wildcard certificate. </p>
<p>The solution is to update the https binding in IIS by giving it a host header. Now this is something you can’t do in the IIS control panel. There are 2 ways of doing this: Using <a href="http://blogs.msdn.com/drnick/archive/2008/07/09/configuring-ssl-host-headers.aspx" target="_blank">scripting</a> or using the metabase explorer that can be found in the IIS 6.0 resource toolkit<a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/993a8a36-5761-448f-889e-9ae58d072c09.mspx?mfr=true" target="_blank">http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/993a8a36-5761-448f-889e-9ae58d072c09.mspx?mfr=true</a></p>
<p>&nbsp;</p>
<p>A last advice don’t fall into the same trap by thinking that a wshttpbinding is required to do HTTPS, it’s perfectly possible by using a basichttpbinding where the security mode is set to transport.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/suddenelfilio.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/suddenelfilio.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/suddenelfilio.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/suddenelfilio.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/suddenelfilio.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/suddenelfilio.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/suddenelfilio.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/suddenelfilio.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/suddenelfilio.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/suddenelfilio.wordpress.com/164/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.suddenelfilio.net&blog=1463725&post=164&subd=suddenelfilio&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.suddenelfilio.net/2008/11/06/compact-framework-wcf-disco-files-netcfsvcutil/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d2a314ead18f2575eff4c6880639dc3a?s=96&#38;d=" medium="image">
			<media:title type="html">suddenelfilio</media:title>
		</media:content>
	</item>
		<item>
		<title>It&#8217;s here to stay: Frontpage Server Extensions</title>
		<link>http://blog.suddenelfilio.net/2007/07/02/its-here-to-stay-frontpage-server-extensions/</link>
		<comments>http://blog.suddenelfilio.net/2007/07/02/its-here-to-stay-frontpage-server-extensions/#comments</comments>
		<pubDate>Tue, 03 Jul 2007 07:28:30 +0000</pubDate>
		<dc:creator>suddenelfilio</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[.net 2.0]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://suddenelfilio.wordpress.com/2007/07/02/its-here-to-stay-frontpage-server-extensions/</guid>
		<description><![CDATA[Although nobody really uses the program for which this technology was initialy created &#8211; Microsoft Frontpage &#8211; there are still programs that use the FPSE. Like Visual Studio .Net uses it to publish a website/webservice. With the new IIS 7.0 most developers will know about the &#8220;publish problem&#8221; from vs.net to an IIS 7.0 web [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.suddenelfilio.net&blog=1463725&post=102&subd=suddenelfilio&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Although nobody really uses the program for which this technology was initialy created &#8211; Microsoft Frontpage &#8211; there are still programs that use the FPSE. Like Visual Studio .Net uses it to publish a website/webservice.</p>
<p>With the new <a href="http://www.iis.net/default.aspx?tabid=1" target="_blank">IIS 7.0</a> most developers will know about the &#8220;publish problem&#8221; from vs.net to an IIS 7.0 web server, because of the different meta system that come with IIS 7.0 this vs.net feature stopped working &#8220;properly&#8221;. You could choose for the traditional XCopy and in vs.net 2005 for publishing through FTP. There is also <a href="http://weblogs.asp.net/scottgu/archive/2006/09/19/Tip_2F00_Trick_3A00_-Using-IIS7-on-Vista-with-VS-2005.aspx" target="_blank">an option to turn on backward IIS 6.0 compatibility in IIS 7.0</a> for legacy systems.</p>
<p>Now the IIS 7.0 team is releasing the first beta of the <a href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;g=6&amp;i=1460" target="_blank">FrontPage Server Extensions for IIS7</a>:</p>
<blockquote>
<h4>Overview</h4>
<p>Microsoft and Ready to Run Software have released a beta version of the FrontPage 2002 Server Extensions (FPSE 2002) for Windows Server Code Name &#8220;Longhorn&#8221; and Windows Vista.</p>
<h4>Features</h4>
<p>This version of FPSE 2002 introduces no new functionality, and is essentially the same version that was created for Windows Server 2003 that has been updated to work on Windows Server Code Name &#8220;Longhorn&#8221; and Windows Vista.</p>
<h4>Benefits</h4>
<p>FPSE 2002 enables web hosters and developers to author their web content on servers or workstations that are running IIS 7.0 on Windows Server Code Name &#8220;Longhorn&#8221; and Windows Vista.</p></blockquote>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/suddenelfilio.wordpress.com/102/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/suddenelfilio.wordpress.com/102/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/suddenelfilio.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/suddenelfilio.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/suddenelfilio.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/suddenelfilio.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/suddenelfilio.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/suddenelfilio.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/suddenelfilio.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/suddenelfilio.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/suddenelfilio.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/suddenelfilio.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.suddenelfilio.net&blog=1463725&post=102&subd=suddenelfilio&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.suddenelfilio.net/2007/07/02/its-here-to-stay-frontpage-server-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d2a314ead18f2575eff4c6880639dc3a?s=96&#38;d=" medium="image">
			<media:title type="html">suddenelfilio</media:title>
		</media:content>
	</item>
	</channel>
</rss>