ASP.NET MVC in Action: With MvcContrib, NHibernate, and More

Front Cover
Manning Publications Company, 2009 - Computers - 361 pages
2 Reviews

The Model-View-Controller pattern—universally known as MVC—provides a stable, testable approach to web application development by separating the major functions—or concerns—of an application into independently defined roles.

ASP.NET MVC in Action is a comprehensive guide to MVC-based development using this powerful framework. It offers a clearly-written introduction both to the ASP.NET MVC Framework and to the MVC approach. The focus is on creating real, maintainable web applications—so don't expect toy examples and short snippets. The authors lead you from first-use through real-life scenarios.

One of the key benefits of the MVC approach is introducing a high degree of testability to your applications and process. ASP.NET MVC in Action shows you how to test each piece of your ASP.NET application and how to introduce principles of test-driven development into your process.

Because the framework is completely pluggable, you'll learn how to work with external Inversion of Control containers like StructureMap, Windsor, and Spring.NET and open-source persistence layers like NHibernate. Throughout the book, the authors sprinkle in MvcContrib, an extremely useful tool that provides common extensions so you don't have to write them yourself. Along the way, you'll benefit from the wide-ranging experience of the authors, who have extensive experience with ASP.NET, Monorail, and Ruby on Rails. This book assumes that you already know how to build a standard ASP.NET application and presents most examples in C#.

What's inside?

  • Getting started with the ASP.NET MVC Framework
  • The model in depth
  • The controller in depth
  • The view in depth
  • Routing
  • Customizing and extending the ASP.NET MVC Framework
  • Scaling the architecture for complex sites
  • Leveraging existing ASP.NET features
  • AJAX in ASP.NET MVC
  • Hosting and deployment
  • Exploring MonoRail and Ruby on Rails
  • Best practices
  • Recipes
  • Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

    What reviewers are saying

    "Shows how to put all the features of ASP.NET MVC together to build a great application."

    -From the Foreword by Phil Haack, Senior Program Manager, ASP.NET MVC Team, Microsoft

    "This book put me in control of ASP.NET MVC."

    -Mark Monster, Software Engineer, Rubicon

    "Highly recommended for those switching from Web Forms to MVC."

    -Frank Wang, Chief Software Architect, DigitalVelocity LLC

    "I'd highly recommend this to anyone who is serious about building web applications with ASP.NET MVC."

    -Jeremy Skinner, ASP.NET developer and technical proofreader of the book

    "...does a good job of not only showing you what to do, but also provides cautionary words to avoid poor practices that may lead to maintenance issues on non-trivial applications."

    -Venkat Subramanian, NoFluffJustStuff Blogs

    "I really enjoyed ASP.NET MVC in Action and highly recommend it for a fresh look at the ASP.NET MVC Framework."

    -David Hayden, MVP

    "In the end [the authors] not only did an excellent job of putting together a great practical guide to ASP.NET MVC they also successfully embedded some subversive ALT.NET concepts that will hopeful make us all better developers. And at the end of the day that is a damn fine accomplishment."

    -Bobby Johnson

    "ASP.NET MVC in Action will guide you from your first project through advanced topics such as AJAX and deploying on suboptimal hosting environments. The writing style is clear and concise. Diagrams and code examples are abundant. I recommend it for anyone looking for a great resource for learning about or becoming a better user of the ASP.NET MVC framework."

    -Nathan Stott, Partner and Software Engineer at Whiteboard-IT

    "I'm very happy with this book. I would definitely recommend it to anyone interested in ASP.NET MVC. Getting the 'beyond the text' that comes with the CodeCampServer is just icing on the cake, truly."

    -Chris Stewart, CompiledMonkey.com

    "ASP.NET MVC in Action is a true masterpiece...The authors, Jeffrey Palermo, Ben Scheirman and Jimmy Bogard are all considered rock stars in the ASP.NET community and they have opened up the doors to their concert with ASP.NET MVC in Action."

    -Mohammad Azam, Microsoft MVP

    What people are saying - Write a review

    Review: ASP.Net MVC in Action

    User Review  - Kevin - Goodreads

    This was a terrible book. Less about MVC and more about the authors prescribed work flow and tools of choice. Read full review

    Review: ASP.Net MVC in Action

    User Review  - Kumanan Murugesan - Goodreads

    Awesome book. Read full review

    About the author (2009)

    Jeffrey Palermo

    is a software management consultant and the CTO of Headspring

    Systems in Austin, Texas. Jeffrey specializes in Agile coaching and helps companies

    double the productivity of software teams. Jeffrey is an MCSD.NET, Microsoft

    MVP, Certified ScrumMaster, Austin .Net User Group leader, AgileAustin board

    member, and an INETA speaker and Membership Mentor. He is an ASP.NET

    expert and has been working with Microsoft on the MVC framework since the initial

    prototype in March, 2007.

    Ben Scheirman is a Principal Consultant with Sogeti in Houston, Texas. He studied

    computer science at the University of Houston and is a Certified ScrumMaster

    and Microsoft Certified Solution Developer. He enjoys speaking and blogging

    about Agile development topics in .NET.

    Jimmy Bogard is a senior consultant with Headspring Systems in Austin, Texas.

    His focus is using .NET technologies together with Agile methodologies.

    Bibliographic information