<?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 : WPF CodeFirstWalk</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : WPF CodeFirstWalk</description>
  <pubDate>Wed, 13 May 2026 05:46:37 -700</pubDate>
  <lastBuildDate>Mon, 04 Jun 2012 12:36:47 -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=3470</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>WPF CodeFirstWalk : Hmm, if there isn&amp;#039;t any error...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3470&amp;PID=13733#13733</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3470<br /><strong>Posted:</strong> 04-Jun-2012 at 12:36pm<br /><br />Hmm, if there isn't any error and you're sure that the connection string is correct and yet, it always defaults to Sql Express, then my guess is DevForce is ignoring that connection string because it couldn't match it with the DataSourceKeyName or the name of your EntityManager or your custom DbContext if you have defined one.<div><br></div><div>Please see <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/code-first-set-database-c&#111;nnecti&#111;n-string" target="_blank">here&nbsp;</a>to learn more about CodeFirst and Connection Strings.</div><div><br></div><div>Another tool that you can use for further debugging is to see a more verbose build log output. Please see <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/code-first-troubleshooting#HFailedtogeneratemetatdata" target="_blank">here&nbsp;</a>to learn how to change your Visual Studio settings and what to look for.</div>]]>
   </description>
   <pubDate>Mon, 04 Jun 2012 12:36:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3470&amp;PID=13733#13733</guid>
  </item> 
  <item>
   <title>WPF CodeFirstWalk : Unfortunately in Software and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3470&amp;PID=13730#13730</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3470<br /><strong>Posted:</strong> 04-Jun-2012 at 1:53am<br /><br />Unfortunately in Software and Technology, the next thing is always just around the corner, but that's what makes it so interesting. The best thing you can do is hedge your bets and build your application such that you can reuse as much as possible if you have to retarget it to a new platform. Let's look at WPF, Silverlight and WinRT/Metro. What these three platforms have in common is XAML and the .NET Framework. While Silverlight as we know it today may go away, XAML and .NET is here to stay. The XAML stacks and the .NET profiles between the three platforms are not exactly the same, but there are libraries and frameworks that hide the differences. We have our own framework called Cocktail that we make available to our customers. Cocktail is an application stack to develop XAML based data-driven applications with DevForce. It currently supports WPF, Silverlight 4 and Silverlight 5 and it will support WinRT/Metro. If you build an application with Cocktail as long as you keep it asynchronous you will be able to move between these platforms with very little changes. Cocktail for example comes with a reference application called TempHire. There's a WPF and Silverlight 4 version. Both versions share over 95% of the code. The differences are mostly in &nbsp;the Views, which is what you want. The actual UI, what you see on the glass, will be different between Silverlight and WinRT/Metro for example, but your UI logic, your business logic and data access logic will be largely the same.&nbsp;<div><br></div><div>To learn more about Cocktail, check out the website: <a href="http://cocktail.ideablade.com/" target="_blank">http://cocktail.ideablade.com/</a></div><div><br></div><div>Now, HTLM5/JavaScript is a bit different. You won't be able to&nbsp;easily&nbsp;port a XAML application to HTML5/JS, but as mentioned, we are working on a product that&nbsp;aims&nbsp;to give you the familiar DevForce experience on a Javascript client with the same back-end as a XAML client. Eventually, once this new field has matured a bit we may offer a Cocktail-like stack for Javascript as well.</div><div><br></div><div>Hope this gives a little bit of a perspective.</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 04 Jun 2012 01:53:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3470&amp;PID=13730#13730</guid>
  </item> 
  <item>
   <title>WPF CodeFirstWalk : Hi all. Thx for the quick response.What...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3470&amp;PID=13725#13725</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1462" rel="nofollow">geraldg</a><br /><strong>Subject:</strong> 3470<br /><strong>Posted:</strong> 04-Jun-2012 at 12:05am<br /><br />Hi all. Thx for the quick response.<div><br></div><div style="text-align: left;">What the connect string is concern, I am using&nbsp;<span style=": rgb251, 251, 253; text-align: left; ">MySql Connector, ADO.NET driver and my connect string was like that, the above example is jut a guideline. It just&nbsp;doesn't&nbsp;make sense that it defaults to the MSSQLEXPRESS server regardless of the connect string. There&nbsp;isn't&nbsp;even any error to give me direction on were the problem&nbsp;exist.</span></div><div style="text-align: left;"><span style=": rgb251, 251, 253; text-align: left; "><br></span></div><div style="text-align: left;">What the&nbsp;technology&nbsp;platform is concern.</div><div style="text-align: left;"><br></div><div style="text-align: left;">We have over 200 clients that uses a vb6 / MYSQL server application.</div><div style="text-align: left;">About 20 percent of our clients don't have internet access, so I don't know if you can host a Silverlight as a&nbsp;standalone&nbsp;machine, but with Silverlight not being supported from 2021, i'm not sure if that is the platform to use but my boss&nbsp;realty&nbsp;wants a web base system. So my decision&nbsp;the is still in the clouds.</div><div style="text-align: left;"><br></div><div style="text-align: left;">My current option is the go with WPF, and&nbsp;that's&nbsp;what I want to convince my boss to, but my question is, is WPF way to go with the future, and now that windows 8 on it's way. What does you other clients say&nbsp;about&nbsp;this, and what&nbsp;<span style=": rgb251, 251, 253; ">technology does most of your</span>&nbsp;clients go for.</div><div style="text-align: left;"><br></div><div style="text-align: left;">I need to decide on a platform as soon as&nbsp;possible,&nbsp;because&nbsp;my deadline is&nbsp;middle&nbsp;next year, so if you can assist me with the right&nbsp;decision&nbsp;I would be great full.&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 04 Jun 2012 00:05:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3470&amp;PID=13725#13725</guid>
  </item> 
  <item>
   <title>WPF CodeFirstWalk : Regarding technology platform,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3470&amp;PID=13711#13711</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> 3470<br /><strong>Posted:</strong> 01-Jun-2012 at 6:19pm<br /><br />Regarding technology platform, your summary is pretty good. I would add:<div><br></div><div>Silverlight - If you need to run in a browser and want to minimize client installation process.</div><div>WPF - If you have heavy client-side integration.</div><div>JavaScript - If accessing the application on many form factors (phone, tablet, desktop) is important.</div><div><br></div><div>We are working on a JavaScript product, but you are correct that the space is still very new and it will take years for the community to develop all the tooling and techniques for building moderate sized line of business applications in HTML 5 / JavaScript.</div><div><br></div>]]>
   </description>
   <pubDate>Fri, 01 Jun 2012 18:19:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3470&amp;PID=13711#13711</guid>
  </item> 
  <item>
   <title>WPF CodeFirstWalk :  Hi geraldg,A sales person will...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3470&amp;PID=13710#13710</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3470<br /><strong>Posted:</strong> 01-Jun-2012 at 5:35pm<br /><br />Hi geraldg,<div><br></div><div>A sales person will contact you on purchasing the product and a senior engineer will response to your platform/technology question.</div><div><br></div><div>I can try and help you with the MySql problem.</div><div><br></div><div>Your connection string seems to be incorrect. Try changing them to:</div><div><br></div><div><div>&lt;add name="<span style="text-align: left; : rgb251, 251, 253; ">CodeFirstDemo</span>"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;connectionString="Server=<span style="text-align: left; : rgb251, 251, 253; ">127.0.0.1</span>;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Database=<span style="text-align: left; : rgb251, 251, 253; ">medxpress</span>;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;User Id=root;<span style="text-align: left; : rgb251, 251, 253; ">password=letmein</span>;</div><div style="text-align: -webkit-auto;"><span style=": rgb251, 251, 253; text-align: left; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Persist Security Info=True</span>"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;providerName="MySql.Data.MySqlClient"/&gt;</div></div><div><br></div><div>I'm also assuming that you have downloaded MySql Connector, ADO.NET driver for MySql db.&nbsp;<a href="http://dev.mysql.com/downloads/c&#111;nnector/net" target="_blank">http://dev.mysql.com/downloads/connector/net</a></div><span style="font-size:10px"><br /><br />Edited by DenisK - 01-Jun-2012 at 6:38pm</span>]]>
   </description>
   <pubDate>Fri, 01 Jun 2012 17:35:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3470&amp;PID=13710#13710</guid>
  </item> 
  <item>
   <title>WPF CodeFirstWalk : Hi there.We are planning to convert...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3470&amp;PID=13702#13702</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1462" rel="nofollow">geraldg</a><br /><strong>Subject:</strong> 3470<br /><strong>Posted:</strong> 01-Jun-2012 at 4:04am<br /><br />Hi there.<div>We are planning to convert our very old vb6 application to a .net application.</div><div>So i'm busy shopping for the quickest route in doing this and you are&nbsp;defiantly&nbsp;one of the candidate to choice from with the process. anyway.</div><div><br></div><div>All out clients use MYSQL as a database engine.</div><div>So I busy working though your examples and I like the&nbsp;code first approced</div><div>The first example you give your using MSSQLEXPRESS, but I want to pass my own connect string, but it seems to default to MSQLEXPRESS database. Here is my connect string.</div><div><br></div><div><div>&nbsp;&lt;connectionStrings&gt;</div><div><br></div><div><div>&nbsp; &nbsp; &lt;!-- Remember to add your connection string(s) here --&gt;</div><br ="Apple-interchange-newline"></div><div>&nbsp;&lt;add&nbsp;</div><div>&nbsp; &nbsp; &nbsp;name="CodeFirstDemo"&nbsp;</div><div>&nbsp; &nbsp; &nbsp;connectionString="data source=.;server=127.0.0.1;User Id=root;password=letmein;database=medxpress;Persist &nbsp; &nbsp; Security &nbsp; &nbsp; &nbsp;Info=True"&nbsp;</div><div>&nbsp; &nbsp; &nbsp;providerName="Mysql.Data.MysqlClient"&nbsp;</div><div>&nbsp; &nbsp;/&gt; &nbsp; &nbsp;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &lt;/connectionStrings&gt;</div></div><div><br></div><div><br></div><div>What am i doing wrong, it's suppose to default to this connect string&nbsp;regardless. Please Help.</div><div><br></div><div>Ok, 2 more things, I'm based in South Africa, how do I go&nbsp;about&nbsp;in&nbsp;buying&nbsp;you software.</div><div><br></div><div>Last Question. If you had to develop a clean fresh system, what platform/technology will you go with that comes into your mind as a future project.</div><div><br></div><div>A) &nbsp;Sliverlight - but news is version 5 is the last version and only supported until 2021</div><div>B) &nbsp;WPF - very&nbsp;powerful&nbsp;but needs to be installed at client side, were web base dont have 2</div><div>C) &nbsp;HTML5 - not sure&nbsp;about&nbsp;JavaScript&nbsp;and still new from what I&nbsp;garter.</div><div><br></div><div>Please, what will be the&nbsp;future&nbsp;technology&nbsp;to use.</div><div>Thanks in advance</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Fri, 01 Jun 2012 04:04:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3470&amp;PID=13702#13702</guid>
  </item> 
 </channel>
</rss>