<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>What is ASP.NET MVC? 80 minute technical video for developers, building NerdDinner</title><link>http://asp.net</link><pubDate>Sun, 29 Nov 2009 06:34:01 GMT</pubDate><generator>umbraco</generator><description>Comments for What is ASP.NET MVC? 80 minute technical video for developers, building NerdDinner</description><language>en</language><atom:link href="http://asp.net/rss/comments/27486" rel="self" type="application/rss+xml" /><item><title>Comment Posted by thinkrajesh</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Thu, 27 Aug 2009 18:27:49 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007566</guid><description><![CDATA[ <p>The video is cool and to the point.  Thanks.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/thinkrajesh.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by tonybolding</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Fri, 28 Aug 2009 14:08:28 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007567</guid><description><![CDATA[ <p>Rob is really good at explaining how this example works. I tried it using one table and the modelstate.isvalid kept failing when adding a record on returning a null ID. Seems that if I add a second table and create a relationship it works fine.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/tonybolding.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by erkasoft</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Fri, 28 Aug 2009 19:00:45 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007568</guid><description><![CDATA[ <p>very good video with examples. thank you rob.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/erkasoft.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by W3bdev</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Fri, 28 Aug 2009 20:51:59 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007569</guid><description><![CDATA[ <p>Incredible fast paced move through MVC! Thanks soo much Rob. I work with forms too much and need to really move over to this schema, great place to learn it. Hope you can make some more! Thanks for the JQuery and JSON as well!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/W3bdev.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Supremestar</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Fri, 28 Aug 2009 22:00:46 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007570</guid><description><![CDATA[ <p>Rob, you are a star. Excellent video. On par with your storefront video series. It&#39;s very sad that you are leaving Microsoft. Microsoft needs guys outspoken like you. All the Best.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Supremestar.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by bananas</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Thu, 03 Sep 2009 20:19:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007571</guid><description><![CDATA[ <p>Excellent video. Lots of great info , gonna need to watch it a few times to let it all sink in! Will help me tackle MVC. </p><p>I am forever in debtted to you and I wish to give you my last goat so you can enjoy its warm milk every morning. xx</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/bananas.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by erkasoft</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Sun, 06 Sep 2009 17:14:59 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007572</guid><description><![CDATA[ <p>I love this video. Easy to learn to MVC. Thanks Rob.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/erkasoft.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ramsai</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Fri, 11 Sep 2009 02:57:18 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007573</guid><description><![CDATA[ <p>Please share the code for this video</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/ramsai.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by chilipalmer</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Mon, 14 Sep 2009 20:03:20 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007574</guid><description><![CDATA[ <p>Great example.</p><p></p><p>Please share code to see exactly how everything is tied together.  Thanks.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/chilipalmer.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by aanichin</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Fri, 18 Sep 2009 18:58:53 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007575</guid><description><![CDATA[ <p>Excellent tutorial. Thank you!</p><p></p><p>I have a table called Company that has unique identifier as a primary key but also have an integer field called firm_number which is also unique. How do I implement the controller and views to work with the firm_number ?</p><p></p><p>I was able to create Details and Edit view that expect firm_number as a parameter but the Edit link at the bottom of the Details view refers to an Edit view that expects unique identifier as input parameter.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/aanichin.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by par20pinspot</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Wed, 23 Sep 2009 19:29:54 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007577</guid><description><![CDATA[ <p>Is anyone else having trouble getting the create, edit, and delete to work? (Up to 38:00ish in the video) The pages appear fine and don&#39;t throw any errors but ultimately the actions do nothing.  When I reference the queries directly instead of out of the repository the pages work correctly.  Any ideas?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/par20pinspot.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mamikel</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Sun, 27 Sep 2009 03:40:17 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007578</guid><description><![CDATA[ <p>in the test method (index should return 1 or more dinners) the line var data = result.ViewData.Model as IList&lt;Dinner&gt;; fails to instantiate a data object.  any ideas where this might be going wrong?  Can&#39;t seem to step through the test code to see where the issue is occurring</p><p>thanks</p><p>code I have as per the example:</p><p>        [TestMethod]</p><p>        public void Index_Should_Return_1_Or_More_Dinners()</p><p>        {</p><p>            //Arrange</p><p>            var controller = new DinnerController(new Fakes.FakeDinnerRepository());</p><p></p><p>           //Act</p><p>            var result = controller.Index() as ViewResult;</p><p>              </p><p>            //Assert</p><p>            var data = result.ViewData.Model as IList&lt;Dinner&gt;;</p><p>            Assert.IsTrue(data.Count &gt;= 0);</p><p></p><p>        </p><p>        }</p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mamikel.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mamikel</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Sun, 27 Sep 2009 04:35:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007579</guid><description><![CDATA[ <p>I&#39;ve traced it through and for some reason data is null after this line: </p><p>var data = result.ViewData.Model as IList&lt;Dinner&gt;;</p><p>Yet, holding the cursor over result.ViewData.Model allows me to inspect the results view and this reveals the expected results list</p><p>So, somehow, there appears to be an issue pushing the model into a List - but I&#39;m getting no errors reported - it&#39;s a black hole</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mamikel.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mamikel</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Sun, 27 Sep 2009 04:43:28 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007580</guid><description><![CDATA[ <p>Interesting, if I change the line to</p><p>var data = (LList&lt;Dinner&gt;) result.ViewData.Model; </p><p>I get the error:</p><p>Unable to cast object of type &#39;System.Linq.EnumerableQuery`1[Nerddinner.Model.Dinner]&#39; to type &#39;System.Collections.Generic.IList`1...</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mamikel.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mamikel</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Sun, 27 Sep 2009 05:10:23 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007581</guid><description><![CDATA[ <p>lol, well I also tried going from an IEnumerable to a list and that didn&#39;t work either.</p><p></p><p>But this at least works:</p><p></p><p>            int i = 0;</p><p>            //Assert</p><p>            foreach (var item in result.ViewData.Model as IEnumerable&lt;Dinner&gt;)</p><p>            {</p><p>                i++;</p><p>            }</p><p></p><p>            Assert.IsTrue(i &gt;= 0);</p><p></p><p>I should point out I&#39;m pretty new to C#, Linq To SQL and ASP.NET MVC</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mamikel.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mamikel</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Sun, 27 Sep 2009 05:13:35 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007582</guid><description><![CDATA[ <p>sorry Assert.IsTrue(i &gt; 0);  (and in the above loop could also break when i&gt;0) but more concerned with why I can&#39;t get a list back (as the repositry data is a list).</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mamikel.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mamikel</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Sun, 27 Sep 2009 08:34:44 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007583</guid><description><![CDATA[ <p>Please scratch the above, it&#39;s inadvertently answered later in the demo</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mamikel.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by gdl</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Wed, 07 Oct 2009 17:41:57 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007584</guid><description><![CDATA[ <p>Thank you Rob, excellent video, I learned a lot from it.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/gdl.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by zeyzone</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Fri, 09 Oct 2009 17:14:11 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007585</guid><description><![CDATA[ <p>Thank you very much good lesson</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/zeyzone.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Sharbel_</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Thu, 15 Oct 2009 01:59:28 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007586</guid><description><![CDATA[ <p>Nice job on this video. I am recommending it to all my developers to take a look at for a very good primer on MVC.  Thanks for the great work!</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Sharbel_.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by alexzyc</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Fri, 16 Oct 2009 18:37:09 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007587</guid><description><![CDATA[ <p>The following works for me. </p><p></p><p>        [TestMethod]</p><p>        public void Index_Should_Return_1_or_More_Dinners()</p><p>        {</p><p>            var contorller = new DinnerController(new Fakes.FakeDinnerRepository());</p><p>            var result = contorller.Index() as ViewResult;</p><p>            IEnumerable&lt;Dinner&gt; data = result.ViewData.Model as IEnumerable&lt;Dinner&gt;;</p><p>            Assert.IsTrue(data.Count() &gt; 0);</p><p>        }</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/alexzyc.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by alexzyc</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Fri, 16 Oct 2009 18:57:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007588</guid><description><![CDATA[ <p>Add ToList()In DinnerController.cs resolves failed issue in &quot;var data = result.ViewData.Model as IList&lt;Dinner&gt;; &quot;. </p><p></p><p>        public ActionResult Index()</p><p>        {</p><p>            var dinners = _repository.FindAllDinners().ToList();</p><p>            return View(dinners);</p><p>        }</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/alexzyc.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mshaaban</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Wed, 18 Nov 2009 07:47:22 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007591</guid><description><![CDATA[ <p>Thank you so much!</p><p>Really, It is very useful.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/mshaaban.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by balapraveen</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Wed, 25 Nov 2009 11:05:50 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007592</guid><description><![CDATA[ <p>thanks a lot.. really very useful.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/balapraveen.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rickoshay</title><link>http://asp.net/mvc/videos/mvc-2/how-do-i/what-is-aspnet-mvc-80-minute-technical-video-for-developers-building-nerddinner</link><pubDate>Sun, 29 Nov 2009 06:34:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000007593</guid><description><![CDATA[ <p>Having a standard set of model projections (view models or representational state) is important, but they were presented as a work-around for a problem serializing circular references. I fixed that problem by simply marking the serialization mode in the DBML property to unidirectional (on the parent reference if I recall correctly). I later created &quot;views&quot; (the view in MVC was never meant to mean the GUI, it&#39;s too late to get that out of people&#39;s minds now) of the DBML models for other reasons (need small representational state objects, not complete but potentially huge object graphs).</p><p></p><p><a rel="nofollow" href="http://msdn.microsoft.com/en-us/library/bb546184.aspx" target="_blank">msdn.microsoft.com/</a></p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/rickoshay.jpg?forceidenticon=false&amp;dt=635071972200000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>