Framework Training

Code

aspnetmvc

Days

4

Experience Level

intermediate

Scheduled Dates

12 May 2014 — London (Aldgate)
18 Aug 2014 — London (Aldgate)
20 Oct 2014 — London (Aldgate)
Please call us — Reading (Berks)
Please call us — Swindon (Wilts)

Price per person

£1995 +VAT

Corporate Discounts

Call us to discuss cost-effective options for training your team.

Course description

Our ASP.NET MVC 5 training course is aimed at .NET developers who are new to the concepts of the MVC pattern and ASP.NET MVC framework. It’s based in the latest revision (MVC 5.1) and it may also be useful for developers coming from earlier versions, who want to learn the latest features and also get a refresher on MVC Best Practices.

Model-View-Controller (MVC) is a design pattern which focuses on separating the Application Logic from the User Interface. One of the benefits is that it allows for the development, testing and on-going housekeeping of the code to be split across different teams.

This course provides full coverage of ASP.NET MVC 5.1, including Bootstrap, Web API and attribute routing, and the mobile UI API.

Please let us know if you are planning to target the MVC 3 or MVC 4 platform as the majority of the course will still be relevant for you – we’re happy to deliver on-site / custom MVC training specifically for versions 3 or 4 too.

* * *

What you will learn

  • Benefits of the MVC Design Pattern
  • Understand MVC architecture principles and benefits
  • Implementing industrial-strength MVC solutions
  • Creating views, partial views, and layouts using Razor
  • Testing an MVC application
  • Defining custom routes
  • Using Ajax effectively
  • Creating RESTful services using the Web API
  • Creating Mobile web applications and sites with MVC 5

Who should attend

.NET Developers who are looking to leverage the power and flexibility of Microsoft's MVC 5 Framework to build robust, commercial MVC web apps.

Prerequisites

Delegates should have attended our Intro to C# 5.0 and .NET 4.5 Training Course or have equivalent hands-on experience. Skills in web development ('classic' ASP.NET, HTML5, CSS) will be useful but not mandatory.

ASP.NET MVC 5 Training Course Syllabus

Getting Started with ASP.NET MVC:
ASP.NET MVC project templates;
What's new in ASP.NET 5 and 5.1;
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

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

Using Ajax, jQuery, and Bootstrap with ASP.NET MVC:
Overview of Ajax and ASP.NET MVC;
Unobtrusive Ajax and the 'this' context;
Using Ajax action links;
Overview of jQuery;
jQuery techniques

Using the ASP.NET Web API:
Overview of the ASP.NET Web API;
Building servers and clients;
Content negotiation;
Validation;
Queryable interfaces;
Dependency Injection;
Attribute routing

Creating Mobile Sites:
Overview of jQuery mobile;
Creating a mobile user interface;
Managing data;
Implementing UI behaviour;
Overview of Bootstrap;
Adaptive rendering;