Pro ASP.NET MVC 4
The ASP.NET MVC 4 Framework is the latest evolution of Microsoft’s ASP.NET web platform. It provides a high-productivity programming model that promotes cleaner code architecture, test-driven development, and powerful extensibility, combined with all the benefits of ASP.NET. ASP.NET MVC 4 contains a...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Berkeley, Calif. : London :
Apress ; Springer Science+Business Media [distributor]
2012.
|
Edición: | 4th ed. 2012. |
Colección: | The expert's voice in .NET Pro ASP.NET MVC 4
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629650606719 |
Tabla de Contenidos:
- Title Page; Copyright Page; Dedication Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; PART 1 Introducing ASP.NET MVC 4; CHAPTER 1 What's the Big Idea?; A Brief History of Web Development; Traditional ASP.NET Web Forms; What Is Wrong with ASP.NET Web Forms?; Web Development Today; Web Standards and REST; Agile and Test-Driven Development; Ruby on Rails; Sinatra; Node.js; Key Benefits of ASP.NET MVC; MVC Architecture; Extensibility; Tight Control over HTML and HTTP; Testability; Powerful Routing System
- Built on the Best Parts of the ASP.NET PlatformModern API; ASP.NET MVC Is Open Source; Who Should Use ASP.NET MVC?; Comparisons with ASP.NET Web Forms; Migrating from Web Forms to MVC; Comparisons with Ruby on Rails; Comparisons with MonoRail; What's New in ASP.NET MVC 4?; Summary; CHAPTER 2 Your First MVC Application; Preparing the Workstation; Creating a New ASP.NET MVC Project; Adding the First Controller; Understanding Routes; Rendering Web Pages; Creating and Rendering a View; Adding Dynamic Output; Creating a Simple Data-Entry Application; Setting the Scene; Designing a Data Model
- Adding a Model ClassLinking Action Methods; Creating the Action Method; Adding a Strongly Typed View; Building the Form; Handling Forms; Using Model Binding; Rendering Other Views; Adding Validation; Highlighting Invalid Fields; Completing the Example; Summary; CHAPTER 3 The MVC Pattern; The History of MVC; Understanding the MVC Pattern; Understanding the Domain Model; The ASP.NET Implementation of MVC; Comparing MVC to Other Patterns; Understanding the Smart UI Pattern; Understanding the Model-View Architecture; Understanding Classic Three-Tier Architectures; Understanding Variations on MVC
- Understanding the Model-View-Presenter PatternUnderstanding the Model-View-View Model Pattern; Applying Domain-Driven Development; Modeling an Example Domain; Ubiquitous Language; Aggregates and Simplification; Defining Repositories; Building Loosely Coupled Components; Using Dependency Injection; An MVC-Specific DI Example; Using a Dependency Injection Container; Getting Started with Automated Testing; Understanding Unit Testing; Using TDD and the Red-Green-Refactor Workflow; Understanding Integration Testing; Summary; CHAPTER 4 Essential Language Features; Creating the Example Project
- Using Automatically Implemented PropertiesUsing Object and Collection Initializers; Using Extension Methods; Applying Extension Methods to an Interface; Creating Filtering Extension Methods; Using Lambda Expressions; Using Automatic Type Inference; Using Anonymous Types; Performing Language Integrated Queries; Understanding Deferred LINQ Queries; Using Async Methods; Applying the async and await Keywords; Summary; CHAPTER 5 Working with Razor; Creating the Example Project; Defining the Model; Defining the Controller; Creating the View; Working with the Model Object; Working with Layouts
- Creating the Layout