Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Professional ASP.NET MVC 2
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET MVC 2
This is the forum to discuss the Wrox book Professional ASP.NET MVC 2 by Jon Galloway, Scott Hanselman, Phil Haack, Scott Guthrie, Rob Conery; ISBN: Professional ASP.NET MVC 2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 2 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 11th, 2011, 07:48 AM
Registered User
 
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default NerdDinner namespace name 'FormViewModel' does not exist

Hi,

I am getting error: The type or namespace name 'FormViewModel' does not exist in the namespace 'NerdDinner.Controllers' (are you missing an assembly reference?) when I click Edit in NerdDinner page.
It started when I created DinnerFormViewModel.cs.

Help would be most appreciated.

Thank you.
  #2 (permalink)  
Old June 13th, 2011, 09:26 AM
Friend of Wrox
Points: 539, Level: 8
Points: 539, Level: 8 Points: 539, Level: 8 Points: 539, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2010
Location: Seattle
Posts: 106
Thanks: 1
Thanked 17 Times in 17 Posts
Default

Hope this helps

Page 88:
Doesn't say where to create the DinnerFormViewModel. Do it in the Models folder.
Compile error. Fix by adding: using System.Web.Mvc


Page 89 - Wrong: Inherits=”System.Web.Mvc.ViewPage<NerdDinner.Contr ollers.DinnerFormViewModel>
Right: Inherits=”System.Web.Mvc.ViewPage<NerdDinner.Model s.DinnerFormViewModel>
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NerdDinner mvcBeginner BOOK: Professional ASP.NET MVC 2 2 December 23rd, 2010 12:59 AM
NerdDinner ViewModel Errata Darthus BOOK: Professional ASP.NET MVC 2 10 September 20th, 2010 01:02 PM
NerdDinner Example Phils_UK BOOK: Professional ASP.NET MVC 2 1 July 6th, 2010 07:49 PM
Chapter 1 - NerdDinner - Errors Steve S BOOK: Professional ASP.NET MVC 1.0 ISBN: 978-0-470-38461-9 17 May 22nd, 2010 03:22 PM
error CS0234: The type or namespace name 'Xml' does not exist in the namespace 'Syste shailesh_kumar C# 2008 aka C# 3.0 8 August 20th, 2009 03:11 AM



All times are GMT -4. The time now is 10:56 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.