CMDBID: 62882 | Course Code: MVC | Duration: 5 Days
The course takes existing .NET developers and provides them with the necessary skills to develop modern MVC-5 web-based applications, using Visual Studio 2015 and the ASP.NET Framework 4.51. This course prepares delegates for Exam 70-486.
Each participant will leave with a recognised certificate
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.
The MVC Pattern
Models, Views, and Controllers ASP.NET MVC Conventions MVC5 Project structure
Visual Studio 2015 support
Creating an ASP.NET MVC 5 project using Visual Studio 2015
After completing this module delegates will:
Have gained a high-level overview of how to build an MVC-5 application
Module 3: Entity Framework
Because Entity Framework is such an important part of most MVC applications, we cover the topic before exploring models.
The main features of Entity Framework
DatabaseFirst / ModelFirst / CodeFirst / CodeFirst from Database
Lazy / Eager / Explicit loading
Linq To Entities
Initialization and Migration
Using Stored Procs
CodeFirst and loading options
(Optional) Initialization and Migration
Know the different strategies available in Entity Framework
Know how and when to use Initialization and Migration
Module 4: Creating Models
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 a repository pattern.
Querying data using LINQ
Using a Repository
Creating Models using the Entity Framework and the Repository pattern.
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.
What is a controller? Action and parameters
Returning Results from Actions Passing data to views Asynchronous Actions Processing HTTP Forms
Building controller classes
Understand the role of the controller
Be able to write Actions to process requests
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.
Using views and partial views Razor
Layout pages Using data in views
Strongly Typed Views
The HTML Helper methods Lab:
Implementing views and partial views After completing this module delegates will:
Be able to use the Razor engine to render views and partial views. Create master layout pages for a consistent look and feel.
Use Helper methods to generate client side mark-up. Know how to access model data from within Views
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.
Bootstrap getting started Bundling and Minification Bootstraps responsive design Bootstrap components
Styling webpages with Bootstrap
Know how to use the Bootstrap UI Framework
Be able to create mobile-first responsive web pages
Module 8: Model Binding
Delegates will learn what Model Binding is and how the MVC framework leverages this.
The model binding lab is
Our clients have included prestigious national organisations such as Oxford University Press, multi-national private corporations such as JP Morgan and HSBC, as well
as public sector institutions such as the Department of Defence and the Department of Health.