
Explore web development with asp.net core 5 mvc through a hands-on lab that covers deployment to building models, controllers, and binding, using in-memory database for practical projects.
Prepare your development environment for the ASP.NET Core 5 MVC hands-on lab by setting up a computer with Windows OS or a server, and ensure internet access to install libraries.
Build the first step of the project, create a partial view and work with static files, while learning dependency injection in an ASP.NET Core MVC hands-on lab.
Learn to add a new ASP.NET Core 5 MVC controller using templates, name conventions, and an index view, then wire folders and menus to build a books feature.
Create reusable UI with partial views in ASP.NET Core 5 MVC, rendering menu, profile, and contact content across sections.
Learn to create a view component in asp.net core 5 mvc, implementing invoke, defining parameters, and rendering items like books with titles and authors.
Learn how to create and apply layouts in ASP.NET Core 5 MVC, using templates to render body content with styles and scripts, and wire layouts to controllers and views.
Learn routing and navigation in ASP.NET Core 5 MVC by implementing controllers, parameters, and redirects to a book detail view while rendering a simple menu and category details.
Explore dependency injection in an ASP.NET Core 5 MVC hands-on lab by implementing an interface, registering a singleton surface, and injecting services into a controller to perform parameterized calculations.
Explore error handling in an ASP.NET Core 5 MVC hands-on lab by using try-catch, handling not found errors with 404 responses, and comparing production and development behavior.
Explore data annotations in asp.net core mvc to customize model display text and labels, such as display name for product name, price, and quality, and apply these annotations to forms.
Implement custom input validation in ASP.NET Core 5 MVC by creating a validation class, inheriting from validation attributes, and enforcing a minimum stock of five units.
Learn to upload a product image via a multipart form, bind name, price, and quantity to the product model, and save the file on the server.
Bind data to tables in an ASP.NET Core 5 MVC hands-on lab using templates, scaffolding, and forms to populate product data from a database into an interactive grid.
Learn to set up a database with Entity Framework in ASP.NET Core 5 MVC, perform CRUD operations, manage image uploads, and apply transactions, pagination, and sorting for scalable data handling.
Learn to read data in ASP.NET Core 5 MVC with EF Core by building index and detail views, binding employee data, and rendering detailed templates.
Update employee data in an ASP.NET Core 5 MVC app using EF Core, including an edit form, ID handling, form submission, validation, and committing changes to the database.
Demonstrates deleting data in an ASP.NET Core 5 MVC app with EF Core, including selecting an employee, triggering the delete action, updating the database, and returning to the index view.
Delete an employee and their picture within a single EF Core transaction, ensuring both tables commit or rollback together. The demo builds, runs, and verifies data is removed.
Implement data paging in ASP.NET Core 5 MVC with EF Core by defining a paging model, populating employee data, and rendering navigation to navigate pages using skip and take logic.
Implement sorting and paging for an employee list using ASP.NET Core 5 MVC and EF Core, enabling ascending/descending order, dynamic sort fields, and a ten-record page size.
Embark on a hands-on lab that covers session concepts, compares data approaches with an in-memory database and qualitative data, and improves ASP.NET Core MVC performance.
Learn how ASP.NET Core 5 MVC uses session and TempData to persist data across requests, handle redirects, and preserve user input A, B, C.
Explore ASP.NET Core 5 MVC external caching with an in-memory database, implementing a generic distributed cache surface, handling get, set, and remove operations using JSON and binary serialization.
Explore implementing external caching with SQL Server in an ASP.NET Core 5 MVC project, using Entity Framework to test and validate cached data via debugging runs.
Explore implementing external caching in an ASP.NET Core 5 MVC app using Redis, with hands-on steps to verify data flow and cache-backed responses.
Explore securing an ASP.NET Core 5 MVC app with authentication, authorization, email verification, password reset, remember me, and multi-factor authentication through hands-on lab projects.
Configure asp.net core identity for authentication and authorization, enforcing password rules, unique emails, and required email confirmation, then enable cookie-based authentication and login flows.
Generate roles and assign them to users in an asp.net core mvc app, creating manager and admin roles, seeding users, checking role existence, and verifying role assignments.
Define admin, manager, and member roles and apply rule-based authorization to controllers and routes in asp.net core 5 mvc, with practical tests of access control.
Implement email confirmation in ASP.NET Core 5 MVC by generating a token and sending an activation link during user registration.
Apply remember me in login authentication by issuing a token and storing it in a local cookie, enabling persistent sign-in across sessions with a remember me checkbox and profile access.
Learn to implement a change password feature in ASP.NET Core 5 MVC by validating input, confirming the current password, and updating to a password through the user controller and views.
Change a user email in ASP.NET Core Identity by validating the current password and submitting a new email. Send a verification link to confirm the update.
Learn how to implement forgot password and reset password flows by validating the username, sending a reset link via email with a token, and setting a new password.
Implement and manage multifactor authentication for an ASP.NET Core Identity user by checking its status and toggling the enabled state of multifactor authentication per user.
Master multi-factor authentication with email in an ASP.NET Core 5 MVC hands-on lab, covering two-factor setup, token generation, email delivery, and user verification.
Explore deployment basics for asp.net core mvc hands-on labs, deploying to Microsoft Azure and mobile devices, while building esprit de corps through practical steps.
Learn how to publish and deploy ASP.NET Core 5 MVC applications to Microsoft Azure, including configuring the publish target, logging in, selecting a subscription, and completing deployment.
In this course, you will learn the latest of ASP.NET Core 5 MVC technology with .NET Core 5.x. We provides various practical projects. We learn the following highlight topics:
Basic ASP.NET Core MVC Development
Data binding
Entity Framework Core
Session and Distributed Caching
ASP.NET Core Identity
Deployment
We start by developing basic ASP.NET Core MVC development such as exploring Models, Views and Controllers. Making data binding from Models to Views. We apply data binding to HTML web forms, Tables, and Charts.
We access database like SQL Server using Entity Framework Core 5.x. We can generate codes from existing database and then use them in ASP.NET Core MVC applications. We implement CRUD (Create, Read, Update, Delete) operations with SQL Server and ASP.NET Core MVC.
To improve your ASP.NET Core MVC performance, we implement sessions and distributed caching. In this section, I will show to work with external distributed caching in ASP.NET Core MVC. We use external caching data such as In-Memory Database, Redis and SQL Server.
We also learn ASP.NET Core MVC Security with ASP.NET Core Identity. We explore how to create users, get users and delete users. We learn how to retrieve account (username), change password and email. We also implement how to reset password. To obtain a valid email on user registration, we implement ASP.NET Core MVC registration with email confirmation. To prevent user registration bots automatically by bots, we can apply CAPTCHA in ASP.NET Core MVC. We use Google reCAPTCHA. Last, we work with multi-factor authentication. Users can enable their multi-factor authentication on ASP.NET Core Identity. Then, each user with enabled multi-factor authentication will be challenged for second authentication. In this scenario, we use email with codes for implementing multi-factor authentication.
At the end of course we learn how to deploy our ASP.NET Core MVC applications. We use IIS web server and Microsoft Azure for targeted deployment.