<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>Part 3: Views and ViewModels</title><link>http://www.asp.net</link><pubDate>Mon, 16 Apr 2012 23:32:46 GMT</pubDate><generator>umbraco</generator><description>Comments for Part 3: Views and ViewModels</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/27627" rel="self" type="application/rss+xml" /><item><title>Comment Posted by haplvs</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Sat, 17 Jul 2010 23:52:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009500</guid><description><![CDATA[ <p>thanks a lot</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/haplvs.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ks2007</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Tue, 24 Aug 2010 16:31:58 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009970</guid><description><![CDATA[ <p>The tutorial is good. However, it should have been available for use with Sql Server 2005 which many people have.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ks2007.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by abjunkcha</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Sat, 05 Feb 2011 00:29:39 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011935</guid><description><![CDATA[ <p>Great work guys, everything is flowing beautifully.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/abjunkcha.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by wukong777</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Tue, 08 Mar 2011 22:12:44 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012397</guid><description><![CDATA[ <p>thanks a lot</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/wukong777.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by testudo52</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Wed, 27 Apr 2011 12:39:38 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013000</guid><description><![CDATA[ <p>I am learning a lot from this tutorial, however...</p><p>I did not see the images after adding the view for the Store index action method in this step of the tutorial. Selecting the Views/Shared/_Layout.cshtml in the Add View dialog for the &quot;Use a layout or master page:&quot; would have fixed it. For whatever reason, I had no Razor _ViewStart file. Adding the line</p><p>    Layout = &quot;~/Views/Shared/_Layout.cshtml&quot;;</p><p>to Browse.cshtml after the line</p><p>    ViewBag.Title = &quot;Browse&quot;;</p><p>fixed it.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/testudo52.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by bshoeleh</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Fri, 24 Jun 2011 00:03:33 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013599</guid><description><![CDATA[ <p>great tutorial, however, i need to link multiple instances of a table to another table.  My parent table (room table) has 4 fields to for each wall of a room. I define my walls in a wall table.  I can related them in the database using instances of the table but I have no idea how to do it using the code first method.  Any clues???</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/bshoeleh.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by garfbradaz</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Tue, 28 Jun 2011 15:18:05 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013631</guid><description><![CDATA[ <p>Weird, the logo.png is not rendered at all in IE9 but it is in Firefox4 and Chrome.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/garfbradaz.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by frogjezz</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Wed, 06 Jul 2011 09:11:50 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013704</guid><description><![CDATA[ <p>When I try to run the project after adding the loop through the Genre objects in the Store index and I always have an error : Value cannot be null, parameter name: source. </p><p>Can you help me?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/frogjezz.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by KimMogensen</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Sun, 17 Jul 2011 07:27:22 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013774</guid><description><![CDATA[ <p>Also stylesheet seems to be surpressed in Google Chrome ver. 12.0.742.122</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/KimMogensen.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ematsuno</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Thu, 18 Aug 2011 17:15:27 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013987</guid><description><![CDATA[ <p>Where is the tutorial for VS 2008?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ematsuno.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by DiegoBueno</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Mon, 22 Aug 2011 14:56:39 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014012</guid><description><![CDATA[ <p>I followed all the steps until i got to the import of the images and the CSS file. My default browser is Google Chrome so when i Started Debugging (F5) the web page looked the same before and after i dragged the files to the Content folder.</p><p>It runs fine on Internet Explorer 9, but how can i fix the incompatibility? I need it to run on any browser.</p><p>plz help!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/DiegoBueno.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ricka6</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Wed, 28 Sep 2011 21:25:15 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014296</guid><description><![CDATA[ <p>garfbradaz: Weird, the logo.png is not rendered at all in IE9 but it is in Firefox4 and Chrome.</p><p>Yes, IE9 has several problems. I noticed it works in IE9 if you hit the compatibility button.</p><p>ematsuno : Where is the tutorial for VS 2008?</p><p>This requires VS 2010 or VWS 2010 (which is free)</p><p> </p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ricka6.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by samarmir</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Mon, 03 Oct 2011 12:18:38 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014317</guid><description><![CDATA[ <p>There is a tiny typo in below, it should say Default.cshtml and not Index</p><p></p><p>&quot;Because we are creating it from the StoreController it will by default be generated in a \Views\Store\Index.cshtml file.&quot;</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/samarmir.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by captain60s</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Sun, 06 Nov 2011 03:26:42 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014565</guid><description><![CDATA[ <p>Using IE9, had same prob., not seeing logo. Compatability suggestion worked.  Thanks ricka6!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/captain60s.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by captain60s</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Mon, 07 Nov 2011 01:09:59 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014568</guid><description><![CDATA[ <p>Following code generated an error with Name</p><p>&lt;h2&gt;Browsing Genre: @Model.Name&lt;/h2&gt;</p><p></p><p>This fixed it.</p><p>&lt;h2&gt;Browsing Genre: @Model.Genre.Name&lt;/h2&gt;</p><p></p><p>What do you think i did wrong, Anyone?  </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/captain60s.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by captain60s</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Mon, 07 Nov 2011 01:35:32 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014569</guid><description><![CDATA[ <p>Please don&#39;t waste your time.  I found my problem. Thanks. </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/captain60s.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by etlds</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Tue, 07 Feb 2012 11:32:17 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014784</guid><description><![CDATA[ <p>May I ask, why Browse return View(genreModel) need to pass a parameter but Details do not.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/etlds.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by etlds</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Tue, 07 Feb 2012 11:38:22 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014785</guid><description><![CDATA[ <p>Sorry, ignore my question.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/etlds.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by lawfulevil</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Thu, 09 Feb 2012 12:15:50 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014800</guid><description><![CDATA[ <p>Same problem here, using IE9.</p><p></p><p>I cannot see any effects from CSS and the images.</p><p></p><p>Looks like it fixed for others with some &quot;Compatibility button&quot;, what is that and where can I find it ?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/lawfulevil.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by lawfulevil</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Thu, 09 Feb 2012 12:46:08 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014802</guid><description><![CDATA[ <p>In IE9, I used the F12 Developer Tools option to view what was going on.</p><p></p><p>It said, it couldn&#39;t apply some stylesheets since :visited and :link can only differ by color.</p><p></p><p>I went into the Site.css file and looked for &quot;visited&quot; and found two places where :link and :visited are used. One time under #Categories and another time just generally. Both places had more than the color variable.</p><p></p><p>I commented everything else other than the color, therefore it looked like this:</p><p></p><p>a:link, a:visited</p><p>{</p><p>	color: #F6855E;</p><p>	/*text-decoration: none;</p><p>	font-weight: bold;*/</p><p>}</p><p></p><p>and</p><p></p><p>#categories a:link, #categories a:visited</p><p>{</p><p>	color: #9B9993;</p><p>	/*text-decoration: none;*/</p><p>}</p><p></p><p>I ran the website and everything loaded fine.</p><p></p><p>Then I tried to figure out which one of those things was causing the problem, so I started uncommenting one by one. The problem is, I eventually ended up uncommenting everything, therefore going back to how things originally were, and it STILL worked fine. :-(</p><p></p><p>So I dunno what caused the problem, but looks like I fixed it.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/lawfulevil.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by tertl3</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Sun, 26 Feb 2012 19:25:57 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014948</guid><description><![CDATA[ <p>interesting, for me, the images and css didn&#39;t show in Chrome but showed in IE9.  call me crazy, but this is what happened.  </p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/tertl3.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by helpneed</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Tue, 28 Feb 2012 09:37:18 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014960</guid><description><![CDATA[ <p>Hi </p><p></p><p> After dragging sampledata.cs to models i could not see the c#symbol on left side. does that mean it is not copied correctly. It is saying that sampledata.cs not found.though i see it in models.</p><p></p><p>thanks in advance</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/helpneed.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by vsn1982</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Wed, 04 Apr 2012 04:35:27 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015254</guid><description><![CDATA[ <p>I created everything as mentioned above, the CSS loads and displays as it needs to be in the Home page, but when i navigate to Store page through the &#39;Store&#39; link or direct from the URL, the CSS is not loaded and the header images does not display. I use IE8</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/vsn1982.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Yelani</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Mon, 16 Apr 2012 23:20:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015350</guid><description><![CDATA[ <p>Wonderful tutorial.</p><p>I do not why I am not able to see the changes in the Home page after adding the updated CSS file and Images.</p><p>Anybody can help me?</p><p>Thanks,</p><p>Yelani</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Yelani.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Yelani</title><link>http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-3</link><pubDate>Mon, 16 Apr 2012 23:32:46 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015351</guid><description><![CDATA[ <p>Well, I changed browsers and it worked :)</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Yelani.jpg?forceidenticon=false&amp;dt=635047202400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>