<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>Adding a View</title><link>http://asp.net</link><pubDate>Mon, 04 Oct 2010 04:37:24 GMT</pubDate><generator>umbraco</generator><description>Comments for Adding a View</description><language>en</language><atom:link href="http://asp.net/rss/comments/33028" rel="self" type="application/rss+xml" /><item><title>Comment Posted by in2minds</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Wed, 18 Aug 2010 15:59:05 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009893</guid><description><![CDATA[ <p>How did the Movie folder under View get created? where are the steps?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/in2minds.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by bobjcyr</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Wed, 18 Aug 2010 16:30:46 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009894</guid><description><![CDATA[ <p>After Changing views, I am to run ../Movies.</p><p> I get a Server error here, however ../HelloWorld works.</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/bobjcyr.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Googlo</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Mon, 23 Aug 2010 18:49:05 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009954</guid><description><![CDATA[ <p>To:in2minds :bobjcyr :</p><p>Only way I figured out how to do it that way (LocalhostXXX/Movies) is to create a Controller for movies.</p><p>Ex:MoviesController</p><p>Just like HelloWorldController.</p><p></p><p>It worked in the URL but It may be wrong.... Maybe someone can explain.</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Googlo.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Googlo</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Mon, 23 Aug 2010 20:05:25 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009957</guid><description><![CDATA[ <p>I think and Correct me if I&#39;m Wrong, but the code you supplied doesn&#39;t match the code you have pasted as the example Image below it and it gave me 29 errors...</p><p> What you posted:</p><p>&quot;&lt;% for(int i=0;i&lt;%model.numtimes  % { ;i++)&gt;%</p><p> </p><p>       &lt;%h3&gt;%&lt;%: Model.Message %&gt;&lt;%/h3&gt;%</p><p> </p><p>&lt;% } %&gt;&quot;</p><p></p><p>I think it should look more like below as in the Image: ...Am I Correct?</p><p></p><p>&lt;% for(int i=0;i&lt;Model.NumTimes;i++) {%&gt;</p><p>&quot;</p><p>       &lt;h3&gt;&lt;%: Model.Message %&gt;&lt;/h3&gt;</p><p> </p><p>    &lt;% } %&gt;&quot;</p><p></p><p>All 29 errors were gone after retyping...</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Googlo.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Googlo</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Mon, 23 Aug 2010 20:07:27 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009958</guid><description><![CDATA[ <p>Erm...Should look like Below: (I&#39;m sorry for misplacing the &quot;)</p><p></p><p>&lt;% for(int i=0;i&lt;Model.NumTimes;i++) {%&gt;</p><p> </p><p>       &lt;h3&gt;&lt;%: Model.Message %&gt;&lt;/h3&gt;</p><p> </p><p>    &lt;% } %&gt;</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Googlo.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by chris.hore</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Wed, 25 Aug 2010 21:27:45 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009988</guid><description><![CDATA[ <p>Definitely some steps missing here, even if you create your own controller for Movies I still don&#39;t see any step (or any way!) to create the Welcome.aspx under the HelloWorld folder. The steps to create the Index.aspx file were to create a new View from the controller, but right clicking on Welcome in the controller code doesn&#39;t give you the option to add a new view because it&#39;s not and ActionResult function.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/chris.hore.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by valxity</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Fri, 27 Aug 2010 04:36:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010009</guid><description><![CDATA[ <p>It should be:</p><p>&lt;% for (int i = 0; i &lt; Model.NumTimes; i++)</p><p>       { %&gt;</p><p>        &lt;h3&gt;&lt;% = Model.Message %&gt;&lt;/h3&gt;</p><p>    &lt;% } %&gt;</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/valxity.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sudipta k paik</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Mon, 30 Aug 2010 07:52:20 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010044</guid><description><![CDATA[ <p>Thank You.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/sudipta%20k%20paik.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sudipta k paik</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Fri, 03 Sep 2010 01:27:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010105</guid><description><![CDATA[ <p>When U add MovieController?</p><p></p><p>Last code snippet will be </p><p>&lt;% for(int i=0; i&lt;Model.NumTimes %&gt;&lt;%;i++){%&gt;</p><p> </p><p>       &lt;h3&gt; &lt;%=Model.Message %&gt;&lt;/h3&gt;</p><p> </p><p>    &lt;% } %&gt; </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/sudipta%20k%20paik.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by 5c077</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Tue, 07 Sep 2010 16:46:03 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010156</guid><description><![CDATA[ <p>I could go no further.  This is messed up.  You would think that with all the complaints, they would have fixed it by now.  Yet another reason to use PHP.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/5c077.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by agend</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Wed, 08 Sep 2010 11:06:49 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010159</guid><description><![CDATA[ <p>&lt;h2&gt;Welcome&lt;/h2&gt;</p><p>    &lt;%</p><p>        for (int i = 0; i &lt; Model.Razy; i++){ %&gt;</p><p>        &lt;h3&gt; &lt;%: Model.Imie %&gt; &lt;/h3&gt;</p><p>    &lt;%  }   %&gt;</p><p></p><p>try this -works for me.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/agend.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by epaga</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Thu, 09 Sep 2010 02:48:26 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010170</guid><description><![CDATA[ <p>Yup you need to create a MovieController first. He forgot that.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/epaga.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by epaga</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Thu, 09 Sep 2010 03:31:47 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010171</guid><description><![CDATA[ <p>Works:</p><p></p><p>&lt;% for(int i=0; i&lt;Model.NumTimes %&gt;&lt;%;i++){%&gt;</p><p></p><p>&lt;h3&gt; &lt;%=Model.Message %&gt;&lt;/h3&gt;</p><p></p><p>&lt;% } %&gt; </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/epaga.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Gary A. Stafford</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Fri, 10 Sep 2010 16:53:23 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010186</guid><description><![CDATA[ <p>I was excited about these tutorials until I saw this glaring omissions regarding the Movies. I hope the rest of the tutorials are better written and edited/QC.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Gary%20A.%20Stafford.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Gary A. Stafford</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Fri, 10 Sep 2010 23:16:11 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010187</guid><description><![CDATA[ <p>On my screen, the code below the Add Welcome View is totally messed up. It is full of erroneous characters. It should look like the code in the illustration below it. Was this tutorial proofread?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Gary%20A.%20Stafford.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by nightkoder</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Wed, 15 Sep 2010 16:14:32 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010245</guid><description><![CDATA[ <p>If you&#39;re using Visual Studio 2010, you can clear the &lt;%: error in the for loop by changing the Movies project settings to point to the Framework 4.0.</p><p></p><p>As far as the Movies view, I think the author really intended for users to view the Hello World page again, since all the changes were done in the HelloWorld index.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/nightkoder.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by shanselman</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Sat, 18 Sep 2010 06:05:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010280</guid><description><![CDATA[ <p>Thanks for the help folks. I&#39;m going to walk through it again myself and see if I can make it clearer. Feel free to email me at scottha@microsoft.com if you have more ideas or errors. </p><p>Scott Hanselman</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/shanselman.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by shanselman</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Sat, 18 Sep 2010 06:08:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010281</guid><description><![CDATA[ <p>Looks like there&#39;s some trouble with the syntax highlighter that is causing trouble with that code snippet. I&#39;m looking into it.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/shanselman.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by heraclito27</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Mon, 20 Sep 2010 02:07:53 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010308</guid><description><![CDATA[ <p>I think where says &quot;/Movies&quot; should be &quot;/HelloWorld&quot;.</p><p>Maybe the author had the intention to rename HelloWorld to Movies and later forgot to do it. There areother places where &quot;Movies&quot; should be &quot;HelloWorld&quot;.</p><p>Good tutorial anyways.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/heraclito27.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by btg</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Mon, 20 Sep 2010 02:35:18 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010310</guid><description><![CDATA[ <p>Run your app and visit /Movies must be actually Run your app and visit /HelloWorld</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/btg.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by selfay</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Sat, 25 Sep 2010 09:05:52 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010381</guid><description><![CDATA[ <p>Phrase: &quot;Run your app and visit /Movies&quot; not correct.</p><p>Must be &quot;Run your app and visit /HelloWorld/Index.aspx&quot; or /HelloWorld only.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/selfay.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by selfay</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Sat, 25 Sep 2010 09:31:55 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010382</guid><description><![CDATA[ <p>No /HelloWorld/Index.aspx - not correct too. We have to specify /[Controller]/[ActionName]/[Parameters]. So it must be /HelloWorld/Index or /HelloWorld only. O..oh!</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/selfay.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by khaled_cs</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Wed, 29 Sep 2010 07:12:50 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010426</guid><description><![CDATA[ <p>this is a good article but really there is a problem about /Movies , may be it the name of the application may be or you should to correct it to be /HelloWorld</p><p>Thanks at all , looking to next Tutorial (F) </p><p>and Thanks for all Comments </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/khaled_cs.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by SecondRen</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Mon, 04 Oct 2010 01:11:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010485</guid><description><![CDATA[ <p>Still mising the step to add the Movies view....</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/SecondRen.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by gbessis</title><link>http://asp.net/mvc/tutorials/older-versions/getting-started-with-mvc/getting-started-with-mvc-part3</link><pubDate>Mon, 04 Oct 2010 04:37:24 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010487</guid><description><![CDATA[ <p>I try to convert your sample in VB.Net.</p><p>When I code the VeiwModel and then &quot;Add a view&quot; to Welcome, the viewmodel does not apprear in the list of viewmodels. My code follows. What did I miss ?</p><p></p><p>Function Welcome(ByVal Name As String, ByVal NumTimes As Integer) As ActionResult</p><p></p><p>            Dim viewModel As New WelcomeViewModel</p><p>            viewModel.Message = &quot;Hello &quot; + Name</p><p>            viewModel.NumTimes = NumTimes</p><p>            Return View(viewModel)</p><p></p><p>        End Function</p><p>        Public Class WelcomeViewModel</p><p>            Public Message As String</p><p>            Public NumTimes As Integer</p><p>        End Class</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/gbessis.jpg?forceidenticon=false&amp;dt=635048343600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>