<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET MVC Storefront Starter Kit</title><link>http://forums.asp.net/1165.aspx</link><description>This forum is for any and all questions pertaining to the ASP.NET MVC Storefront Starter Kit. The Storefront  is a sample ASP.NET MVC Commerce application which was developed using Test-driven Development, Inversion of Control (IoC), and Dependency Injection.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Using Entity Framework with MVC Storefront</title><link>http://forums.asp.net/thread/3247720.aspx</link><pubDate>Sat, 20 Jun 2009 16:25:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3247720</guid><dc:creator>jthanassis</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3247720.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=3247720</wfw:commentRss><description>&lt;p&gt;Hi Smithy,&lt;/p&gt;
&lt;p&gt;Do you really want to switch to&amp;nbsp;Entity Framework?&lt;/p&gt;
&lt;p&gt;I believe that&amp;nbsp;using an ORM in software development is a good choice. &lt;/p&gt;
&lt;p&gt;Microsoft has done a great job in c# and lately in ASP.NET MVC but for an ORM solution is a couple of steps behind.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I really don&amp;#39;t know whether Microsoft will one day offer a good ORM for .Net&amp;nbsp;or not.&lt;/p&gt;
&lt;p&gt;Maybe in 2 years from now the impementation of Entity framework in&amp;nbsp;.Net will be mature,stable and mainly light but not even Microsoft knows that right now. &lt;/p&gt;
&lt;p&gt;They decided to focus on L2E and the Entity Framework and leave behind L2S and Linq-to-SQL Classes (that&amp;#39;s a good choice but shows that even big companies make bad decisions from time to time).&lt;/p&gt;
&lt;p&gt;Before switching to Entity Framework I would suggest to take a look at the following links:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.domaindotnet.com/2006/09/09/objectrelational-tools-nhibernate-and-microsoft-adonet-entity-framework/"&gt;http://blog.domaindotnet.com/2006/09/09/objectrelational-tools-nhibernate-and-microsoft-adonet-entity-framework/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.hibernatingrhinos.com/nhibernate/archive/2008/11/26/linq-to-nhibernate.aspx"&gt;http://blogs.hibernatingrhinos.com/nhibernate/archive/2008/11/26/linq-to-nhibernate.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.jagregory.com/2008/08/08/introducing-fluent-nhibernate/"&gt;http://blog.jagregory.com/2008/08/08/introducing-fluent-nhibernate/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Finally, here are some usefull&amp;nbsp;links to start with the Entity Framework:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://naspinski.net/post/Getting-started-with-Linq-To-Entities.aspx"&gt;http://naspinski.net/post/Getting-started-with-Linq-To-Entities.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://stackoverflow.com/questions/589906/how-to-move-from-linq-2-sql-to-linq-2-entities"&gt;http://stackoverflow.com/questions/589906/how-to-move-from-linq-2-sql-to-linq-2-entities&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(stackoverflow is always a great place to find usefull information)&lt;/p&gt;
&lt;p&gt;Currently I&amp;#39;m developing a clone of an existing&amp;nbsp;CMS (written in classic ASP)&amp;nbsp;using c#,ASP.NET MVC and L2S.&lt;/p&gt;
&lt;p&gt;In the near future i will keep&amp;nbsp;using c# and ASP.NET MVC but I will focus on NHibernate unless Microsoft has something interesting to show me. Right now there is no such thing. I really like Linq and I expect that Linq-to-NHibernate&amp;nbsp;support will be much more mature in the near future.&lt;/p&gt;
&lt;p&gt;The only reason I replied to your initial question is to remind you that you should never follow a technology before looking around for a beter alternative and right now I strongly believe that the Entity Framework implementation for .NET&amp;nbsp;is not the best&amp;nbsp;solution if we really need to use an ORM in our software.&lt;/p&gt;
&lt;p&gt;thanassis&lt;/p&gt;</description></item><item><title>Using Entity Framework with MVC Storefront</title><link>http://forums.asp.net/thread/3046987.aspx</link><pubDate>Sun, 29 Mar 2009 21:50:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3046987</guid><dc:creator>smithym</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3046987.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=3046987</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;div class="post-text"&gt;
                

&lt;p&gt;can anyone give a helping hand, I been watching the videos for the
mvc storefront and have create my own website using these techniques
i.e. DDD, Repository pattern but i wish to use Entity Framework.&lt;/p&gt;

&lt;p&gt;In the Interfaces it returns IQueryable but with the entity
framework i should return ObjectQuery instead? - I will be using LINQ.&lt;/p&gt;

&lt;p&gt;Also in the storedfront example it goes something like this IQueryable&amp;lt;Category&amp;gt; GetCategories();&lt;/p&gt;

&lt;p&gt;As in the mvc stored the Category class was a build entity class
(standard class) but with the entity framework these classes are
prebuilt in the object context - are they not?&lt;/p&gt;

&lt;p&gt;So i should need to build them.&lt;/p&gt;

&lt;p&gt;I am a little confused, if anyone has any helpful example or code it would be really helpful. &lt;/p&gt;

&lt;p&gt;As i say i have watched the videos from THe mvc storefront using linq2sql but really would like to use the entity framework.&lt;/p&gt;

&lt;p&gt;Any ideas?&lt;/p&gt;

&lt;p&gt;Thanks &lt;/p&gt;

&lt;p&gt;Smithy&lt;/p&gt;

            &lt;/div&gt;</description></item></channel></rss>