<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ASP.NET MVC Storefront Part 2: The Repository Pattern</title><link>http://www.asp.net</link><pubDate>Mon, 17 Sep 2012 20:45:23 GMT</pubDate><generator>umbraco</generator><description>Comments for ASP.NET MVC Storefront Part 2: The Repository Pattern</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/27513" rel="self" type="application/rss+xml" /><item><title>Comment Posted by ranveerbanga</title><link>http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-2-the-repository-pattern</link><pubDate>Tue, 08 Jul 2008 09:27:56 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007738</guid><description><![CDATA[ <p>the zip file is empty. could you please upload the video. thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ranveerbanga.jpg?forceidenticon=false&amp;dt=635048561400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by muhammed</title><link>http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-2-the-repository-pattern</link><pubDate>Mon, 21 Jul 2008 05:45:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007739</guid><description><![CDATA[ <p>the zip file has nothing</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/muhammed.jpg?forceidenticon=false&amp;dt=635048561400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mike-g@bresnan.net</title><link>http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-2-the-repository-pattern</link><pubDate>Sun, 19 Oct 2008 13:27:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007740</guid><description><![CDATA[ <p>I am an experienced developer in ASP.NET. I&#39;ve used MVC in other projects developed in PHP, so the concepts of MVC are not at all foreign. I&#39;m well versed in the use of interfaces, but you really went too fast for me on this one?</p> <p>Can you point me to other resources?</p> <p>Thanks, Mike</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mike-g@bresnan.net.jpg?forceidenticon=false&amp;dt=635048561400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by NikolaR</title><link>http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-2-the-repository-pattern</link><pubDate>Sat, 15 Nov 2008 13:32:38 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007741</guid><description><![CDATA[ <p>I&#39;m not very good with LINQ, but doesn&#39;t this grouping code support only one level of nesting?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/NikolaR.jpg?forceidenticon=false&amp;dt=635048561400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by gili</title><link>http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-2-the-repository-pattern</link><pubDate>Fri, 26 Dec 2008 17:43:17 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007742</guid><description><![CDATA[ <p>I&#39;m with mike on this. I&#39;m a seasoned developer (asp.net web forms), and this was way too fast for me. I lost you completely. I prefer videos or tutorials that I can follow, stop by step, on my machine.</p> <p>Plus, the video quality is terrible, I can&#39;t see the code.</p> <p>So the bottom line is a big miss. Because obviously you know a lot, and we desperately need sources of information and samples on mvc.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/gili.jpg?forceidenticon=false&amp;dt=635048561400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by joechung</title><link>http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-2-the-repository-pattern</link><pubDate>Thu, 01 Jan 2009 19:23:17 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007743</guid><description><![CDATA[ <p>You could have grouped those categories with a single line of LINQ:</p> <p>from category in categories</p> <p>group category by category.ParentID into category_group</p> <p>select category_group;</p> <p>That produces an IGrouping&lt;int, Category&gt; which is a hashtable whose key is the Category ID and whose value is an IEnumerable&lt;Category&gt; with categories whose parent ID is the key.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/joechung.jpg?forceidenticon=false&amp;dt=635048561400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by joechung</title><link>http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-2-the-repository-pattern</link><pubDate>Thu, 01 Jan 2009 19:27:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007744</guid><description><![CDATA[ <p>The single-line version:</p> <p>[C#]</p> <p>categories.GroupBy(c =&gt; c.ParentID)</p> <p>[VB]</p> <p>categories.GroupBy(Function(c) c.ParentID)</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/joechung.jpg?forceidenticon=false&amp;dt=635048561400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Al Brin</title><link>http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-2-the-repository-pattern</link><pubDate>Sun, 19 Apr 2009 19:28:13 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007745</guid><description><![CDATA[ <p>Its a little difficult to understand your guest speaker. </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Al%20Brin.jpg?forceidenticon=false&amp;dt=635048561400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Rjansz</title><link>http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-2-the-repository-pattern</link><pubDate>Mon, 13 Jul 2009 20:50:23 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007746</guid><description><![CDATA[ <p>Thanks for another good movie, its really nice that you share your knowledge.</p><p></p><p>P.S: The guest speaker is almost impossible to hear/understand, specially for me who not talk/use english as my main language. Maybe it would be nice with text in that part of your movies where the guest speakers are involved..</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Rjansz.jpg?forceidenticon=false&amp;dt=635048561400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by MakerOfThings7</title><link>http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-2-the-repository-pattern</link><pubDate>Sat, 06 Nov 2010 20:05:17 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010852</guid><description><![CDATA[ <p>The audio quality makes it impossible to really understand your guest speaker</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/MakerOfThings7.jpg?forceidenticon=false&amp;dt=635048561400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Gregory79</title><link>http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-2-the-repository-pattern</link><pubDate>Mon, 10 Jan 2011 15:08:59 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011470</guid><description><![CDATA[ <p>It seems to me that the logic for grouping the categories belongs in the repository. Because if i am using EntityFramework, witch I like, i would just design the Model so that when I query the database for Categories with parentID == 0 i get the subCategories as well.</p><p></p><p>CommerceDB DB = new CommerceDB();</p><p>IList&lt;category&gt; categories =  DB.categories.Where(c =&gt; c.ID == 0).ToList();</p><p></p><p>Subs:</p><p>IList&lt;Category&gt; subCategoriesToCategoryId1 = categories.Single(c =&gt; c.ID == 1).subCategories.ToList();</p><p></p><p></p><p>Is that a stupid solution?</p><p>(I am quite new to ASP.NET)</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Gregory79.jpg?forceidenticon=false&amp;dt=635048561400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Gregory79</title><link>http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-2-the-repository-pattern</link><pubDate>Mon, 10 Jan 2011 15:10:34 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011471</guid><description><![CDATA[ <p>I ment:</p><p>IList&lt;category&gt; categories = DB.categories.Where(c =&gt; c.parentID == 0).ToList();</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Gregory79.jpg?forceidenticon=false&amp;dt=635048561400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mvcexample</title><link>http://www.asp.net/mvc/videos/mvc-1/aspnet-mvc-storefront/aspnet-mvc-storefront-part-2-the-repository-pattern</link><pubDate>Mon, 17 Sep 2012 20:45:23 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000016451</guid><description><![CDATA[ <p>I didn&#39;t learn much out of this...  Author is focusing more on writing test cases then explaining repository pattern and other important things...  I do have basic understanding of MVC, what i was looking for is writing real world application in MVC, Can someone point me to good Open Source asp.net mvc project with explanation.</p><p></p><p>Thank you</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mvcexample.jpg?forceidenticon=false&amp;dt=635048561400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>