Framework Training

Code

aspnetmvc

Scheduled Dates

22 Jul 2013
16 Sep 2013
7 Oct 2013
27 Jan 2014

Scheduled Address

Framework Training Ltd

154 - 160 Fleet Street
London
EC4A 2DQ

More about our London Training Centre

Experience Level

intermediate

Days

4

Price per person

£1995 +VAT

Course description

Our ASP.NET MVC 4 training course is aimed at .NET developers who are new to the concepts of the MVC pattern and ASP.NET MVC framework, but will also be useful for developers coming from earlier versions, who want to learn the new features such as ASP.NET Web API and Mobile UI API, and also get a refresher on 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.

ASP.NET MVC 4 is the latest web application framework from Microsoft, which they have released under the Microsoft Public License.

While there is a fair amount to take on board for newcomers, it’s a natural progression for ASP.NET developers, who will be able to use their C# or VB.NET skills to develop MVC 4 web apps, while benefitting from some of the new features in .NET 4.0. It is also backwards compatible which should make upgrading MVC1 – MVC3 applications a relatively painless experience.

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

PHP developers looking to use the MVC Design Pattern may want to take a look at our Zend Framework training course, Python developers at our Django course and likewise, Java developers may be interested in our Spring Framework training course.

What you will learn

  • Benefits of the MVC Design Pattern
  • Creating view, definining controllers, defining the Data Model
  • Razor View Engine
  • Implementing MVC4 Navigation
  • Entity Framework and MVC4
  • Understanding Routing and URL best practices
  • Managing Application State
  • AJAX & jQuery with MVC4
  • ASP.NET WebAPI

Who should attend

ASP.NET Web Developers who are looking to leverage the power and flexibility of Microsoft's MVC4 Framework.

Prerequisites

Delegates should have attended our Intro to ASP.NET Training Course or have equivalent hands-on experience.

ASP.NET MVC4 Training Course Syllabus

Introduction to ASP.NET MVC

The role of the Model, View, and Controller
Key benefits of ASP.NET MVC

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 4 Application

Creating strongly-typed views
Understanding URLs and action methods
Using HTML helpers
Handling form post-backs
Data validation

Using the Razor View Engine

Getting started with Razor
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 (TDD) with ASP.NET MVC 4

Recap of TDD
Unit Testing Frameworks
TDD Hands-on with ASP.NET MVC

View Techniques

Defining and using custom HTML Helpers
Defining a layout / MVC Master Page
Using Styles
Defining and using partial views
Razor Helper Method syntax

Implementing Navigation in MVC web apps

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

MVC 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 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

ASP.NET MVC4 & LINQ - working with Data

Language features used in LINQ
Creating simple LINQ queries
Using LINQ queries in a Web application;
Defining a data repository;
Using LINQ to define a data access component

ASP.NET MVC 4 Techniques & Best Practices

View scaffold templates
Controller scaffold templates
Dependency injection

ASP.NET Web API with MVC 4

Overview of the ASP.NET Web API
Building servers and clients
Content negotiation
Validation
Queryable Interfaces
Dependency Injection

Creating Mobile MVC 4 Apps

Overview of the mobile templates
Creating a mobile application
Understanding the underlying jQuery UI mobile APIs