<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>Iteration #1 – Create the Application</title><link>http://www.asp.net</link><pubDate>Sat, 12 May 2012 19:20:54 GMT</pubDate><generator>umbraco</generator><description>Comments for Iteration #1 – Create the Application</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/27611" rel="self" type="application/rss+xml" /><item><title>Comment Posted by DarrallB</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Fri, 18 Jun 2010 12:43:35 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009146</guid><description><![CDATA[ <p>I appreciate the fact that this tutorial is presented for free but there is little value in making a presentation if it doesn&#39;t work. Did you try and create this application instruction by instruction? It won&#39;t work.</p><p>Just for example in listing 2 your instructions are to create the object _entities. This cannot be done without inserting the using statement &quot;using ContactManager.Models;&quot;</p><p>Below that you have &quot;return View(_entities.ContactSet.ToList());&quot;</p><p>There is no ContactSet. Their is Contacts. That works.</p><p></p><p>There is lots more. Or did you intend for the student to hunt these down?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/DarrallB.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by kelasings</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Fri, 16 Jul 2010 14:10:54 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009485</guid><description><![CDATA[ <p>Darrall when you create your EDM and rename the table, the system AUTOMATICALLY creates ContactSet. It does that for any table you rename using the properties area in EDM. You must have skipped the step where you rename the table from the plural Contacts to the singular Contact. Also, the using statements should be second nature. I can understand your confusion if you are a new to .Net, but whenever you need a using statement, the system will show you. The author didn&#39;t say that this is a tutorial on the .Net language. If you need that, you should get that knowledge first BEFORE trying to attempt this example. </p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/kelasings.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cbueno2</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Tue, 07 Sep 2010 08:39:21 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010151</guid><description><![CDATA[ <p>for beginers like me &gt;&gt;</p><p>select the table model, right click properties, under the properties you will see the &quot;Entity Set Name&quot;. Rename that to ContactSet and problem fixed! p.s i had to research this XD</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/cbueno2.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rick_clarke</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Thu, 16 Sep 2010 15:56:24 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010266</guid><description><![CDATA[ <p>When I generate the Views for Create and Edit, I get editable textboxes for the Id column. Any idea what I may have done wrong? The database field is an identity field, and I icluded [Bind(Exclude = &quot;Id&quot;)] on the Create method.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/rick_clarke.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by pabrams</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Fri, 24 Sep 2010 07:46:02 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010367</guid><description><![CDATA[ <p>@kelasings and @OP</p><p>1.  Renaming Contacts to Contact happens automatically in MVC2</p><p>2.  Even when I have &#39;using ContactManager.Models;&#39;, my compiler still underlines ContactManagerDBEntities and says it expects a class, delegate, interface, enum or struct.</p><p>3.  Adding a using statement is only second nature when referencing a class.  In MVC, finding the class ContactManagerDBEntities, or even realizing one was created, is not intuitive.</p><p></p><p>@cbueno2, I see no &quot;Entity Set Name&quot; property for ContactManagerModel.</p><p></p><p>@ the author of this article, your article sucks.  Please don&#39;t post useless articles.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/pabrams.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by freedomsky</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Thu, 28 Oct 2010 00:47:11 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010756</guid><description><![CDATA[ <p>When I create new one, the record don&#39;t insert to database and don&#39;t see any information.</p><p></p><p>I tried to set &quot;Identity Increment&quot; and &quot;Identity Seed&quot; = 1 for &quot;Id&quot; column to test this. If I manually create new one in VS, the value of this column will increment with seed value = number of clickings &quot;Create&quot; button in application + total of record in Database.</p><p></p><p>Why data is not shown in database?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/freedomsky.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by clarky</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Fri, 05 Nov 2010 13:18:42 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010841</guid><description><![CDATA[ <p>Quite a few negative comments I notice so to re-dress the balance just want to state it worked ok for me.  There were differences but they are down to the fact I&#39;m using MVC2 and this tutorial was written for MVC1.  The article states it&#39;s for VS2008 so that&#39;s fine.</p><p></p><p>Sure there&#39;s some slight ommissions such as not including the using statement but nothing that can&#39;t be worked out.  The fact that the namespace error was for a class called ContactManagerDBEntities should tell you that it&#39;s going to be located in a namespace under ContactManager and you&#39;ve only got Models or Controllers to choose from. </p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/clarky.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mejamz</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Sun, 28 Nov 2010 11:23:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011072</guid><description><![CDATA[ <p>I am using Visual Studio 2010 MVC 2 and up to the Edit portion of this lesson... ok! TH edit aspect of this video simply will not work for me... I have duplicated the code exactly several times and I continue to receive the same error EVERY time I try;</p><p>The parameters dictionary contains a null entry for parameter &#39;id&#39; of non-nullable type &#39;System.Int32&#39; for method &#39;System.Web.Mvc.ActionResult Edit(Int32)&#39; in &#39;Program.Controllers.ProgramsController&#39;. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.</p><p>Parameter name: parameters</p><p></p><p>wtf does this mean and how the heck do I resolve this? it happens all the time; even with [Bind(Exclude=&quot;ProgramId&quot;)] used in Create</p><p>Oh how I desire to follow a lesson series that actually works!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mejamz.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by panand</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Sun, 17 Jul 2011 15:24:40 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013775</guid><description><![CDATA[ <p>This is a fantastic tutorial! You&#39;ve managed to explain the SOA design principles in a concise, yet effective package.</p><p></p><p>This is really helping me make my practices better!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/panand.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by gosteen</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Wed, 21 Sep 2011 08:40:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014232</guid><description><![CDATA[ <p>I&#39;m using Visual Web Developer 2010 Express with MVC 2. There were some changes that I had to make like</p><p>This</p><p></p><p>&quot;Contact c = _entities.Contacts.FirstOrDefault(s =&gt; s.Id.Equals(id));&quot;</p><p></p><p>instead of this</p><p>&quot;        var originalContact = (from c in _entities.ContactSet</p><p>                               where c.Id == contactToDelete.Id</p><p>                               select c).FirstOrDefault();</p><p>&quot;</p><p></p><p>But, overall I felt this was very good. With the platform changing slightly almost every day a perfect tutorial is almost impossible. Digging for how you make your version work is most of the real learning process</p><p></p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/gosteen.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mycrap159</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Sat, 08 Oct 2011 13:03:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014365</guid><description><![CDATA[ <p>Hi,</p><p>I find problem with the create function... At my first attempt, the data can be saved into db but the 2nd, 3rd try of it, the data werent saved. And even the 1st data I entered doesnt bring me back to the Index page as it is suppose.. Can you pls help me ? I am using the Visual Studio 2010 . </p><p></p><p>I followed exactly as the tutorial stated but still the create function doesnt work, however the edit works well...</p><p></p><p>Hope you can help me with it... thx =)</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mycrap159.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mycrap159</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Sat, 08 Oct 2011 13:03:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014366</guid><description><![CDATA[ <p>Hi,</p><p>I find problem with the create function... At my first attempt, the data can be saved into db but the 2nd, 3rd try of it, the data werent saved. And even the 1st data I entered doesnt bring me back to the Index page as it is suppose.. Can you pls help me ? I am using the Visual Studio 2010 . </p><p></p><p>I followed exactly as the tutorial stated but still the create function doesnt work, however the edit works well...</p><p></p><p>Hope you can help me with it... thx =)</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mycrap159.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by deepika021</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Fri, 04 Nov 2011 04:14:42 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014555</guid><description><![CDATA[ <p>Hie..</p><p>&#160;I have done the same as it is you said in above tutorial but still getting an error &quot;Object Reference not set to an instance of an object&quot; on index.aspx page in this line  &lt;% foreach (var item in Model) { %&gt;</p><p>Please help me..it&#39;s really very urgent.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/deepika021.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by paulzero</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Thu, 17 Nov 2011 12:10:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014649</guid><description><![CDATA[ <p>This tutorial should be updated or removed. It is out of date and contains errors.</p><p></p><p>Not useful at all.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/paulzero.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rodchar</title><link>http://www.asp.net/mvc/tutorials/older-versions/contact-manager/iteration-1-create-the-application-cs</link><pubDate>Sat, 12 May 2012 19:20:54 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015490</guid><description><![CDATA[ <p>Hi,</p><p>This was a pivotal article for me in understanding good design practices. Thank you. I like how simple and useful the application you chose to demonstrate the concepts. That&#39;s how I learn personally. </p><p></p><p>Any chance you can make a PDF available so I can keep this excellent tutorial.</p><p></p><p>-Rod</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/rodchar.jpg?forceidenticon=false&amp;dt=635046222600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>