<?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: Getting Started with WCF RIA Services</title>
	<atom:link href="http://dotnetspeak.com/index.php/2010/01/getting-started-with-wcf-ria-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnetspeak.com/index.php/2010/01/getting-started-with-wcf-ria-services/</link>
	<description>All things .NET</description>
	<lastBuildDate>Tue, 07 Feb 2012 02:38:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: bc</title>
		<link>http://dotnetspeak.com/index.php/2010/01/getting-started-with-wcf-ria-services/comment-page-1/#comment-875</link>
		<dc:creator>bc</dc:creator>
		<pubDate>Thu, 29 Apr 2010 12:11:30 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetspeak.com/index.php/2010/01/getting-started-with-wcf-ria-services/#comment-875</guid>
		<description>Sergey, could you publish source code for this post?</description>
		<content:encoded><![CDATA[<p>Sergey, could you publish source code for this post?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergey Barskiy</title>
		<link>http://dotnetspeak.com/index.php/2010/01/getting-started-with-wcf-ria-services/comment-page-1/#comment-864</link>
		<dc:creator>Sergey Barskiy</dc:creator>
		<pubDate>Fri, 12 Feb 2010 21:54:22 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetspeak.com/index.php/2010/01/getting-started-with-wcf-ria-services/#comment-864</guid>
		<description>I am not sure right off hand.  Why are you trying to do this?</description>
		<content:encoded><![CDATA[<p>I am not sure right off hand.  Why are you trying to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rat</title>
		<link>http://dotnetspeak.com/index.php/2010/01/getting-started-with-wcf-ria-services/comment-page-1/#comment-861</link>
		<dc:creator>Rat</dc:creator>
		<pubDate>Wed, 10 Feb 2010 14:37:47 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetspeak.com/index.php/2010/01/getting-started-with-wcf-ria-services/#comment-861</guid>
		<description>How to reload(refresh) frame element?

I navigate
Frame.Navigate(new Uri(&quot;/Templates/FormPage.xaml&quot;, UriKind.Relative));
and on some button_click call again
Frame.Navigate(new Uri(&quot;/Templates/FormPage.xaml&quot;, UriKind.Relative));
but nothing occur.

tnx</description>
		<content:encoded><![CDATA[<p>How to reload(refresh) frame element?</p>
<p>I navigate<br />
Frame.Navigate(new Uri(&#8220;/Templates/FormPage.xaml&#8221;, UriKind.Relative));<br />
and on some button_click call again<br />
Frame.Navigate(new Uri(&#8220;/Templates/FormPage.xaml&#8221;, UriKind.Relative));<br />
but nothing occur.</p>
<p>tnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rat</title>
		<link>http://dotnetspeak.com/index.php/2010/01/getting-started-with-wcf-ria-services/comment-page-1/#comment-857</link>
		<dc:creator>Rat</dc:creator>
		<pubDate>Fri, 29 Jan 2010 08:01:41 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetspeak.com/index.php/2010/01/getting-started-with-wcf-ria-services/#comment-857</guid>
		<description>I have found a solution for my problem.
In my service class:
        public override void Initialize(DomainServiceContext context)
        {
           this.ObejctContext.Connection.ConnectionString = 
                        GetConnString(&quot;model name&quot;);
            base.Initialize(context);
        }

        public static string GetConnString(string entity_name)
        {
            EntityConnectionStringBuilder conStrIntegratedSecurity = new
                                                             EntityConnectionStringBuilder()
            {
                Metadata = &quot;res://*/FOLDER.&quot; + entity_name + &quot;.csdl&#124;res://*/FOLDER.&quot; 
                + entity_name + &quot;.ssdl&#124;res://*/FOLDER.&quot;+entity_name+&quot;.msl&quot;,
                Provider = &quot;System.Data.SqlClient&quot;,
                ProviderConnectionString = Properties.Settings.Default.myConn
            };
            return conStrIntegratedSecurity.ToString();
        }
and in designe settings.settings:
 Properties.Settings.Default.myConn = Data Source=localhost;Initial Catalog=XXX;Connect Timeout=20;User ID=XXX;Password=XXX”

This work fine.</description>
		<content:encoded><![CDATA[<p>I have found a solution for my problem.<br />
In my service class:<br />
        public override void Initialize(DomainServiceContext context)<br />
        {<br />
           this.ObejctContext.Connection.ConnectionString =<br />
                        GetConnString(&#8220;model name&#8221;);<br />
            base.Initialize(context);<br />
        }</p>
<p>        public static string GetConnString(string entity_name)<br />
        {<br />
            EntityConnectionStringBuilder conStrIntegratedSecurity = new<br />
                                                             EntityConnectionStringBuilder()<br />
            {<br />
                Metadata = &#8220;res://*/FOLDER.&#8221; + entity_name + &#8220;.csdl|res://*/FOLDER.&#8221;<br />
                + entity_name + &#8220;.ssdl|res://*/FOLDER.&#8221;+entity_name+&#8221;.msl&#8221;,<br />
                Provider = &#8220;System.Data.SqlClient&#8221;,<br />
                ProviderConnectionString = Properties.Settings.Default.myConn<br />
            };<br />
            return conStrIntegratedSecurity.ToString();<br />
        }<br />
and in designe settings.settings:<br />
 Properties.Settings.Default.myConn = Data Source=localhost;Initial Catalog=XXX;Connect Timeout=20;User ID=XXX;Password=XXX”</p>
<p>This work fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergey Barskiy</title>
		<link>http://dotnetspeak.com/index.php/2010/01/getting-started-with-wcf-ria-services/comment-page-1/#comment-856</link>
		<dc:creator>Sergey Barskiy</dc:creator>
		<pubDate>Thu, 28 Jan 2010 00:59:19 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetspeak.com/index.php/2010/01/getting-started-with-wcf-ria-services/#comment-856</guid>
		<description>What error are you getting?  I see call stack, but not the actual error.</description>
		<content:encoded><![CDATA[<p>What error are you getting?  I see call stack, but not the actual error.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

