ASP.NET Core MVC - Introduction

Course Description

This course provides a practical hands-on introduction to developing Web applications using ASP.NET Core 5.0 MVC and C#. This course covers the fundamentals of the Model-View-Controller design pattern and its implementation in ASP.NET Core MVC. This technology is compared with classical ASP.NET Web Forms. Visual Studio 2019 is used as a productive platform for creating MVC Web applications.
2 days
Contact us for pricing

LEARNING OBJECTIVES

Gain a thorough understanding of the philosophy and architecture of Web applications using ASP.NET Core MVC
Gain a practical understanding of.NET Core
Acquire a working knowledge of Web application development using ASP.NET Core MVC and Visual Studio 2019
Persist data with XML Serialization and ADO.NET with SQL Server 2016
Create HTTP services using ASP.NET Core Web API
Deploy ASP.NET Core MVC applications to the Windows Azure cloud

Prerequisites

The participant should have a good working knowledge of C# and the .NET Framework. Knowledge of HTML and some prior exposure to .NET Core would also be very beneficial.

Introduction to ASP.NET Core MVC

Review of ASP.NET Web Forms
Advantages and Disadvantages of Web Forms
Model-View-Controller Pattern
ASP.NET Core 5.0
Considerations in Using ASP.NET MVC
Unit Testing

Getting Started with ASP.NET Core MVC

ASP.NET Core MVC Testbed
Using Visual Studio
Configuring for ASP.NET Core MVC
Rendering Views
Razor View Engine
Dynamic Output

ASP.NET MVC Architecture

The Controller
The View
The Model
Helper Methods for HTML
Form Submission
Model Binding
Input Validation

The Model

More Complex Models in MVC Programs
Microsoft Technologies for Model Persistence
Using XML Serialization
NuGet Package Manager
Using ADO.NET

The Controller

Controller Base Class
Actions
Retrieving Data from a Request
Action Results
Action Attributes
Serving Static Files
Filters

The View

View Responsibility
Using ViewBag
Using Dynamic Objects
Html Helpers
Validation Attributes

Routing

Routing in ASP.NET Core MVC
Properties of Routes
Parameters in Routing
Registering Routes
Attribute Routing

ASP.NET Core Web API

ASP.NET Core Web API
Representational State Transfer
REST and Web API
HTTP Services Using Web API
HTTP Testing Tools
Using Postman
HTTP Response Codes
ASP.NET Web API Clients

ASP.NET Core and Azure

What Is Windows Azure?
A Windows Azure Testbed
Deploying an Application to Azure
Updating an Application on Azure

System Requirements

Required software is Visual Studio 2019 version 16.9.4 or higher, which includes .NET 5.0. The free Visual Studio Community 2019 may be used. Visual Studio 2019 includes LocalDB, a lightweight version of SQL Server 2016 Express, which is used for one example in the course. The operating system should be Windows 7sp1 or more recent. The free Postman tool is used. It can be downloaded from the Web.

ASPasp dotnetasp.netc#Visual StudioMicrosoft Visual StudioMS Visual StudioVisual Studio 2019VS2019Microsoft Visual Studio 2019asp.net coreMVCasp.net core 5.0core 5.0