Professional ASP NET MVC 2 1st Edition by John Galloway – Ebook PDF Instant Download/Delivery: 9781118794722, 1118794729
Full download Professional ASP NET MVC 2 1st Edition after payment

Product details:
• ISBN 10:1118794729
• ISBN 13: 9781118794722,
• Author:John Galloway
ASP.NET MVC 2, Microsoft’s latest version of the successful web development framework, helps you create dynamic data-driven web sites; this book gives you an extra edge. Starting with Scott Guthrie’s popular NerdDinner.com application, this book uses real-world examples to discuss the theory behind MVC 2: how to transition from ASP.NET Web Forms development, and how you benefit from advanced features. The author team scrutinizes MVC 2’s new features and explains how MVC 2 relates to Visual Studio® and .NET versions.
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters, and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
Professional ASP NET MVC 2 1st Table of contents:
Chapter 1 Getting Started
A Quick Introduction to ASP.NET MVC
How ASP.NET MVC Fits in with ASP.NET
The MVC Pattern
MVC as Applied to Web Frameworks
The Road to MVC 5
MVC 4 Overview
Open-Source Release
ASP.NET MVC 5 Overview
One ASP.NET
New Web Project Experience
ASP.NET Identity
Bootstrap Templates
Attribute Routing
ASP.NET Scaffolding
Authentication Filters
Filter Overrides
Installing MVC 5 and Creating Applications
Software Requirements for ASP.NET MVC 5
Installing ASP.NET MVC 5
Creating an ASP.NET MVC 5 Application
The New ASP.NET Project Dialog
The MVC Application Structure
ASP.NET MVC and Conventions
Convention over Configuration
Conventions Simplify Communication
Summary
Chapter 2 Controllers
The Controller’s Role
A Sample Application: The MVC Music Store
Controller Basics
A Simple Example: The Home Controller
Writing Your First Controller
Parameters in Controller Actions
Summary
Chapter 3 Views
The Purpose of Views
View Basics
Understanding View Conventions
Strongly Typed Views
How ViewBag Falls Short
Understanding ViewBag, ViewData, and ViewDataDictionary
View Models
Adding a View
The Razor View Engine
What Is Razor?
Code Expressions
HTML Encoding
Code Blocks
Razor Syntax Samples
Layouts
ViewStart
Specifying a Partial View
Summary
Chapter 4 Models
Modeling the Music Store
Scaffolding a Store Manager
What Is Scaffolding?
Scaffolding and the Entity Framework
Executing the Scaffolding Template
Executing the Scaffolded Code
Editing an Album
Building a Resource to Edit an Album
Responding to the Edit POST Request
Model Binding
The DefaultModelBinder
Explicit Model Binding
Summary
Chapter 5 Forms and HTML Helpers
Using Forms
The Action and the Method
To GET or to POST?
HTML Helpers
Automatic Encoding
Making Helpers Do Your Bidding
Inside HTML Helpers
Setting Up the Album Edit Form
Adding Inputs
Helpers, Models, and View Data
Strongly Typed Helpers
Helpers and Model Metadata
Templated Helpers
Helpers and ModelState
Other Input Helpers
Html.Hidden
Html.Password
Html.RadioButton
Html.CheckBox
Rendering Helpers
Html.ActionLink and Html.RouteLink
URL Helpers
Html.Partial and Html.RenderPartial
Html.Action and Html.RenderAction
Summary
Chapter 6 Data Annotations and Validation
Annotating Orders for Validation
Using Validation Annotations
Custom Error Messages and Localization
Looking Behind the Annotation Curtain
Controller Actions and Validation Errors
Custom Validation Logic
Custom Annotations
IValidatableObject
Display and Edit Annotations
Display
ScaffoldColumn
DisplayFormat
ReadOnly
DataType
UIHint
HiddenInput
Summary
Chapter 7 Membership, Authorization, and Security
Security: Not fun, But Incredibly Important
Using the Authorize Attribute to Require Login
Securing Controller Actions
How AuthorizeAttribute Works with Forms Authentication and the AccountController
Windows Authentication
Using AuthorizeAttribute to Require Role Membership
Extending User Identity
Storing additional user profile data
Persistance control
Managing users and roles
External Login via OAuth and OpenID
Registering External Login Providers
Configuring OpenID Providers
Configuring OAuth Providers
Security Implications of External Logins
Understanding the Security Vectors in a Web Application
Threat: Cross-Site Scripting
Threat: Cross-Site Request Forgery
Threat: Cookie Stealing
Threat: Over-Posting
Threat: Open Redirection
Proper Error Reporting and the Stack Trace
Using Configuration Transforms
Using Retail Deployment Configuration in Production
Using a Dedicated Error Logging System
Security Recap and Helpful Resources
Summary
Chapter 8 Ajax
jQuery
jQuery Features
Unobtrusive JavaScript
Using jQuery
Ajax Helpers
Adding the Unobtrusive Ajax Script to Your Project
Ajax ActionLinks
HTML 5 Attributes
Ajax Forms
Client Validation
jQuery Validation
Custom Validation
Beyond Helpers
jQuery UI
Autocomplete with jQuery UI
JSON and Client-Side Templates
Bootstrap Plugins
Improving Ajax Performance
Using Content Delivery Networks
Script Optimizations
Bundling and Minification
Summary
Chapter 9 Routing
Uniform Resource Locators
Introduction to Routing
Comparing Routing to URL Rewriting
Routing Approaches
Defining Attribute Routes
Defining Traditional Routes
Choosing Attribute Routes or Traditional Routes
Named Routes
MVC Areas
Catch-All Parameter
Multiple Route Parameters in a Segment
StopRoutingHandler and IgnoreRoute
Debugging Routes
Inside Routing: How Routes Generate URLs
High-Level View of URL Generation
A Detailed Look at URL Generation
Ambient Route Values
More Examples of URL Generation with the Route Class
Inside Routing: How Routes Tie Your URL to an Action
The High-Level Request Routing Pipeline
RouteData
Custom Route Constraints
Using Routing with Web Forms
Summary
Chapter 10 NuGet
Introduction to NuGet
Adding a Library as a Package
Finding Packages
Installing a Package
Updating a Package
Package Restore
Using the Package Manager Console
Creating Packages
Packaging a Project
Packaging a Folder
Configuration File and Source Code Transformations
NuSpec File
Metadata
Dependencies
Specifying Files to Include
Tools
Framework and Profile Targeting
Prerelease Packages
Publishing Packages
Publishing to NuGet.org
Using NuGet.exe
Using the Package Explorer
Summary
Chapter 11 ASP.NET Web API
Defining ASP.NET Web API
Getting Started with Web API
Writing an API Controller
Examining the Sample ValuesController
Async by Design: IHttpController
Incoming Action Parameters
Action Return Values, Errors, and Asynchrony
Configuring Web API
Configuration in Web-Hosted Web API
Configuration in Self-Hosted 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 Single Page Applications with AngularJS
Understanding and Setting Up AngularJS
What’s AngularJS?
Your Goal in This Chapter
Getting Started
Adding AngularJS to the Site
Setting Up the Database
Building the Web API
Building Applications and Modules
Creating Controllers, Models, and Views
Services
Routing
Details View
A Custom MovieService
Deleting Movies
Editing and Creating Movies
Summary
Chapter 13 Dependency Injection
Software Design Patterns
Design Pattern: Inversion of Control
Design Pattern: Service Locator
Design Pattern: Dependency Injection
Dependency Resolution in MVC
Singly Registered Services in MVC
Multiply Registered Services in MVC
Arbitrary Objects in MVC
Dependency Resolution in Web API
Singly Registered Services in Web API
Multiply Registered Services in Web API
Arbitrary Objects in Web API
Dependency Resolvers in MVC vs. Web API
Summary
Chapter 14 Unit Testing
Understanding Unit Testing and Test-Driven Development
Defining Unit Testing
Defining Test-Driven Development
Building a Unit Test Project
Examining the Default Unit Tests
Test Only the Code You Write
Advice for Unit Testing Your ASP.NET MVC and ASP.NET Web API Applications
Testing Controllers
Testing Routes
Testing Validators
Summary
Chapter 15 Extending MVC
Extending Models
Turning Request Data into Models
Describing Models with Metadata
Validating Models
Extending Views
Customizing View Engines
Writing HTML Helpers
Writing Razor Helpers
Extending Controllers
Selecting Actions
Filters
Providing Custom Results
Summary
Chapter 16 Advanced Topics
Mobile Support
Adaptive Rendering
Display Modes
Advanced Razor
Templated Razor Delegates
View Compilation
Advanced View Engines
Configuring a View Engine
Finding a View
The View Itself
Alternative View Engines
New View Engine or New ActionResult?
Advanced Scaffolding
Introducing ASP.NET Scaffolding
Customizing Scaffold Templates
Custom Scaffolders
Advanced Routing
RouteMagic
Editable Routes
Advanced Templates
The Default Templates
Custom Templates
Advanced Controllers
Defining the Controller: The IController Interface
The ControllerBase Abstract Base Class
The Controller Class and Actions
Action Methods
The ActionResult
Action Invoker
Using Asynchronous Controller Actions
Summary
Chapter 17 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
Deployments with Octopus Deploy
Automated Browser Testing with Fluent Automation
Other Useful NuGet Packages
WebBackgrounder
Lucene.NET
AnglicanGeek.MarkdownMailer
Ninject
Summary
Appendix: ASP.NET MVC 5.1
ASP.NET MVC 5.1 Release Description
Getting MVC 5.1
Upgrading MVC 5 Projects from MVC 5.1
Upgrading an MVC 5 Application to 5.1
Enum Support in ASP.NET MVC Views
Attribute Routing with Custom Constraints
Route Constraints in Attribute Routing
ASP.NET MVC 5.1 Example: Adding a Custom LocaleRoute
Bootstrap and JavaScript Enhancements
EditorFor Now Supports Passing HTML Attributes
Client-Side Validation for MinLength and MaxLength
Three Small but Useful Fixes to MVC Ajax Support
Summary
Index
Advertisement
EULA
Read Less
People also search for Professional ASP NET MVC 2 1st:
professional asp net mvc 5 pdf
professional asp net mvc 5
professional asp net design patterns
professional asp.net
professional asp.net 2.0
Tags:
Professional ASP,ASP NET,John Galloway