- Taschenbuch: 432 Seiten
- Verlag: Wrox; Auflage: 1. Auflage (22. Juli 2011)
- Sprache: Englisch
- ISBN-10: 1118076583
- ISBN-13: 978-1118076583
- Größe und/oder Gewicht: 18,7 x 2 x 23,5 cm
- Durchschnittliche Kundenbewertung: 2 Kundenrezensionen
- Amazon Bestseller-Rang: Nr. 316.793 in Fremdsprachige Bücher (Siehe Top 100 in Fremdsprachige Bücher)
- Komplettes Inhaltsverzeichnis ansehen
Professional ASP.NET MVC 3 (Wrox Programmer to Programmer) (Englisch) Taschenbuch – 22. Juli 2011
Es wird kein Kindle Gerät benötigt. Laden Sie eine der kostenlosen Kindle Apps herunter und beginnen Sie, Kindle-Bücher auf Ihrem Smartphone, Tablet und Computer zu lesen.
Geben Sie Ihre Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.
Wenn Sie dieses Produkt verkaufen, möchten Sie über Seller Support Updates vorschlagen?
A complete look at the new features of ASP.NET MVC 3
ASP.NET MVC 3 is the eagerly anticipated revision of Microsoft's approach for creating data-driven dynamic applications. Written by a team of Microsoft insiders, this in-depth book shows you how to use the new features and exciting capabilities of ASP.NET MVC 3. Beginning with a short introduction to the ASP.NET MVC framework, this resource quickly shows you each step to install and create an ASP.NET MVC project. In addition, practical tutorials reinforce concepts and prepare you to create real-world applications.
Professional ASP.NET MVC 3:
* Describes what views are and explores the Razor syntax, NuGet, unit testing, and much more
* Explains the role of Controllers in the MVC framework and what role models play in binding and data access strategies
* Demonstrates how to display and process forms
* Covers the new features added in the April 2011 Tools Update, such as scaffolding and HTML5 project templates
* Walks you through performing client and server validation of your models
* Uncovers tips for making use of the membership, authorization, and security features
* Highlights how TDD applies to ASP.NET MVC
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters, and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
Über den Autor und weitere Mitwirkende
Jon Galloway works at Microsoft as part of the Server and Tools online group, where he focuses on the ASP.NET community and the ASP.NET website.
Phil Haack is a senior program manager at Microsoft on the Web Platform and Tools team. His areas of responsibility include ASP.NET MVC and NuGet.
Brad Wilson has nearly 20 years of experience in professional software development and web development. He currently works on the ASP.NET MVC project at Microsoft.
K. Scott Allen is the founder of OdeToCode LLC where he provides custom development, consulting, and mentoring services for clients around the world.
Ein Buch, dass sowohl einen kurzen Basic Einblick (z.b.: Kapitel 1: Understanding the MVC ApplicationStructure) gibt, als auch etwas tiefergreifende Dinge wie Dependency injection, extending Views und Controllers, eigene ViewEngine usw. behandelt.
Das Buch ist meiner Meinung nach sehr gut aufgebaut und leicht zu lesen.
Für mich eine klare Kaufempfehlung!!
Auch bei Fragen - aus der Praxis - immer wieder nützlich.
Die hilfreichsten Kundenrezensionen auf Amazon.com (beta) (Kann Kundenrezensionen aus dem "Early Reviewer Rewards"-Programm beinhalten)
As someone who's already worked on a project with the first version of MVC a couple of years back, this was a good refresher and a quick way to get to know all the new MVC3 features. This includes: Razor for Views; Validation mechanisms are much easier now, there used to be way too many options to pick from; jQuery Templates; NuGet etc.
- Ch.7 on Security, it's very well written with quick and easy to use solutions. Great stuff! MVC 1 & 2 developers need to fix a security hole in the default authentication template if you've used it.
- Ch.12 on Testing, good examples and valuable tips towards the end.
Least favorite Chapters are:
- Ch. 11 on Dependency Injection, it's extremely abstract and that's perfectly fine for the first section given the design pattern discussion, but it becomes harder to follow subsequently with not even a single attempt to show an IoC container in action with some real code. It just doesn't seem to accomplish its intended goal, unfortunately this chapter is poorly done, needs better examples and better ways to describe the problem it's trying to solve. It's a shame since this is a key concept for building complex MVC solutions.
- Ch. 9 on Routing, it's definitely more of a "under the hood" reference type chapter, doesn't mean it isn't important, just boring to read through.
Some chapters are missing the full source code but you could just google/download the MVC Music Store application which has most of it. Also, some examples include NuGet packages which is pretty convenient to load and run within Visual Studio 2010. Another really minor issue is that chapters probably need a bit more accompanying graphics/images which help set the context than just code/text for long stretches such as the AJAX chapter.
Worth mentioning that the book feels more like a reference book rather than a walk-through with step-by-step instructions so some sections however essential can make you want to skip some pages.
Overall, the book does what it's supposed to as far as new MVC 3 features; it will not however prepare you enough for any Production ready solutions i.e. solution architecture is MIA.
I would've liked a chapter on how to structure enterprise applications which as you'll find out are quite different from a base application like MVC Music Store. A couple of sample approaches would go a long way. Yes, there are some on codeplex but it would be better to hear from the "MVC elite" how they would design real-world complex solutions.
The first thing I always do is download the Errata from the publisher and make the corrections in my book. This doesn't even come close to covering all of the mistakes that you will find in this book! Also, some of the errors listed on the publishers "Errata" list are not errors at all (someone needs to vet the list).
Each author wrote one (or more) chapters but it is obvious that they did not read each others work. Instead, they assumed that certain information would be covered in other chapters. For example, on page 109 you will see this sentence, "The data annotations you saw in Chapter 4 can have a dramatic influence..." The problem is that data annotations are not covered in Chapter 4 (other than [HttpPost]). The author assumed annotations would be covered in Chapter 4 because that chapter covers the Model. Now, flip to the index and look up "Data Annotation" and it points you to Chapter 6. I could list dozens of these examples from throughout the book.
If you disagree with me then turn to Chapter 3 and see how many typos you can find in that chapter alone. Chapter 3 is a short Chapter (28 pages) and here are just a few....
>> Page 42, next to last paragraph starts with "Notice that unlike the sample in Code Snippet 3-3,...should say 3-2. Also, every code snippet reference throughout the chapter that references a snippet after 3-8 is wrong because snippets 3-9 and 3-10 are not provided....well actually they are but they are numbered 3-11 & 3-12 thus throwing off every number after that!
>> Page 45, last sentence, "...,you could create the ShoppingCartSummaryViewModel class, shown as follows: but then shows you a class called ShoppingCartViewModel....DOOHH!
>> Page 47, Two entire lines under Figure 3-3 are printed again in the first bullet that follows. Did anyone read this before it was printed?
>> Had enough yet? There are more. I didn't even list the Chapter 3 mistakes that are listed in the publisher's Errata listing (one of which is not a mistake at all).
If you are not going to take the time to proofread and edit your book, don't bother writing it in the first place!
That said, I purchased this book out with my own money, as a means to fill in any gaps in my MVC3 knowledge, and to get the authors' perspective on the most recent release of ASP.NET MVC. I am about halfway through the book, and I'm very pleased with it.
Unlike many multi-author books, it's very clear that Allen, Galloway, Haack, and Wilson coordinated closely on the content and code for the book. By using the MVC Music Store application consistently as the example for code samples, the reader gains more understanding of how the many pieces of an MVC 3 application fit together. One major step forward for this book (speaking as someone who's written books, and had to maintain the code samples that go along with them) is the use of the NuGet package manager to provide code samples for the book. This ensures that the authors can update the code samples easily, and that readers will always get the latest version of the code, without having to search for a URL, or browse around unnecessarily, or download and unzip a bunch of stuff to who knows where.
This may not be the right book for someone who's new to web development, as it does not purport to be for beginners. For those folks, there are lots of great resources at [...]to get you started. But if you have a basic grounding in ASP.NET MVC, or are an experienced Web Forms developer with a desire to learn what MVC3 is all about, this book is a good place to get solid information from folks who are building the product (Phil Haack and Brad Wilson) and those with a great deal of hands on experience writing code with it (Jon Galloway and K. Scott Allen).
The book doesn't just dump code on you, it provides motivation and background so you can really understand how to use the ASP.NET MVC framework to write real world applications.
The book doesn't need to be read in chapter order, you can jump to any chapter and start learning. (You may need to do some background reading when not starting at the beginning).