ASP.NET Core MVC - Introduction
Course Description
This course provides a practical hands-on introduction to developing Web applications using ASP.NET Core 6.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 2022 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 MVCGain a practical understanding of.NET Core
Acquire a working knowledge of Web application development using ASP.NET Core MVC and Visual Studio 2022
Persist data with XML Serialization and ADO.NET with SQL Server 2019
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 FormsAdvantages and Disadvantages of Web Forms
Model-View-Controller Pattern
ASP.NET Core 6.0
Considerations in Using ASP.NET MVC
Unit Testing
Getting Started with ASP.NET Core MVC
ASP.NET Core MVC TestbedUsing Visual Studio
Configuring for ASP.NET Core MVC
Rendering Views
Razor View Engine
Dynamic Output
ASP.NET MVC Architecture
The ControllerThe View
The Model
Helper Methods for HTML
Form Submission
Model Binding
Input Validation
The Model
More Complex Models in MVC ProgramsMicrosoft Technologies for Model Persistence
Using XML Serialization
NuGet Package Manager
Using ADO.NET
The Controller
Controller Base ClassActions
Retrieving Data from a Request
Action Results
Action Attributes
Serving Static Files
Filters
The View
View ResponsibilityUsing ViewBag
Using Dynamic Objects
Html Helpers
Validation Attributes
Routing
Routing in ASP.NET Core MVCProperties of Routes
Parameters in Routing
Registering Routes
Attribute Routing
ASP.NET Core Web API
ASP.NET Core Web APIRepresentational 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, which includes .NET 6.0. The free Visual Studio Community 2022 may be used. Visual Studio 2022 includes LocalDB, a lightweight version of SQL Server 2019 Express, which is used for one example in the course. The operating system should be Windows 10 or more recent. The free Postman tool is used. It can be downloaded from the Web.ASPasp dotnetasp.netc#VS2022Microsoft Visual Studio 2022asp.net coreMVCasp.net core 6.0core 6.0