<?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 : Migrating from n-tier to standalone app</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Migrating from n-tier to standalone app</description>
  <pubDate>Mon, 13 Apr 2026 02:20:33 -700</pubDate>
  <lastBuildDate>Wed, 28 Mar 2012 03:29:05 -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=3357</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>Migrating from n-tier to standalone app : Obviously doing it the way I suggested...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3357&amp;PID=13141#13141</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1418" rel="nofollow">Siyfion</a><br /><strong>Subject:</strong> 3357<br /><strong>Posted:</strong> 28-Mar-2012 at 3:29am<br /><br />Obviously doing it the way I suggested means that the connection string would still be in the app.config even when running n-tier, this could be a security vulnerability! :)]]>
   </description>
   <pubDate>Wed, 28 Mar 2012 03:29:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3357&amp;PID=13141#13141</guid>
  </item> 
  <item>
   <title>Migrating from n-tier to standalone app :   Hello Siyfion,I&amp;#039;ve adopted...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3357&amp;PID=13140#13140</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1136" rel="nofollow">pponzano</a><br /><strong>Subject:</strong> 3357<br /><strong>Posted:</strong> 28-Mar-2012 at 3:27am<br /><br />Hello Siyfion,<div>I've adopted a quite similar structure while waiting for an answer...for now I've a .DA assembly that contains the edmx and the Client parts (repository, proxy) are as shared link for the models/view since it's still under discussion forn ow I've cloned them</div><div>Thanks</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Wed, 28 Mar 2012 03:27:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3357&amp;PID=13140#13140</guid>
  </item> 
  <item>
   <title>Migrating from n-tier to standalone app : You could:- Separatethe model...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3357&amp;PID=13139#13139</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1418" rel="nofollow">Siyfion</a><br /><strong>Subject:</strong> 3357<br /><strong>Posted:</strong> 28-Mar-2012 at 3:13am<br /><br />You could:<div><br></div><div>- Separate&nbsp;the model into it's own assembly and reference it from the main project and the n-tier projects.</div><div>- Then put a duplicate connection string in the main project's App.config file</div><div>- Make the connection configurable in any way you like, ie. via config settings (bad coding, but you get the example!)</div><div><br></div><div><div><span ="Apple-tab-span" style="white-space:pre">	</span>var dataSource = ConfigurationManager.AppSettings&#091;"SqlSource"&#093;;</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>var useWebService = Boolean.Parse(ConfigurationManager.AppSettings&#091;"UseWebService"&#093;);</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>var entityServiceOption = useWebService</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>? EntityServiceOption.UseDistributedService</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>: EntityServiceOption.UseLocalService;</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>var serviceHost = ConfigurationManager.AppSettings&#091;"ServiceHost"&#093;;</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>var connectionOptions = new ConnectionOptions(</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>name: "TestConnection",</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>shouldConnect: true,</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>dataSourceExtension: dataSource,</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>serviceKey: serviceHost,</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>entityServiceOption: entityServiceOption);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>return connectionOptions;</div></div>]]>
   </description>
   <pubDate>Wed, 28 Mar 2012 03:13:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3357&amp;PID=13139#13139</guid>
  </item> 
  <item>
   <title>Migrating from n-tier to standalone app :   Hello,I&amp;#039;ve got a wcf...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3357&amp;PID=13096#13096</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1136" rel="nofollow">pponzano</a><br /><strong>Subject:</strong> 3357<br /><strong>Posted:</strong> 24-Mar-2012 at 5:35am<br /><br />Hello,<div>I've got a wcf application based on ideablade n-tier application and cocktail, I've been asked to mantain 2 version of the software, one that's for the major of user that's n-tier and a version that direcly communicates with the database (so EDMX file inside the module), i was wondering how to do it at best without having to rewrite all the code, should I create modules that have the edmx file linked as file? (Add as link feature) (and adding the repository files to the project as well?)</div><div>&nbsp;</div><div>Thanks</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Sat, 24 Mar 2012 05:35:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3357&amp;PID=13096#13096</guid>
  </item> 
 </channel>
</rss>