Home Page Icon
Home Page
Table of Contents for
Advertisements
Close
Advertisements
by Scott Hanselman, K. Scott Allen, Brad Wilson, Phil Haack, Jon Galloway
Professional ASP.NET MVC 4
Cover
Chapter 1: Getting Started
A Quick Introduction to ASP.NET MVC
Creating an MVC 4 Application
The MVC Application Structure
Summary
Chapter 2: Controllers
The Controller's Role
A Sample Application: The MVC Music Store
Controller Basics
Summary
Chapter 3: Views
The Purpose of Views
Specifying a View
Strongly Typed Views
View Models
Adding a View
The Razor View Engine
Specifying a Partial View
Summary
Chapter 4: Models
Modeling the Music Store
Scaffolding a Store Manager
Editing an Album
Model Binding
Summary
Chapter 5: Forms and HTML Helpers
Using Forms
HTML Helpers
Other Input Helpers
Rendering Helpers
Summary
Chapter 6: Data Annotations and Validation
Annotating Orders for Validation
Custom Validation Logic
Display and Edit Annotations
Summary
Chapter 7: Membership, Authorization, and Security
Using the Authorize Attribute to Require Login
Using the Authorize Attribute to Require Role Membership
Extending Roles and Membership
External Login via OAuth and OpenID
Understanding the Security Vectors in a Web Application
Proper Error Reporting and the Stack Trace
Security Recap and Helpful Resources
Summary
Chapter 8: Ajax
jQuery
Ajax Helpers
Client Validation
Beyond Helpers
Improving Ajax Performance
Summary
Chapter 9: Routing
Uniform Resource Locators
Introduction to Routing
Under the Hood: How Routes Generate URLs
Under the Hood: How Routes Tie Your URL to an Action
Custom Route Constraints
Using Routing with Web Forms
Summary
Chapter 10: NuGet
Introduction to NuGet
Installing NuGet
Adding a Library as a Package
Creating Packages
Publishing Packages
Summary
Chapter 11: ASP.NET Web API
Defining ASP.NET Web API
Getting Started with Web API
Writing an API Controller
Configuring Web API
Adding Routes to Your Web API
Binding Parameters
Filtering Requests
Enabling Dependency Injection
Exploring APIs Programmatically
Tracing the Application
Web API Example: ProductsController
Summary
Chapter 12: Dependency Injection
Software Design Patterns
Dependency Resolution in MVC
Dependency Resolution in Web API
Summary
Chapter 13: Unit Testing
The Meaning of Unit Testing and Test-Driven Development
Creating a Unit Test Project
Tips and Tricks for Unit Testing ASP.NET MVC Applications
Summary
Chapter 14: Extending MVC
Extending Models
Extending Views
Extending Controllers
Summary
Chapter 15: Advanced Topics
Mobile Support
Advanced Razor
Advanced View Engines
Advanced Scaffolding
Advanced Routing
Advanced Templates
Advanced Controllers
Summary
Chapter 16: Real-World ASP.NET MVC: Building the NuGet.org Website
May the Source Be With You
WebActivator
ASP.NET Dynamic Data
Exception Logging
Profiling
Data Access
EF Code-Based Migrations
Membership
Other Useful NuGet Packages
Summary
Foreword
Introduction
Advertisements
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Introduction
Visit
www.safaribooksonline.com/wrox59
to get started
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset