<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Using WCF for REST, Part 3</title>
	<atom:link href="http://underground.infovark.com/2008/05/27/using-wcf-for-rest-part-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://underground.infovark.com/2008/05/27/using-wcf-for-rest-part-3/</link>
	<description>The Infovark technology blog</description>
	<lastBuildDate>Thu, 17 Nov 2011 16:06:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Dean</title>
		<link>http://underground.infovark.com/2008/05/27/using-wcf-for-rest-part-3/comment-page-1/#comment-59</link>
		<dc:creator>Dean</dc:creator>
		<pubDate>Sun, 24 Aug 2008 18:01:10 +0000</pubDate>
		<guid isPermaLink="false">http://underground.infovark.com/?p=9#comment-59</guid>
		<description>Hi, Antonio! I&#039;m afraid I haven&#039;t hosted WCF services from within IIS, so if that&#039;s the source of the problem, I can&#039;t be much help. 

The problem may be that &quot;first.second.third.n&quot; contains multiple dots. It&#039;s possible that the Uri classes are having trouble parsing them. Have you tried using hyphens or some other delimiter instead?</description>
		<content:encoded><![CDATA[<p>Hi, Antonio! I&#8217;m afraid I haven&#8217;t hosted WCF services from within IIS, so if that&#8217;s the source of the problem, I can&#8217;t be much help. </p>
<p>The problem may be that &#8220;first.second.third.n&#8221; contains multiple dots. It&#8217;s possible that the Uri classes are having trouble parsing them. Have you tried using hyphens or some other delimiter instead?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonio Barroso</title>
		<link>http://underground.infovark.com/2008/05/27/using-wcf-for-rest-part-3/comment-page-1/#comment-52</link>
		<dc:creator>Antonio Barroso</dc:creator>
		<pubDate>Fri, 22 Aug 2008 22:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://underground.infovark.com/?p=9#comment-52</guid>
		<description>Thanks for your posts about wcf and rest. I agree with the lack of flexibility of the UriTemplate. I was doing some code and after some hours of GET requests i coudn&#039;t fit in a string variable a path segment like &#039;http://localhost/foo.svc/first.second.third.n/&#039; using a uritemplate like &#039;/{myvar}&#039;. I get a 404 not found. without the dots in the segment (&#039;http://localhost/foo.svc/firstsecondthirdn/&#039;) i get a 200 ok and myvar==&#039;firstsecondthirdn&#039;. So, the dot is defining a file extension but i dont know what handler or module is doing that. Do you know where i can control this behaviour? thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for your posts about wcf and rest. I agree with the lack of flexibility of the UriTemplate. I was doing some code and after some hours of GET requests i coudn&#8217;t fit in a string variable a path segment like &#8216;<a href="http://localhost/foo.svc/first.second.third.n/" rel="nofollow">http://localhost/foo.svc/first.second.third.n/</a>&#8216; using a uritemplate like &#8216;/{myvar}&#8217;. I get a 404 not found. without the dots in the segment (&#8216;<a href="http://localhost/foo.svc/firstsecondthirdn/" rel="nofollow">http://localhost/foo.svc/firstsecondthirdn/</a>&#8216;) i get a 200 ok and myvar==&#8217;firstsecondthirdn&#8217;. So, the dot is defining a file extension but i dont know what handler or module is doing that. Do you know where i can control this behaviour? thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vish</title>
		<link>http://underground.infovark.com/2008/05/27/using-wcf-for-rest-part-3/comment-page-1/#comment-30</link>
		<dc:creator>Vish</dc:creator>
		<pubDate>Wed, 28 May 2008 06:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://underground.infovark.com/?p=9#comment-30</guid>
		<description>Thanks for the feedback! I am happy that SP1 addresses some of the URI related issues. We will continue to address the pain points you mention in our next release.

I have 1 question (and some rationale) about the trailing /. The URI RFC states that the trailing / is significant. One real world scenario where this is important is when documents/pages contain embedded relative links. Computing the absolute URI from the relative link will yield wrong results if the trailing / is not taken into consideration.

The WCF team wanted to be compliant to the URI spec and still address the usability aspect. To that extent, if the user typed http://localhost/foo in the browser and the WCF service was listening at http://localhost/foo/ , then the WCF infrastructure would automatically send a redirect to http://localhost/foo/. Thus our hope was the user would never really notice the trailing /.

Did that not work for you?

Thanks
Vish</description>
		<content:encoded><![CDATA[<p>Thanks for the feedback! I am happy that SP1 addresses some of the URI related issues. We will continue to address the pain points you mention in our next release.</p>
<p>I have 1 question (and some rationale) about the trailing /. The URI RFC states that the trailing / is significant. One real world scenario where this is important is when documents/pages contain embedded relative links. Computing the absolute URI from the relative link will yield wrong results if the trailing / is not taken into consideration.</p>
<p>The WCF team wanted to be compliant to the URI spec and still address the usability aspect. To that extent, if the user typed <a href="http://localhost/foo" rel="nofollow">http://localhost/foo</a> in the browser and the WCF service was listening at <a href="http://localhost/foo/" rel="nofollow">http://localhost/foo/</a> , then the WCF infrastructure would automatically send a redirect to <a href="http://localhost/foo/" rel="nofollow">http://localhost/foo/</a>. Thus our hope was the user would never really notice the trailing /.</p>
<p>Did that not work for you?</p>
<p>Thanks<br />
Vish</p>
]]></content:encoded>
	</item>
</channel>
</rss>

