Beruflich Dokumente
Kultur Dokumente
Understand the MVC design pattern and how it's applied in ASP.NET MVC
Learn to make good decisions about application architecture and the choice of data access technology
Learn how to build a compelling and maintainable HTML user interface using the Razor view engine
and client-side JavaScript
Use the Web API 2 framework to simplify the creation of HTTP services
Gain experience with using adaptive rendering, mobile-specific views, and a view switcher to support
a variety of mobile devices
Learn how to extend and modify ASP.NET MVC by creating custom components and templates
Ignoring Routes
Hands-On Lab Exercise
Controllers
Introduction
Conventions
Request Pipeline
Controller Class Hierarchy
ActionResult
Hands-On Lab Exercise
Models
Hands-On Lab Exercise
Object-Relational Mapping
Entity Framework 6
Evolution
NuGet
Code First
DbContext
Data Annotations
Fluent API
Performance
Hands-On Lab Exercise
Views
Implementation
View Engines
Razor Syntax
View Templates
Bootstrap Framework
Layouts
Hands-On Lab Exercise
Helpers
HTML Helpers
Html.ActionLink
Url.Action
Strongly-Typed Helpers
Custom Helpers
Inline Razor Helpers
Hands-On Lab Exercise
Strongly-Typed Views
Creating
Passing Model Objects
Hands-On Lab Exercise
Controller Inheritance
Code Reuse
Initialize Method
Hands-On Lab Exercise
HTML Forms
Helpers
Hands-On Lab Exercise
Action Selectors
Model Binding
Hands-On Lab Exercise
Partial Views and Child Actions
Partial Views
Hands-On Lab Exercise
Child Actions
Display and Edit Annotations
Hands-On Lab Exercise
ViewModels
Model Binding
Inheritance
Hands-On Lab Exercise
Data Validation
Validation Attributes
ModelState
IValidatableObject
Hands-On Lab Exercise
Remote Validation
jQuery and Ajax
jQuery
Unobtrusive JavaScript
Ajax Helpers
Hands-On Lab Exercise
jQuery UI
Action Filters
OutputCache
HandleError
RequireHttps
Authorization
Global Filters
Custom Filters
Hands-On Lab Exercise
Asynchronous Controller Actions
Example
Timeouts
Mobile Clients
Bootstrap Framework
Overriding Views
jQuery Mobile
Web API 2
ApiController
Action Parameters
Exceptions
Configuration
Routing
Model Binding
Formatters
Status Codes
Hands-On Lab Exercise
Security
Authentication
Cross-Site Scripting (XSS)
Cross-Site Request Forgery (CSRF)
Over-Posting
Deployment
Web.config Transformations
IIS Best Practices
Conclusion
*************************************************************************************
****
Class Outline
1.
Introduction
1.
2.
3.
4.
5.
6.
Unit Testing
7.
Managing Dependencies
1.
ASP.NET Platform
2.
3.
URL Routing
4.
Controller Actions
5.
6.
Extensibility
1.
Persistence Ignorance
2.
Repository Pattern
3.
1.
ADO.NET
2.
Entity Framework 6
3.
nHibernate
II.
I.
Introduction to Routing
II. Defining Routes
III. Route Evaluation
IV. The Controller Factory
V. Constraints
VI. Exempting URLs
I.
I.
View Engines
II. Templates and Scaffolding
III. Bootstrap Framework
IV. Razor Syntax
V. ViewData and ViewBag
VI. Strongly-Typed Views
X. Child Actions
XI. Using a ViewModel Object
B. HTML Helpers
I.
Basic Helpers
II. Strongly-Typed Helpers
III. Creating Custom Helpers
IV. Declarative Helpers
B. Data Validation
I.
Data Annotations
II. Validation HTML Helpers
III. ModelState
IV. IValidatableObject
V. Client Side Validation
I.
ASP.NET Identity
II.
III.
IV.
V.
VI.
Authentication Filters
VII.
B. Ajax
I.
II.
Ajax Helpers
III.
Unobtrusive Ajax
IV.
B. Web API 2
I.
II.
Content Negotiation
III.
Routing
IV.
Attribute Routing
V.
ApiController
VI.
MediaTypeFormatters
VII.
VIII.
IX.
I.
jQuery UI
II.
jQuery Templates
III.
Knockout.js
B. Mobile Clients
I.
II.
III.
Mobile-Specific Views
IV.
I.
I.
Server Requirements
*************************************************************************************
*
Introduction
Getting Started
Database Migrations
Showing Data
Listing data
Creating data
Authorization
About Security
Summary
Introduction
Razor's Goals
HTML Helpers
Partial Views
Layout Views
Startup Code
Configuration
Summary
Introduction
The ViewBag
Request Validation
Summary
Introduction
Validation in MVC
Data Annotations
Self-validating models
Client validation
Remote validation
Summary
Package Dependencies
Bootstrapping
Powershell
Custom Packages
Summary
Introduction
Dependency Resolution
Benefits
IDependencyResolver
Controller Injection
View Injection
Activators
Filter Extensibility
Summary
Introduction
The Scenario
Installing
Configuring Bundles
Rendering Bundles
Introduction
Web Services
Getting started
Routing
Content Negotiation
Parameter Binding
Implementing GET
Showing Data
Implementing PUT
Implementing POST
Implementing DELETE
XML Client
Summary
Introduction
Scalability
Async Await
Async Controller
Async Timeouts
Async Exceptions
Async Testing
Summary
Introduction
Why AJAX?
Observations
AJAX Infrastructure
Managing Scripts
AJAX Helpers
AJAX Options
Error Handling
Auto-completion
Client Validation
Date Picker
Conclusion
*************************************************************************************