Training & Exams

Building Effective Websites using Microsoft MVC.

About This Course

Course Code
QAASPNETMVC

Course Type
Performance

Vendor
Microsoft

Duration
5 Days

RRP
£3,485.00

Course Overview
Download

Special Notices

Please note: for Attend from Anywhere customers an additional screen is required. The additional screen must have a minimum screen size of 19 inch and minimum resolution of 1280x1024, with the vertical resolution 1024 being the most critical.

Overview

The course takes existing .NET developers and provides them with the necessary skills to develop modern MVC-5 web-based applications, using Visual Studio 2017 and the ASP.NET Framework 4.7.1. This course prepares delegates for the MVC part of Exam 70-486.

Course Outline

Module 1: Web Basics
This is a 'refresh' chapter for those not confident with web terminology.
It is brief and only intended as a refresh - not a 'learn from cold'.
There is no lab.
Module 2: MVC5 Overview
In this module, delegates learn about the separation of concerns, working with Models, Controllers and Views to understand how a MVC application is structured and how the different parts interact with the routing engine to resolve a client request.
Lessons:

Lab:

After completing this module delegates will:
Module 3: Entity Framework
Because Entity Framework is such an important part of most MVC applications, we cover the topic before exploring models.
Lessons:

Labs:

After completing this module delegates will:
Module 4: Data Storage Pattern
Delegates will work with the Entity Framework to build the models for an MVC-5 application. They will learn how to encapsulate data access logic using the Repository/UnitOfWork pattern.
Lessons:

Lab:

After completing this module delegates will be familiar with Entity Framework and the Repository pattern.
Module 5: Controllers and Actions
Delegates learn how to structure and build controllers for key entities by learning how to write actions that return views for different scenarios. The usage of the Http Get and Post verbs in building forms is discussed.
Lessons:

Lab:

After completing this module delegates will:
Module 6: Creating Views
Delegates create views and partial views using the Razor engine. They will learn how to render client side mark-up, based on what the Controller's request and the Model sends. Delegates learn how to create master layout pages to enforce a consistent layout and style across a website, plus how to implement forms for the websites 'Create', 'Update' and 'Delete' pages.
Lessons:

Lab:

After completing this module delegates will:
Module 7: Bootstrap
In this module delegates work with Bootstrap. They will use the various Bootstrap styles to customise the look and feel of a website. Become familiar with the Bootstraps grid system to control the layout of content and how bootstrap provides a responsive design.
Lessons:
Lab:
After completing this module delegates will:
Module 8: Model Binding
Delegates will learn what Model Binding is and how the MVC framework leverages this.
Lessons:
Lab:
Module 9: Validation
Delegates will learn to use data annotation attributes to provide validation for the model data. They use html helpers to provide validation assistance within views.
Lessons:
Lab:
After completing this module delegates will:
Module 10: Error Handling
Delegates will learn how to protect a MVC application from script injection attacks, and how to implement custom exception handling within the application.
Lessons:
Lab:
After completing this module delegates will:
Module 11: Action filters
Delegates will use Action Filters to control the behaviour of an application. They will first use the built-in filters, then learn to create custom Action Filters. Delegates will also make use of global Action Filters, applying them both statically and dynamically.
Lessons:
Lab:
After completing this module delegates will: Know the different types of filters available Be able to use a built-in Action Filters Create a custom Action Filter
Configure global filters
Module 12: Routing
Delegates learn how to create routes that map URLs to controller actions using both convention-base routing and attribute-based routing. They will implement routing constraints to ensure that routes contain the expected data. Also included is how to unit test routes.
Lessons:
Lab:
After completing this module delegates will:

Module 13: Web API 2

Delegates learn when and how to create a restful service using Web API 2. They will learn to use Fiddler2 to help test and debug Web APIs during development and how to call a Web API from multiple clients.
Lessons:

Lab:

After completing this module delegates will:
Module 14: State
Delegates learn about the various ways of maintaining state within a web server, how different state options affect the scalability of an application, and how to use page output caching and application caching service providers to improve application performance.
Lessons:
Lab:
After completing this module delegates will:
Module 15: Unit Testing MVC 5 Applications
This module teaches delegates to use Visual Studio Unit Testing capabilities to carry out Test Driven Development TDD within an application, including the use of Mocks and Stubs. They will implement Dependency Injection and appreciate how to create a mock HttpContext for use when testing MVC 5 projects.
Lessons:
Lab:

After completing this module delegates will:

Module 16: Caching
Performance is often an issue with any web site. In this module delegates use the output and data caching features of the product to improve performance
Lessons:
Lab:
Module 17: AJAX
Delegates will learn how to use the provided AJAX helpers and partial views to do client-side partial updates.
Lessons:
Lab:
Module 18: Security
Module 15 examines the ASP.NET Identity infrastructure that is added automatically when creating new MVC projects.
Delegates will see the security options available and also how to configure, integrate and extend ASP.NET Identity.
Lessons:
Lab:
After completing this module the delegates will:
Module 19: Deploying
The delegates learn about the different deployment options available. They learn how to create deployment packages to deploy MVC applications into IIS and Azure, and how to use configuration transforms to modify web.config during deployment.
Lessons:

Lab:

1 Change to the Entity Framework migration strategy
2 Deploy to IIS
3 Deploy to Azure for those with an Azure account
After completing this module delegates will:

Prerequisites

Please note: Before attending this class delegates must have a Microsoft account signing up one is free. The instructions on how to set up a Microsoft account can be found here.

About This Course

Course Code
QAASPNETMVC

Course Type
Performance

Vendor
Microsoft

Duration
5 Days

RRP
£3,485.00

Course Overview
Download