Trouble in Part 8-strongly typed view**SOLVED

Jan 5, 2012 at 8:52 PM
Edited Jan 6, 2012 at 1:40 PM

I've run into a problem in part 8 of the tutorial...it's under the heading "Ajax Updates with jQuery".  While trying to add the shopping cart index view page, I click "create a strongly typed view" but the the ShoppingCartViewModel does not appear in the drop down.

If I try to build at this point I have errors all over the place. 

Thanks!

Mike

Jan 6, 2012 at 3:20 PM

Problem solved...I couldn't make a strongly typed view from the ShoppingCartViewModel because I could not get a good build.  I backtracked to the beginning and built after each segment and finally traced the problem to the album class.  I replaced my file with one from the download source and proceeded and it worked.

I did encounter a problem in the Index.cshtml view online line 51.  The line broke to a new line in the middle of the HTMLActionLink and it wasn't picking up the ending " quote marks after "Checkout".  Backspacing so it's all on the same line solved the problem.

Mike