Course Outline
.NET 4.0 is the latest version of Microsoft’s highly popular development framework for Web, Windows, Mobile and Server-side applications. A key feature of .NET is support for multiple programming languages, particularly C# and Visual Basic
What you will learn
At the end of this course you will be able to:
1. Understand when and why to use ASP.NET MVC
2. Use ASP.NET MVC in the context of AJAX and jQuery
3. Use MVC Filters
4. Apply testing / prototyping principals
5. Understand security considerations
ASP.NET MVC Training Course Outline
MVC Essentials
What and Why for ASP.NET MVC?
Responsibilities of the Model, View and Controller
ASP.NET WebForms vs. ASP.NET MVC
Testability
Routing essentials
Creating your first ASP.NET MVC web Site
Controllers
Understanding the Controller
Action Methods
Working with Parameters
How actions are mapped to methods
Action Result Types & Helper Methods
Understanding Model Binders
Using Validation with Model Binders
Views
Responsibilities of a View
Creating ASP.NET Views
Strongly Typed Views
Html Helper methods
Creating your own HtmlHelper extension methods
Forms
Partial Views
Validation helpers
Using alternative View Engines
MVC AJAX Support
When to use AJAX
Making AJAX Calls
Using Partial Views with AJAX
Using AJAX support with jQuery
Using ASP.NET AJAX
Support non-JavaScript enabled browsers
MVC Filters
Understanding Filters
Built in Filters
Authorize
Handle Error
OutputCache
Creating Custom Action Filters
Filter Ordering and Naming
MVC Security
Dealing with common security threats in ASP.NET MVC
XSS
XSRF
Error Reporting
Securing controllers
Authorize and NonAction attributes
MVC Routing
Introduction and motivation
Building your routes
Route Constraints
Testing MVC Applications
Writing Tests for ASP.NET MVC
Following Test Driven Development (TDD)
Unit Testing best practices
Enforcing Isolation of tests
Mocking
Refactoring
MVC Models
Overview
Using Linq to Sql
Using Entity Framework
Extending Entities and adding business and validation rules
Patterns for MVC Development
The Repository pattern
Using ViewModel and MVVM
Understanding Validation
ViewModel
Domain Objects
What's coming in ASP.NET MVC 2
What’s coming in MVC 2?
Strongly Typed Helpers
Enhanced Model Validation
Auto-Scaffold UI Helpers
“Areas”
Asynchronous Controllers support
Html.RenderAction
New helper functions, utilities, and API enhancements
New Visual Studio tooling support