<?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: Silverlight Tip of the Day #29 &#8211; Configuring Service Reference to Back to LocalHost</title>
	<atom:link href="http://www.michaelsnow.com/2010/06/09/silverlight-tip-of-the-day-29-configuring-service-reference-to-back-to-localhost/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michaelsnow.com/2010/06/09/silverlight-tip-of-the-day-29-configuring-service-reference-to-back-to-localhost/</link>
	<description></description>
	<lastBuildDate>Fri, 07 Oct 2011 19:33:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Josh Einstein</title>
		<link>http://www.michaelsnow.com/2010/06/09/silverlight-tip-of-the-day-29-configuring-service-reference-to-back-to-localhost/comment-page-1/#comment-2739</link>
		<dc:creator>Josh Einstein</dc:creator>
		<pubDate>Fri, 11 Jun 2010 13:38:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelsnow.com/2010/06/09/silverlight-tip-of-the-day-29-configuring-service-reference-to-back-to-localhost/#comment-2739</guid>
		<description>Here&#039;s another awesome tip... if your web service is hosted on the same server that is serving your Silverlight application, you can use a relative (to the xap) path to the WCF service. You&#039;ll have to make this change in your ServiceReferences.clientconfig manually and you might get some IDE errors when refreshing the service reference but it works great at runtime.

(not sure how to post XML here...)

(client)
    (endpoint name=&quot;BillingDataEntryService&quot;
              address=&quot;../Billing.svc&quot;
              binding=&quot;basicHttpBinding&quot;
              bindingConfiguration=&quot;secureHttp&quot;
              contract=&quot;Models.BillingDataEntry.BillingDataEntryService&quot; /)
(/client)</description>
		<content:encoded><![CDATA[<p>Here&#8217;s another awesome tip&#8230; if your web service is hosted on the same server that is serving your Silverlight application, you can use a relative (to the xap) path to the WCF service. You&#8217;ll have to make this change in your ServiceReferences.clientconfig manually and you might get some IDE errors when refreshing the service reference but it works great at runtime.</p>
<p>(not sure how to post XML here&#8230;)</p>
<p>(client)<br />
    (endpoint name=&#8221;BillingDataEntryService&#8221;<br />
              address=&#8221;../Billing.svc&#8221;<br />
              binding=&#8221;basicHttpBinding&#8221;<br />
              bindingConfiguration=&#8221;secureHttp&#8221;<br />
              contract=&#8221;Models.BillingDataEntry.BillingDataEntryService&#8221; /)<br />
(/client)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Snowman</title>
		<link>http://www.michaelsnow.com/2010/06/09/silverlight-tip-of-the-day-29-configuring-service-reference-to-back-to-localhost/comment-page-1/#comment-2729</link>
		<dc:creator>Snowman</dc:creator>
		<pubDate>Fri, 11 Jun 2010 02:39:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelsnow.com/2010/06/09/silverlight-tip-of-the-day-29-configuring-service-reference-to-back-to-localhost/#comment-2729</guid>
		<description>Ah, yea, I found it thanks!</description>
		<content:encoded><![CDATA[<p>Ah, yea, I found it thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bigsby</title>
		<link>http://www.michaelsnow.com/2010/06/09/silverlight-tip-of-the-day-29-configuring-service-reference-to-back-to-localhost/comment-page-1/#comment-2719</link>
		<dc:creator>Bigsby</dc:creator>
		<pubDate>Thu, 10 Jun 2010 16:38:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelsnow.com/2010/06/09/silverlight-tip-of-the-day-29-configuring-service-reference-to-back-to-localhost/#comment-2719</guid>
		<description>The used port is also on Web Application Project Properties on Web vertical tab. It is dynamically set but you can set it manually.</description>
		<content:encoded><![CDATA[<p>The used port is also on Web Application Project Properties on Web vertical tab. It is dynamically set but you can set it manually.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

