Developing ASP.NET Core MVC Web Applications (M20486)

Learn to develop advanced ASP.NET MVC applications using .NET Core tools and technologies.

Course Outline

COURSE OVERVIEW

In this course, students will learn to develop advanced ASP.NET MVC applications using .NET Core tools and technologies. The focus will be on coding activities that enhance the performance and scalability of the Web site application. This course will also prepare the student for exam 70-486.


This course uses Microsoft Visual Studio 2017. It incorporates material from the Official Microsoft Learning Product 20486: Developing ASP.NET MVC 4 Web Applications and can assist you in your preparation for Exam 70-486.

WHAT YOU'LL LEARN

  • Describe the Microsoft Web Technologies stack and select an appropriate technology to use to develop any given application.
  • Design the architecture and implementation of a web application that will meet a set of functional requirements, user interface requirements, and address business models.
  • Configure the pipeline of ASP.NET Core web applications using middleware, and leverage dependency injection across MVC application.
  • Add Controllers to an MVC Application to manage user interaction, update models, and select and return Views.
  • Develop a web application that uses the ASP.NET Core routing engine to present friendly URLs and a logical navigation hierarchy to users.
  • Create Views in an MVC application that display and edit data and interact with Models and Controllers.
  • Create MVC Models and write code that implements business logic within Model methods, properties, and events.
  • Connect an ASP.NET Core application to a database using Entity Framework Core.
  • Implement a consistent look and feel across an entire MVC web application.
  • Write JavaScript code that runs on the client-side and utilizes the jQuery script library to optimize the responsiveness of an MVC web application.
  • Add client side packages and configure Task Runners.
  • Run unit tests and debugging tools against a web application in Visual Studio 2017.
  • Write an MVC application that authenticates and authorizes users to access content securely using Identity.
  • Build an MVC application that resists malicious attacks.
  • Use caching to accelerate responses to user requests.
  • Use SignalR to enable two-way communication between client and server.
  • Describe what a Web API is and why developers might add a Web API to an application.
  • Describe how to package and deploy an ASP.NET Core MVC web application from a development computer to a web server.

OUTLINE

Classroom Live Outline

  • Exploring ASP.NET Core MVC

    • Microsoft Web Technologies
    • ASP.NET 4x
    • ASP.NET Core MVC
  •  Designing ASP.NET Core MVCWeb Applications

    • Planning in the Project Design Phase
    • Designing Models, Controllers, and Views
  • Configure Middlewares and Services in ASP.NET Core

    • Configuring Middlewares
    • Configuring Services
  •  Developing Controllers

    • Writing Controllers and Actions
    • Configuring Routes
    • Writing Action Filters
  • Developing Views

    • Creating Views with Razor Syntax
    • Using HTML Helpers and Tag Helpers
    • Reusing Code in Views
  • Developing Models

    • Creating MVC Models
    • Working with Forms
    • Validate MVC Application
  • Using Entity Framework Core in ASP.NET Core

    • Introduction to Entity Framework Core
    • Working with Entity Framework Core
    • Use Entity Framework Core to connect to Microsoft SQL Server
  • Using Layouts, CSS and JavaScript in ASP.NET Core MVC

    • Using Layouts
    • Applying CSS and JavaScript
    • Using jQuery
  • Client-Side Development

    • Applying Styles
    • Using Task Runners
    • Responsive design
  • Testing and Troubleshooting

    • Testing MVC Applications
    • Implementing an Exception Handling Strategy
    • Logging MVC Applications
  • Managing Security

    • Authentication in ASP.NET Core
    • Authorization in ASP.NET Core
    • Defending from Attacks
  • Performance and Communication

    • Implementing a Caching Strategy
    • Managing State
    • Two-way communication
  • Implementing Web APIs

    • Introducing Web APIs
    • Developing a Web API
    • Calling a Web API
  • Hosting and Deployment

    • On-premise hosting and deployment
    • Deployment to Microsoft Azure
    • Microsoft Azure Fundamentals

LABS

Classroom Live Labs

  • Lab 1: Exploring ASP.NET Core MVC

    • Exploring a Razor Pages Application
    • Exploring a Web API Application
    • Exploring an MVC Application

 

  • Lab 2: Design ASP.NET MVC Web Applications

    • Plan Models Classes
    • Planning Controllers
    • Planning Views
    • Architect and MVC Web Application

 

  • Lab 3: Configuring Middleware and Services in ASP.NET Core

    • Working with Static Files
    • Creating custom middleware
    • Using dependency injection
    • Injecting a service to a controller

 

  • Lab 4: Developing Controllers

    • Adding controllers and actions to an MVC application
    • Configuring routes by using the routing table
    • Configuring routes using attributes
    • Adding an action filer

 

  • Lab 5: Developing Views

    • Adding Views to an MVC Application
    • Adding a partial view
    • Adding a view component

 

  • Lab 6: Developing Models

    • Adding a model
    • Working with Forms
    • Add Validation

 

  • Lab 7: Using Entity Framework Core in ASP.NET Core

    • Adding Entity Framework Core
    • Use Entity Framework Core to retrieve and store data
    • Use Entity Framework Core to connect to Microsoft SQL Server

 

  • Lab 8: Using Layouts, CSS and JavaScript in ASP.NET Core

    • Applying a layout and link views to it
    • Using CSS
    • Using JavaScript
    • Using jQuery

 

  • Lab 9: Client-Side Development

    • Use gulp to run tasks
    • Styling using Sass
    • Using Bootstrap

 

  • Lab 10: Testing and troubleshooting

    • Testing a Model
    • Testing a controller using a fake repository
    • Implementing a repository in MVC project
    • Add exception handling
    • Add logging

 

  • Lab 11: Managing Security

    • Use Identity
    • Add Authorization
    • Avoid the Cross-Site Request Forgery Attack

 

  • Lab 12: Performance and Communication

    • Implementing a Caching Strategy
    • Managing state
    • Two-Way communication

 

  • Lab 13: Implement Web APIs

    • Adding Actions and Call Them Using Microsoft Edge
    • Calling a Web API using server-side code
    • Calling a Web API using jQuery

 

  • Lab 14: Hosting and Deployment

    • Deploying a Web Application to Microsoft Azure
    • Upload an Image to Azure Blob Storage

PREREQUISITES

  • Experience with Visual Studio 2017.
  • Experience with C# programming, and concepts such as Lambda expressions, LINQ, and anonymous types.
  • Experience in using the .NET Framework.
  • Experience with HTML, CSS and JavaScript.
  • Experience with querying and manipulating data with ADO.NET.
  • Knowledge of XML and JSON data structures.

WHO SHOULD ATTEND

  • This course is intended for professional web developers who use Microsoft Visual Studio in an individual-based or team-based, small-sized to large development environment. Candidates for this course are interested in developing advanced web applications and want to manage the rendered HTML comprehensively. They want to create websites that separate the user interface, data access, and application logic.

VENDOR CREDITS

SATV Redemption

Redeeming your Microsoft Software Assurance Training Vouchers:

  • 5 Day SATV for a Classroom Live session
  • 5 Day SATV for a Virtual Classroom Live session
  • 2 Day SATV for an individual On-Demand course

Training Location

Online Classroom
your office

your city, your province
your country