ASP.NET MVC 4.0
Course Description
MVC (Model View Controller) Web applications offer a clean separation of concerns between the business-logic classes, Web pages, and the controller. Microsoft ASP.NET MVC 4 offers Web developers all the benefits of MVC allied with all the power of the .NET platform. This course provides full coverage of ASP.NET MVC 4, including the new ASP.NET Web API and mobile UI API.
Course Duration
5 days
Course Objectives
On completion of this course delegates will have a solid grounding in the ASP.NET MVC architecture. They will be familiar with the topics as per the content list below.
Course Content
Getting Started with ASP.NET MVC
ASP.NET MVC project templates; Understanding the structure of an ASP.NET MVC project; Naming conventions;
Creating views; Defining controllers; Defining a data model
Creating a Complete ASP.NET MVC Application
Creating strongly-typed views; Understanding URLs and action methods; Using HTML helpers; Handling form post-backs; Data validation
Using the Razor View Engine
Razor design goals; Implementing a Razor view; Razor syntax; Accessing model data in Razor views
Industrial-Strength ASP.NET MVC Applications
ASP.NET application architecture best practices; Implementing a repository and Entity Framework data model; Using Dependency Injection; Implementing a custom controller factory
Test Driven Development with ASP.NET MVC
Recap of TDD; Unit Testing frameworks; Walk-through of using TDD with ASP.NET MVC
View Techniques
Defining and using custom HTML helpers; Defining a layout/master page; Using styles; Defining and using partial views; Razor helper method syntax
Implementing Navigation
Defining view-model classes; Implementing data filtering in a controller; Understanding the routing mechanism; Adding custom entries to a route table; Defining defaults, parameters, and validation; Generating URLs and hyperlinks; Custom route constraints
Platform Integration
Using the File API; Implementing drag-and-drop; Incorporating audio and video; Using the Geolocation API
State Management
Using hidden fields; Session and application state; Custom model bindings
Additional Techniques
View scaffold templates; Controller scaffold templates; Global filters; Model binding; Asynchronous controllers; Authentication options, including enabling logins from Facebook etc.
Using Ajax and jQuery with ASP.NET MVC
Overview of Ajax and ASP.NET MVC; Unobtrusive Ajax; Using Ajax action links; Overview of jQuery; jQuery techniques; Using jQuery UI
Using the ASP.NET Web API
Overview of the ASP.NET Web API; Building servers and clients; Content negotiation; Validation; Queryable interfaces; Dependency Injection
Creating Mobile Applications
Overview of the mobile templates; Creating a mobile application; Understanding the underlying jQuery UI mobile API's
ASP.NET MVC project templates; Understanding the structure of an ASP.NET MVC project; Naming conventions;
Creating views; Defining controllers; Defining a data model
Creating a Complete ASP.NET MVC Application
Creating strongly-typed views; Understanding URLs and action methods; Using HTML helpers; Handling form post-backs; Data validation
Using the Razor View Engine
Razor design goals; Implementing a Razor view; Razor syntax; Accessing model data in Razor views
Industrial-Strength ASP.NET MVC Applications
ASP.NET application architecture best practices; Implementing a repository and Entity Framework data model; Using Dependency Injection; Implementing a custom controller factory
Test Driven Development with ASP.NET MVC
Recap of TDD; Unit Testing frameworks; Walk-through of using TDD with ASP.NET MVC
View Techniques
Defining and using custom HTML helpers; Defining a layout/master page; Using styles; Defining and using partial views; Razor helper method syntax
Implementing Navigation
Defining view-model classes; Implementing data filtering in a controller; Understanding the routing mechanism; Adding custom entries to a route table; Defining defaults, parameters, and validation; Generating URLs and hyperlinks; Custom route constraints
Platform Integration
Using the File API; Implementing drag-and-drop; Incorporating audio and video; Using the Geolocation API
State Management
Using hidden fields; Session and application state; Custom model bindings
Additional Techniques
View scaffold templates; Controller scaffold templates; Global filters; Model binding; Asynchronous controllers; Authentication options, including enabling logins from Facebook etc.
Using Ajax and jQuery with ASP.NET MVC
Overview of Ajax and ASP.NET MVC; Unobtrusive Ajax; Using Ajax action links; Overview of jQuery; jQuery techniques; Using jQuery UI
Using the ASP.NET Web API
Overview of the ASP.NET Web API; Building servers and clients; Content negotiation; Validation; Queryable interfaces; Dependency Injection
Creating Mobile Applications
Overview of the mobile templates; Creating a mobile application; Understanding the underlying jQuery UI mobile API's
Who should attend?
Experienced ASP.NET developers who want to use the MVC architecture.
Pre-requisites
6 months experience of C# programming. ASP.NET