MVC 5 is the latest update to Microsoft's popular MVC (Model-View-Controller) technology - an established web application framework. MVC enables developers to build dynamic, data-driven web sites. MVC 5 adds sophisticated features like single page applications, mobile optimization, adaptive rendering, and more.As with prior versions, revision shows experienced developers step by step techniques on how to use MVC to its full advantage. Written by top ASP.NET MVC experts at Microsoft along with visionaries in the field, the book's practical tutorials reinforce concepts and allow you create your own applications.The book includes new and expanded coverage Controllers, Views, ModelsForms and HTML HelpersData Annotations and ValidationMembership, Authorization, and SecurityAjaxRoutingNuGetASP.NET Web APISingle Page Applications [NEW]Dependency InjectionUnit TestingExtending MVCAdvanced TopicsReal-World ASP.NET MVC
Slightly frustrating book. Starts off good. First eleven chapters get you up to speed on all the necessary aspects of MVC, including Web API. But then it decides to be a big book with not much left to discuss. Good examples to follow, a good base for getting started. While the remaining chapters did serve to enlighten the reader on say, how MVC interacted with other client side libraries such as Angular, and how one would use Dependency injection and unit tests with it, these were rushed with very little practical to get your fingers knowledgeable. I would have preferred to have seen these excluded from the book or a mid way solution, touching upon them but not going into detail unless the detail was thorough. Another issue was that the book had dated since I got to it. While MVC5 is still the version to use, the source code was out of date and practically useless. There were a lot of bugs which in a sense was good as it forced me to get my hands dirty and work out what was going wrong. I'd say half the book was great, the other half was poor, hence the frustration.
This book looked like a "how to," and the first few chapters had useful information. Sadly the rest of the book was devoted to arcane details on security, which is an important topic, of course, but this book really went overboard and left my "how to" desires unfulfilled.
This book has an impressive list of authors that are well known in the world of ASP.Net. Sadly the book can’t keep up and is a disappointment. Wrox Professional guides are written to meet the real-world needs of programmer, at least this is what the advertisement says. Unfortunately the book spends the first 7 chapters with explaining the basic parts of MVC. The authors are too far away from those who need those introduction to really address their problems.
The following chapters are not bad, but the one on NuGet explains the problem of the book well: NuGet is a great help to get the required packages. That is explained in much detail and even more is written about creating your own NuGet packages. What is missing is how that packaging process can be integrated in the workflow of creating an ASP.Net MVC 5 application. When should I make my NuGet package? What is the benefit and do I really need it? All those questions are unanswered.
The chapter on unit testing is another good example of the problems: The authors point out that the important benefit of TDD is not so much the testing aspect as it is about designing the application. But what follows is another explanation of how to test the application – designing it is never mentioned again. Another lost opportunity.
The real world application in chapter 17 was what I hoped to find all over the book: Good advice from experts on how they solve problems in the context of MVC 5. There they introduce many tools that would deserve far more space and could make a real difference. But that chapter is over after just 24 pages of that 560 pages book. The signal to noise ratio therefore is disappointing.
Книгу можно посоветовать скорее новичкам, незнакомым с ASP.Net MVC. На нескольких десятках страниц вам расскажут о модели MVC, подробно проведут по созданию первого приложения, а так же расскажут про все что угодно, кроме MVC: - jQuery - Bootstrap - NuGet - Angular.js - юнит-тестирование - Dependency Injection
Единственное, что лично мне показалось полезным - главы, посвященные безопасности, новому роутингу, расширению стандартной функциональности MVC и так называемые Advanced Topics. В сумме это где-то наверно треть книги.
Про главу о безопасности хочется сказать отдельно - очень хорошо, с примерами, расписаны самые популярные виды атаки и способы защиты от них при использовании ASP.Net MVC. Не ожидал, что главное, что главной пользой от книжки будет то, что я наконец разберусь и запомню, что означают XSS, CSRF и прочее.
Но все-таки ставлю книге 4/5, потому что сам когда-то начинал изучать веб-программирование с подобной "сборной солянки" про MVC 2 и, прочтя ее, знал весь необходимый минимум для начала разработки.
This book did a good job helping me meet my goal which was to achieve a general understanding of MVC architecture. In thinking about what I read, I'm not sure the book did a great job at the technical detail level. For the exercises that I followed along with, there were little tweaks that I had to figure out to make things work, and there were some times when I felt like they weren't completely connecting the dots. Still, it helped me with general understanding of ASP .NET MVC, and that's what I wanted.
The book is published in 2014 so it is starting to show some age. Even though ASP.NET MVC 5 is the last version until it changed the name to ASP.NET MVC Core which is in version 2, see the version history here. So why read a four year old book? Many projects still use MVC 5 and it allowed me to gain an overview of the technology before diving into MVC Core. Unless you have a particular interest in MVC 5 I would recommend a book about MVC Core instead.
At 624 pages and 17 chapters, I read it in a couple of weeks. It does start to show it's age when referencing jQuery and AngularJS, it is rather old versions mentioned. But the chapters about the MVC framework are sound and contains a good walkthrough about each main feature of the framework. If you need a primer on MVC 5 I will recommend it.
My notes for each chapter When I read it helps me to write a few notes for each chapter to make it easier to remember. Hope it helps someone.