<?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 : [SOLVED]Web Example for EF</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : [SOLVED]Web Example for EF</description>
  <pubDate>Sat, 11 Apr 2026 09:51:34 -700</pubDate>
  <lastBuildDate>Tue, 25 Mar 2008 17:34:20 -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=741</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>[SOLVED]Web Example for EF : Thanks for your prompt and accurate...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=741&amp;PID=2741#2741</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=279" rel="nofollow">miltonb</a><br /><strong>Subject:</strong> 741<br /><strong>Posted:</strong> 25-Mar-2008 at 5:34pm<br /><br />Thanks for your prompt and accurate reply.<DIV>&nbsp;</DIV><DIV>I used suggestion 2) with</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;edmKey connection="metadata=D:\Projects\ServerModelMC.csdl|D:\Projects\ServerModelMC.ssdl|D:\Projects\ServerModelMC.msl;</DIV><DIV>provider=System.Data.SqlClient;provider&nbsp; etc.......</DIV><DIV>&nbsp;</DIV><DIV>I copied the files into the root of the projects folder.</DIV><DIV>&nbsp;</DIV><DIV>The page is not working, I will now press on.</DIV><DIV>&nbsp;</DIV><DIV>Milton</DIV>]]>
   </description>
   <pubDate>Tue, 25 Mar 2008 17:34:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=741&amp;PID=2741#2741</guid>
  </item> 
  <item>
   <title>[SOLVED]Web Example for EF : Sorry, we don&amp;#039;t have an ASP.NET...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=741&amp;PID=2740#2740</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 741<br /><strong>Posted:</strong> 25-Mar-2008 at 9:19am<br /><br />Sorry, we don't have an ASP.NET example yet, and it may be a few more revs before we do.<DIV>&nbsp;</DIV><DIV>A few things to look at now:</DIV><DIV>&nbsp;</DIV><DIV>1) If you're using "loose" artifact files (the *.csdl, *.msl and *.ssdl files) they should be located in your bin folder, along with the server model assembly.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>2) You'll need to tweak the connection string for the EdmKey in the config file so that the metadata&nbsp;points to the bin folder, something like this:</DIV><DIV>&nbsp;</DIV><DIV>connection="metadata=~/bin/MyModel.csdl|~/bin/MyModel.ssdl|~/bin/MyModel.msl; ... &lt;other connection info removed&gt;<BR></DIV><DIV>&nbsp;</DIV><DIV>3) If you're using artifact files embedded in the server assembly, well, first I would say that in EF Beta3 they're more trouble than they're worth so don't bother.&nbsp; But if you are,&nbsp; make sure the server assembly is in the bin folder, and change your connection string to something like:</DIV><DIV>&nbsp;</DIV><DIV>connection="metadata=res://MyServerModelAssemblyName;&nbsp;&nbsp; ... &lt;snipped remainder&gt;</DIV>]]>
   </description>
   <pubDate>Tue, 25 Mar 2008 09:19:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=741&amp;PID=2740#2740</guid>
  </item> 
  <item>
   <title>[SOLVED]Web Example for EF : Hi,   Is there an example (or...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=741&amp;PID=2739#2739</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=279" rel="nofollow">miltonb</a><br /><strong>Subject:</strong> 741<br /><strong>Posted:</strong> 24-Mar-2008 at 6:58pm<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Is there an example (or code) of an asp.net web application using EF? </DIV><DIV>&nbsp;</DIV><DIV>I have used the code below from examples&nbsp;in my asp.net app (without static method) but get the error as below.</DIV><DIV><EM></EM>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private void RunQuery00()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MCDomainModel.Manager aManager = new MCDomainModel.Manager();</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var query = aManager.tciUser;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; foreach (MCDomainModel.tciUser aUser in query)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TextBox1.Text = aUser.familyName + " " + aUser.givenName + "\r\n";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;</DIV><DIV>Error appears when get to foreach query: The specified metadata path is not valid. A valid path must be either an existing directory, an existing file with extension '.csdl', '.ssdl', or '.msl', or a URI that identifies an embedded resource.</DIV><DIV>&nbsp;</DIV><DIV>Thanks.</DIV><DIV>&nbsp;</DIV><DIV>Milton</DIV><span style="font-size:10px"><br /><br />Edited by miltonb - 25-Mar-2008 at 10:08pm</span>]]>
   </description>
   <pubDate>Mon, 24 Mar 2008 18:58:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=741&amp;PID=2739#2739</guid>
  </item> 
 </channel>
</rss>