Wrox Programmer Forums
|
BOOK: Beginning ASP.NET MVC 1.0 ISBN: 978-0-470-43399-7
This is the forum to discuss the Wrox book Beginning ASP.NET MVC 1.0 by Simone Chiaretta, Keyvan Nayyeri; ISBN: 9780470433997
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET MVC 1.0 ISBN: 978-0-470-43399-7 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 2nd, 2010, 11:35 AM
Authorized User
 
Join Date: Oct 2009
Posts: 17
Thanks: 7
Thanked 1 Time in 1 Post
Default MVC 2 Project Template - Start.Models.Person

Hi there,

I'm get the squigglies underneath the word start in the code/markup of my index view - listing 3-6 in chapter 3. The error being an uknown namespace or....etc

I suspect maybe that using an MVC 2 Project template may mean there are nuances and that this could be on of them?

Please let me know your thoughts if you may be able to help.

As an aside, the first 38 pages have been an interesting read and I'm still looking forward to the rest of this book.

Nick
 
Old April 2nd, 2010, 12:08 PM
Registered User
 
Join Date: Apr 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Nick,
I'm glad you liked the first pages of book: I hope you'll like the rest of the book as well :)

As for the errors you get, the samples have been developed with ASP.NET MVC version 1 and .NET 3.5. If you are using MVC 2 or .NET 4 you might get some errors as there has been some changes.

Simone
 
Old April 2nd, 2010, 01:18 PM
Authorized User
 
Join Date: Oct 2009
Posts: 17
Thanks: 7
Thanked 1 Time in 1 Post
Default

Hi Simone,

Thanks for getting back to me.

I downloaded the MVC 1 template from codeplex and still seem to be having an error with the Start.Models.Person. Apparently the start is an unknown namespace.

When I hit build it succeeds, so I'm just wondering if this is one of those quirks that shows up in the IDE but isn't actually a problem come compile time. Similar to the attribute for setting CSS friendly classes in web forms.

If there is anything you think I might be missing please give me a shout. In the meantime I'll re-examine the pages and make sure I've not overlooked some bits of the code.

Cheers

Nick
 
Old April 2nd, 2010, 01:20 PM
Registered User
 
Join Date: Apr 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'll review the code as soon as I can and then I'll get back to you.
Simone
 
Old April 2nd, 2010, 01:22 PM
Authorized User
 
Join Date: Oct 2009
Posts: 17
Thanks: 7
Thanked 1 Time in 1 Post
Default

Please forgive me for wasting your time.

Start is the name you used for your sample application whereas I called mine something a little different.

Sorry about that
 
Old April 2nd, 2010, 01:23 PM
Registered User
 
Join Date: Apr 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No problem





Similar Threads
Thread Thread Starter Forum Replies Last Post
TheBeerHouse MVC preview ASP.NET MVC Website Programming Problem Design Solution jminatel BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 July 18th, 2009 09:16 AM
I cant build and start my project snowydust VB.NET 2002/2003 Basics 1 November 28th, 2004 04:23 AM
How to start a new project in.. number7 VB.NET 2002/2003 Basics 1 November 9th, 2004 08:16 AM
problems working two person on same project debuajm General .NET 5 June 11th, 2004 01:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.