Cover image for Professional ASP.NET MVC 2.
Professional ASP.NET MVC 2.
Title:
Professional ASP.NET MVC 2.
Author:
Galloway, Jon.
ISBN:
9780470908075
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (432 pages)
Contents:
ASP.NET MVC 2.0 -- Introduction -- Who This Book Is For -- How This Book Is Structured -- What You Need to Use This Book -- Conventions -- Source Code -- Errata -- p2p.wrox.com -- NerdDinner -- File ➪ New Project -- Creating the Database -- Building the Model -- Controllers and Views -- Create, Update, Delete Form Scenarios -- ViewData and ViewModel -- Partials and Master Pages -- Paging Support -- Authentication and Authorization -- AJAX Enabling RSVPs Accepts -- Integrating an AJAX Map -- Unit Testing -- NerdDinner Wrap-Up -- Model-View-Controller and ASP.NET -- What Is Model-View-Controller? -- MVC on the Web Today -- ASP.NET MVC: The New Kid on the Block -- Summary -- ASP.NET > ASP.NET MVC -- Abstraction: What Web Forms Does Well -- The Leak: Where Web Forms Doesn't Exactly Fit -- Back to Basics: ASP.NET MVC Believes… -- Caring about Testability -- Common Reactions to ASP.NET MVC -- Why "(ASP.NET > ASP.NET MVC) == True" -- Summary -- Routes and URLs -- Introduction to Routing -- Under the Hood: How Routes Tie Your URL to an Action -- Advanced Routing with Custom Constraints -- Route Extensibility -- Using Routing with Web Forms -- Summary -- Controllers -- History of the Controller -- Defining the Controller: The IController Interface -- The ControllerBase Abstract Base Class -- The Controller Class and Actions -- The ActionResult -- Action Invoker -- Summary -- Views -- What a View Does -- What a View Shouldn't Do -- Specifying a View -- Strongly Typed Views -- ViewModels -- HTML Helper Methods -- The View Engine -- New View Engine or New ActionResult? -- Summary -- AJAX -- When Ajax Is Cool -- When It's Not -- Ajax Examples -- Summary -- Filters -- Filters Included with ASP.NET MVC -- Writing a Custom Action Filter -- Writing a Custom Authorization Filter -- Writing a Custom Exception Filter -- Filter Ordering -- Filter Naming -- Summary.

Securing Your Application -- This Is a War -- Weapons -- Threat: Cross-Site Scripting (XSS) -- Threat: Cross-Site Request Forgery -- Threat: Cookie Stealing -- Threat: Over-Posting -- Keeping Your Pants Up: Proper Error Reporting and the Stack Trace -- Securing Your Controllers, Not Your Routes -- Summary: It's Up to You -- Test Driven Development with ASP.NET MVC -- A Brief Introduction to TDD -- Applying TDD to ASP.NET MVC -- Summary -- Testable Design Patterns -- Why You Should Care About Testability -- You Want to Write Testable Code -- Using Tests to Prove You're Done -- Designing Your Application for Testability -- Testable Data Access -- Implementing Business Logic with the Service Layer -- Summary -- Best of Both Worlds: Web Forms and MVC Together -- How Is It Possible? -- Including MVC in Existing Web Forms Applications -- Adding Web Forms to an Existing ASP.NET MVC Application -- Sharing Data between Web Forms and MVC -- Migrating from Web Forms to MVC -- Summary -- What's New in ASP.NET MVC 2 -- Security -- Productivity -- Performance: Asynchronous Controller Actions -- Miscellaneous -- Summary -- Index.
Abstract:
Top-selling MVC book from a top team at Microsoft-now fully updated! ASP.NET MVC 2.0 is now available and shipping with Visual Studio 2010 and .NET 4. A new update to Microsoft's Model-View-Controller technologies, MVC 2 enables developers to build dynamic, data-driven Web sites. Professional ASP.NET MVC 2 shows you step-by-step how to use MVC 2. You'll learn both the theory behind MVC 2, as well as walk through practical tutorials, where you'll create a real-world application. Topics include transitioning from ASP.NET development, as well as an overview of related tools and technologies, including LINQ, jQuery, and REST. This book is for web developers who are looking to add more complete testing to their web sites, and who are perhaps ready for "something different." In some places, we assume that you're somewhat familiar with ASP.NET WebForms, at least peripherally. There are a lot of ASP.NET WebForms developers out there who are interested in ASP.NET MVC so there are a number of places in this book where we contrast the two technologies. Even if you're not already an ASP.NET developer, you might still find these sections interesting for context, as well as for your own edification as ASP.NET MVC may not be the web technology that you're looking for.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: