<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Silverlight N-Tier Deploy Questions</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Silverlight N-Tier Deploy Questions</description>
  <pubDate>Tue, 21 Apr 2026 14:10:53 -700</pubDate>
  <lastBuildDate>Mon, 28 Jun 2010 21:05:36 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1921</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Silverlight N-Tier Deploy Questions : Yes, I would recommend your last...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1921&amp;PID=7454#7454</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 1921<br /><strong>Posted:</strong> 28-Jun-2010 at 9:05pm<br /><br /><P>Yes, I would recommend your last proposal.&nbsp; It will minimize the likelihood of any deployment issues.</P><DIV></DIV>]]>
   </description>
   <pubDate>Mon, 28 Jun 2010 21:05:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1921&amp;PID=7454#7454</guid>
  </item> 
  <item>
   <title>Silverlight N-Tier Deploy Questions : Hi, Thanks for the reply. The...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1921&amp;PID=7453#7453</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=441" rel="nofollow">*Calsy</a><br /><strong>Subject:</strong> 1921<br /><strong>Posted:</strong> 28-Jun-2010 at 8:59pm<br /><br /><P>Hi, Thanks for the reply.</P><DIV>The requirement is because our clients want to control the database (and because we are rolling&nbsp;up from a previous version where the data was always hosted by&nbsp;the client)&nbsp;and we want to control the app so that we can perform the application updates without having to have the client update their web server.</DIV><DIV>&nbsp;</DIV><DIV>Im thinking it is going to be simpler that we just supply the client with a website installer that will deploy the silverlight and BOS solution to their server. And just handle the upgrades manually. This way we get around security concerns and also if the client has the website served locally they dont have to travel out to the internet to retrieve anything.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 28 Jun 2010 20:59:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1921&amp;PID=7453#7453</guid>
  </item> 
  <item>
   <title>Silverlight N-Tier Deploy Questions : A Silverlight application cannot...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1921&amp;PID=7452#7452</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 1921<br /><strong>Posted:</strong> 28-Jun-2010 at 8:44pm<br /><br /><P>A Silverlight application cannot connect to the database directly.&nbsp; There is no ADO.NET library in the Silverlight CLR that can do this.&nbsp; It is also bad practice&nbsp;to expose the database directly on the internet -&nbsp;bad performance, security, etc.</P><DIV></DIV><DIV></DIV>You <strong>can</strong> dynamically configure the URL of the DevForce Business Object Server (BOS), however.&nbsp; You do this by modifying the <strong>IdeaBlade.Config.Instance.ObjectServer </strong>node in the application prior to any EntityManager operations.<DIV>&nbsp;</DIV><DIV>If the XAP file and the BOS are hosted on different URLs you will also need to deploy a clientaccesspolicy.xml file to the root of the IIS Server that hosts the BOS.&nbsp; This is a sample file:</DIV><DIV>&nbsp;</DIV><DIV><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>&lt;?xml version="1.0" encoding="utf-8" ?&gt;</FONT></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>&lt;access-policy&gt;</FONT></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>&nbsp; &lt;cross-domain-access&gt;</FONT></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>&nbsp;&nbsp;&nbsp; &lt;policy&gt;</FONT></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;allow-from&nbsp; http-request-headers="*" &gt;</FONT></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;domain uri="*"/&gt;</FONT></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/allow-from&gt;</FONT></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;grant-to&gt;</FONT></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;resource path="/" include-subpaths="true"/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/grant-to&gt;</FONT></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>&nbsp;&nbsp;&nbsp; &lt;/policy&gt;</FONT></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>&nbsp; &lt;/cross-domain-access&gt;</FONT></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>&lt;/access-policy&gt;</P><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>Once you get this file working, you will want to change the domain uri and resource path nodes to be more restrictive for security purposes.&nbsp; You can google/bing clientaccesspolicy.xml for examples.</DIV><DIV>&nbsp;</DIV><DIV>For disconnected scenarios, you can run the Silverlight application disconnected from the source of the XAP, and it should still be able&nbsp;to communicate with the BOS to get its data.</DIV><DIV>&nbsp;</DIV><DIV>Is your requirement for this because your clients want to maintain control of their data, but want you to maintain the application?</DIV><DIV></FONT>&nbsp;</DIV></DIV>]]>
   </description>
   <pubDate>Mon, 28 Jun 2010 20:44:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1921&amp;PID=7452#7452</guid>
  </item> 
  <item>
   <title>Silverlight N-Tier Deploy Questions : No love?? </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1921&amp;PID=7447#7447</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=827" rel="nofollow">Twister</a><br /><strong>Subject:</strong> 1921<br /><strong>Posted:</strong> 28-Jun-2010 at 3:44pm<br /><br />No love??]]>
   </description>
   <pubDate>Mon, 28 Jun 2010 15:44:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1921&amp;PID=7447#7447</guid>
  </item> 
  <item>
   <title>Silverlight N-Tier Deploy Questions : We will also have customers where...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1921&amp;PID=7437#7437</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=827" rel="nofollow">Twister</a><br /><strong>Subject:</strong> 1921<br /><strong>Posted:</strong> 27-Jun-2010 at 8:08pm<br /><br /><P>We will also have customers where we serve/host the sql database for them. So that is our other deployment scenario.</P>]]>
   </description>
   <pubDate>Sun, 27 Jun 2010 20:08:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1921&amp;PID=7437#7437</guid>
  </item> 
  <item>
   <title>Silverlight N-Tier Deploy Questions : Hi All, Our deployment scenario...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1921&amp;PID=7436#7436</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=827" rel="nofollow">Twister</a><br /><strong>Subject:</strong> 1921<br /><strong>Posted:</strong> 27-Jun-2010 at 7:42pm<br /><br /><P style="MARGIN: 0cm 1.5pt 0.75pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: Verdana; COLOR: black; FONT-SIZE: 9pt; mso-ansi-: EN" lang=EN>Hi All, Our deployment scenario will see us serving/hosting the Silverlight solution but the client will be serving/hosting the sql database. <?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P style="MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: Verdana; COLOR: black; FONT-SIZE: 9pt; mso-ansi-: EN" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0.75pt 1.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: Verdana; COLOR: black; FONT-SIZE: 9pt; mso-ansi-: EN" lang=EN>My questions are:<o:p></o:p></SPAN></P><P style="TEXT-INDENT: -18pt; MARGIN: 0.75pt 1.5pt 0pt 19.5pt; mso-list: l0 level1 lfo1; tab-stops: list 19.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: Verdana; COLOR: black; FONT-SIZE: 9pt; mso-ansi-: EN; mso-fareast-font-family: Verdana; mso-bidi-font-family: Verdana" lang=EN><SPAN style="mso-list: Ignore">1.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: Verdana; COLOR: black; FONT-SIZE: 9pt; mso-ansi-: EN" lang=EN>How do we dynamically set the silverlight application to point to a certain database at runtime? Im hoping that the user will dial into the website, provide there database connection details, click ok. The silverlight application will than be connected to this database. Is this achievable? We will have many different clients, so for eg. client A might load up the silverlight app and provide their connection details than Client B will come in and provide their details and conenct to their database.<o:p></o:p></SPAN></P><P style="TEXT-INDENT: -18pt; MARGIN: 0.75pt 1.5pt 0pt 19.5pt; mso-list: l0 level1 lfo1; tab-stops: list 19.5pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: Verdana; COLOR: black; FONT-SIZE: 9pt; mso-ansi-: EN; mso-fareast-font-family: Verdana; mso-bidi-font-family: Verdana" lang=EN><SPAN style="mso-list: Ignore">2.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: Verdana; COLOR: black; FONT-SIZE: 9pt; mso-ansi-: EN" lang=EN>If the database is local to the client (but the silverlight app will always be external since we will be hosting it) does the client need to be connected to the internet after the client pulls down the silverlight xap and files on the first initial hit? So if the client and database are located at Location A and the silverlight deployment is located at Location B. Does the silverlight app (in the clients browser) need to talk with location B to pull data from the local database?<o:p></o:p></SPAN></P><P style="MARGIN: 0.75pt 1.5pt 0pt 0cm" =Ms&#111;normal><SPAN style="FONT-FAMILY: Verdana; COLOR: black; FONT-SIZE: 9pt; mso-ansi-: EN" lang=EN><o:p>&nbsp;</o:p></SPAN></P><P style="MARGIN: 0.75pt 1.5pt 0pt 0cm" =Ms&#111;normal><SPAN style="FONT-FAMILY: Verdana; COLOR: black; FONT-SIZE: 9pt; mso-ansi-: EN" lang=EN>Im a little confused at the deployment for this scenario and how devForce will play. So any advice would be great.</P><DIV><DIV></DIV><DIV></DIV>Thanks<o:p></o:p></SPAN></DIV>]]>
   </description>
   <pubDate>Sun, 27 Jun 2010 19:42:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1921&amp;PID=7436#7436</guid>
  </item> 
 </channel>
</rss>