Programming ASP.NET MVC 4
Developing Real-World Web Applications with ASP.NET MVC
Publisher: O'Reilly Media
Final Release Date: September 2012
Pages: 492

Get up and running with ASP.NET MVC 4, and learn how to build modern server-side web applications. This guide helps you understand how the framework performs, and shows you how to use various features to solve many real-world development scenarios you’re likely to face. In the process, you’ll learn how to work with HTML, JavaScript, the Entity Framework, and other web technologies.

You’ll start by learning core concepts such as the Model-View-Controller architectural pattern, and then work your way toward advanced topics. The authors demonstrate ASP.NET MVC 4 best practices and techniques by building a sample online auction site ("EBuy") throughout the book.

  • Learn the similarities between ASP.NET MVC 4 and Web Forms
  • Use Entity Framework to create and maintain an application database
  • Create rich web applications, using jQuery for client-side development
  • Incorporate AJAX techniques into your web applications
  • Learn how to create and expose ASP.NET Web API services
  • Deliver a rich and consistent experience for mobile devices
  • Apply techniques for error handling, automated testing, and build automation
  • Use various options to deploy your ASP.NET MVC 4 application
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyProgramming ASP.NET MVC 4
 
1.9

(based on 9 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (6)

25%

of respondents would recommend this to a friend.

Pros

  • Well-written (3)

Cons

  • Too many errors (6)

Best Uses

      • Reviewer Profile:
      • Developer (7)

    Reviewed by 9 customers

    Sort by

    Displaying reviews 1-9

    Back to top

     
    1.0

    does not deliver

    By nelsone

    from Ft. Lauderdale, FL

    About Me Developer

    Verified Reviewer

    Pros

      Cons

      • Too many errors

      Best Uses

      • Intermediate

      Comments about oreilly Programming ASP.NET MVC 4:

      This book contains too many errors to be a useful tool. Chapter 1 starts out well but as you get more into the book or if you start trying to follow along with the code examples, you will see a lot missing and if you're not familiar with .net programming may not be able to make the necessary corrections to make them work without some frustration. Even the github site for the sample code isn't complete.

       
      1.0

      Waste of money and time

      By countrydawgg

      from Portland, OR

      About Me Developer

      Verified Reviewer

      Pros

        Cons

        • Difficult to understand
        • Not comprehensive enough
        • Too many errors

        Best Uses

        • None

        Comments about oreilly Programming ASP.NET MVC 4:

        I started reading this book to help learning ASP.Net MVC for work. Chapters 1 through 5 were great in exampling and demoing MVC basics. However, starting in Chapters 5 and 6, the book starts jumping around to several topics without fully laying down a good foundation before proceeding to the examples and demos. This made it very confusing to understand the examples. I had to look at the code example to get clues of the topics being discussed. Also, the code example is not laid out as the book examples and demos. At this point, I feel I wasted my money and time investing in this book.

        (2 of 2 customers found this review helpful)

         
        1.0

        Don't buy this book

        By xbco

        from Russia

        About Me Educator

        Verified Reviewer

        Pros

        • Bad

        Cons

        • Difficult to understand
        • Foolish Book
        • Too many errors
        • Very Very Bad

        Best Uses

        • Student

        Comments about oreilly Programming ASP.NET MVC 4:

        This foolish book, many errors, application code not full!!!

        (3 of 3 customers found this review helpful)

         
        1.0

        Too many errors

        By Meer

        from Netherlands

        About Me Developer, Educator

        Verified Reviewer

        Pros

          Cons

          • Too many errors

          Best Uses

            Comments about oreilly Programming ASP.NET MVC 4:

            The title was promising, as was the first chapter. But once I started coding along with the book, nothing made sense. There are just too many errors in the book (even confusing the Empty template with the Basic one). Maybe the errors are intentional: I found myself really diving into ASP.Net MVC 4 and because of that I've learned a lot! But for a book that promises that you can code along with it and learn that way, there's a lot that needs to be improved.

            (3 of 4 customers found this review helpful)

             
            4.0

            For ASP.NET MVC beginners (but not for .

            By Matt Reed

            from Birmingham, AL

            About Me Developer

            Verified Reviewer

            Pros

            • Accurate
            • Well-written

            Cons

              Best Uses

              • Intermediate
              • Novice

              Comments about oreilly Programming ASP.NET MVC 4:

              This one took me a long time to get through and I didn't even read it all that deeply. Unlike the other O'Reilly books I've read recently, this one is HUGE. It seems like O'Reilly has two types of books: giant 500 page reference tomes, and focused technology pancakes between 50 and 150 pages. I think I prefer the pancakes. They're easier to read and they are more likely to address what you purchase them for. On the other hand, there can be a lot of repetition: if you've read their JavaScript books you know what I mean.

              I wanted to review this book (and full disclosure: I got the ebook for free from O'Reilly), because I'm looking to learn the new MVC 4 features, having used MVC 3 for a little over a year. This book was OK for that goal but there was a good bit that I already knew. Luckily, there is a section that addresses what is new and provides a link to the appropriate chapters. Those chapters were good, but tended to be rather basic, and not all that much better than what could be gleaned from the web. Having said this, I've also skimmed ASP.NET MVC 4 in Action and I think Programming MVC 4 covers the new material better and in a way better integrated into the text.

              I think this book would be great for a beginner who is approaching ASP.NET MVC [#] for the first time. The introductory chapters are great and the reference application is nice (the feel is very similar to Pro ASP.NET MVC 3 Framework—which I used to learn MVC last year—though I haven't read the latest version that one). The book explains the 'theory' behind the framework well.

              I liked the chapter "Client-Side Optimization Techniques": it is basically the Cliff Notes of High Performance Web Sites, with specific applications to the .NET platform. The "Parallel, Asynchronous, and Real-Time Data Operations" was surprisingly thorough, covering the subjects better than other MVC books I've looked into.

              In summary, I think this book would be perfect for a beginner wanting to get a complete picture of MVC 4 and who already knows the .NET framework and C#. It would give them a good foundation for digging deeper into subjects that are important to them, though they would probably need to look elsewhere for that depth. For those of us looking for the new version 4 stuff only, it probably isn't worth it unless you like reading and owning big giant books.

              (1 of 1 customers found this review helpful)

               
              2.0

              Where is the DB for the code samples

              By AJ February

              from Cape Town

              About Me Senior Developer

              Verified Reviewer

              Pros

              • Easy to understand
              • Helpful examples
              • Well-written

              Cons

              • Lack Database Sample
              • Some Examples In Book Do
              • Too many errors

              Best Uses

              • Intermediate Developer

              Comments about oreilly Programming ASP.NET MVC 4:

              This book is good and the code compiles. However where is tbokhe database. That shows that the book is incomplete and lack that final detail.

              Please can you get the example database sorted and uploaded. I am really trying to find good use for this book.

              This is my 11th book from Oreilly so please do not dissapoint me.

              (4 of 5 customers found this review helpful)

               
              1.0

              No lessons learned since 1990

              By mischka

              from Berlin, Germany

              About Me Designer, Developer, Maker, Sys Admin

              Verified Reviewer

              Pros

              • Just None

              Cons

              • Leaves All Questions Open
              • No Big Picture
              • No Details
              • Not comprehensive enough

              Best Uses

              • Furniture Item

              Comments about oreilly Programming ASP.NET MVC 4:

              This book is a waste of paper. It is only good for people who start reading at the first page, finish the book after a week and then start working.

              The introductory chapter was fairly promising, but as soon as any questions come up, stackoverflow knows all the answers and the book does not.

              It even contains bad jokes. The index is incomplete. The only reason for buying this book can be that you are offline and you read ASP-books sequentally like entertaining pageturners.

              The book does not even explain the project template within Visual Studio. How are the view files associated to the template layout? Because they are magically prepended with the contents of _ViewStart.cshtml. How to show images on your Razor page? Which folder are they in? I mean the runtime folder of course, not the design time folder. How to create URLs to internal resources, so that they are accessible AFTER publishing? Why can't you deploy your projects to your IIS? (Because you need to install web deployment tool and add a handler mapping manually.) This is a short excerpt of things I needed answers for in my FIRST ASP.NET MVC4 project during the FIRST TWO days. And none of these is answered in the book. Does not even tell you the version of required .NET Framework.

              (1 of 2 customers found this review helpful)

               
              1.0

              Online version's code examples are bugy!

              By SkippingAdi

              from Bern, Bern, Switzerland

              About Me Developer

              Pros

                Cons

                • Too many errors

                Best Uses

                  Comments about oreilly Programming ASP.NET MVC 4:

                  I read the online version on january 9. 2013. For example on page 100 the code example for the IRepository interface shows a method "void Delete(T);". This will never compile as the identifier is missing! Correct would be e.g. "void Delete(T obj);".
                  As the same error is just on the next code line, this is enough for me to give only one star!

                  (3 of 4 customers found this review helpful)

                   
                  5.0

                  Awesome Book / Best Part Best Practices

                  By pkellner

                  from san jose, ca

                  About Me Developer

                  Verified Reviewer

                  Pros

                  • Accurate
                  • Concise
                  • Easy to understand
                  • Well-written

                  Cons

                    Best Uses

                      Comments about oreilly Programming ASP.NET MVC 4:

                      this is a really good book. reminds me of Fritz Onion's very popular book Essential ASP.NET. This book covers the basics well. Lots of awesome examples. My favorite part is at the end where the authors talk about best practices. Real world stuff! Still struggling some to find the examples on line but I'm sure I will eventually find them.

                      Displaying reviews 1-9

                      Back to top

                       
                      Buy 2 Get 1 Free Free Shipping Guarantee
                      Buying Options
                      Immediate Access - Go Digital what's this?
                      Ebook: $46.99
                      Formats:  DAISY, ePub, Mobi, PDF
                      Print & Ebook: $60.49
                      Print: $54.99