Wrox Programmer Forums
|
BOOK: Professional ASP.NET MVC 3
This is the forum to discuss the Wrox book Professional ASP.NET MVC 3 by Jon Galloway, Phil Haack, Brad Wilson, K. Scott Allen; ISBN: 978-1-1180-7658-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 3 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 September 27th, 2011, 04:49 PM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Good book for an MVC beginner?

I would like to purchase this book, but I have some questions to ask:
I have been webform C# web developer for quite some time now. My knowledge of MVC is very limited. I have visual studio professional 2010 with MVC3 loaded onto it recently. Is that sufficient for this book? Would this be a good book for me to start learning MVC3 as a beginner? If not can you recommend any other book that could give me a good jumpstart on MVC3?
 
Old October 5th, 2011, 02:39 PM
Registered User
 
Join Date: Oct 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I recommend it, it's taught me a lot so far and I haven't done anything with c# or ASP.NET. Visual Studio 2010 with MVC 3 is exactly what you need
 
Old October 14th, 2011, 01:45 PM
Registered User
 
Join Date: Oct 2011
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

I'm not quite sure I would recommend this to a beginner.
I myself is a beginner in MVC, and it was a little problematic to follow the book in some areas.

I would suggest to start with this tutorial first: http://www.asp.net/mvc/tutorials/mvc-music-store-part-1 (which is the application used in the book), and when you are finished with it then start on the book.
 
Old December 9th, 2011, 09:56 PM
Wrox Author
 
Join Date: Oct 2006
Posts: 36
Thanks: 1
Thanked 5 Times in 5 Posts
Default

@AdmiringWorm I'd agree. Since the Music Store tutorial is free and works with this book, you can use them together or start with the tutorial and then move on to the book. I write the Music Store tutorial, so I make an effort to make sure they work well together.
 
Old December 10th, 2011, 01:06 AM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Beginner's book

Seeing as how MVC3 is such a relatively new technology, why not write a book for entry level MVC3 programmers who have no experience programming in MVC?
 
Old December 10th, 2011, 01:10 AM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default

I downloaded the Music Store Application directly from the internet onto my machine and I tried to run it in Visual Studio 2010 professional and it bombed right out! It didn't run at all. Then I tried doing your tutorial step by step and as I did Visual Studio threw 10,000 warnings in CSHTML files and wouldn't let me run the program. I even cut, copied and pasted the code straight from the files to Visual Studio 2010 and I still got 10,000 warnings and it Visual Studio refused to compile and run the program.
 
Old December 11th, 2011, 12:11 AM
Wrox Author
 
Join Date: Oct 2006
Posts: 36
Thanks: 1
Thanked 5 Times in 5 Posts
Default

@vvboyd I'm sorry you're having problems. Make sure you've got the software prerequisites installed (e.g. Visual Studio 2010 SP1 and MVC 3 Tools Update). Chapter 1 of the book - starting at page 11 - tells you what you need to have installed for the book's code.

The first chapter of the MVC Music Store tutorial walks through installing the prerequisites for that tutorial. The tutorial's been used by a lot of people - over 100,000 downloads just of the latest release - so it does work.
 
Old December 11th, 2011, 01:23 AM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default I do have all of the prerequisites

I do have the service pack 1 and the MVC toolset installed on my Visual Studio 2010 installation, and yet I still have problems with running your code. Maybe the next time I try to play around with the stuff, I will send you the code and error messages that I am receiving.
 
Old December 11th, 2011, 01:26 AM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default

So what do I load on the tutorial? Do I load the Visual Studio solution file for your music store and when I click on that which launches Visual Studio 2010 immediately? When I do that, I see many, many, many compile errors and warnings. I don't know I will look into it again and I will try to run it again. The hard drive on my computer crashed and so I am in the process of rebuilding my computer. When that is finished I will try to run it again and see what happens.
 
Old December 11th, 2011, 01:35 AM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default

Here is an error message which I posted on a different string in this discussion forum;

When I follow the instructions exactly from 72 thru 76 I get the following error message when I try to create the MusicStoreDB controller:
unable to retrieve the metadata for MVCStore.Models.Album one or more errors were detected during model generation:
-System.Data.EdmEntityType 'Album' has no defined key for this entity type
-System.Data.EdmEntity set: Entity set 'Album' is based on a 'type' Album that has no keys defined.

All in all I have found this book to be pretty frustrating due to the fact that it is not nearly instructional enough. I can understand the concepts of what is going on just fine without any problems. I just don't know where to put some of the stuff that you are talking about. If you had fleshed out the examples with better step by step procedures I could do this stuff pretty easily. But instead it leaves everything in the world up to guesswork which makes it almost impossible to follow the instructions in the book. Why isn't there a chapter by chapter working model of the examples in this book that you can at least look at and see how things are done and put together in the [code] download for this book? That really needs to be there for this book and there isn't.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Advantage over MVC 2 book? ryandxavier BOOK: Professional ASP.NET MVC 3 2 August 5th, 2011 04:27 PM
Is this book for MVC only ? Rushino BOOK: Professional ASP.NET Design Patterns 2 November 16th, 2010 09:46 AM
ASP.NET MVC Book Release Date? Steve S BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 3 March 31st, 2009 01:15 PM
I need a good beginner book Rachel ASP.NET 3.5 Basics 8 January 15th, 2009 06:08 AM
Any good book for beginner to learning asp.net kalunalan ASP.NET 1.0 and 1.1 Basics 6 July 24th, 2006 10:50 PM





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