
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.
Create your first ASP.NET Core 5 MVC application by creating a new project, selecting the web application template, and configuring location, then run to view the home and privacy pages.
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.
Learn how ASP.NET Core 5 MVC uses controllers and index views to render data, run the project, and navigate between books and demo views.
Create reusable UI with partial views in ASP.NET Core 5 MVC, rendering menu, profile, and contact content across sections.
Learn to pass data from a controller to a view using ViewBag and ViewData in ASP.NET Core 5 MVC with key-value pairs like book title and total.
Learn to create and extend models in asp.net core 5 mvc, define a book model with properties, and use scaffolding to generate views and templates that render details.
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.
Place static files in the public folder and enable static file requests in Startup to serve them in your ASP.NET Core 5 MVC app.
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.
Learn to bind forms, submit data, and validate inputs in ASP.NET Core 5 MVC, customize form displays, handle image uploads, and populate tables and charts with open source libraries.
Create a submitted form by building a simple product model (name, price, quantity), scaffolding a controller with index and create views, binding form data to the model, then display details.
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.
Learn to implement model-based input validation in ASP.NET Core 5 MVC by marking fields as required, validating on submit, and ensuring the form blocks submission until all fields are filled.
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.
Bind data to charts in an ASP.NET Core 5 MVC hands-on lab by wiring datasets, configuring the chart, and populating it with JavaScript for a report.
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.
Set up a demo database for an ASP.NET Core 5 MVC hands-on lab by creating employee and employee_picture tables, defining basic fields, and mapping the relationship for practical projects.
Set up EF Core in an ASP.NET Core MVC project, configure EF Core and startup, create a controller, and connect to SQL Server to generate the database from models.
Learn to build data-driven apps with asp.net core 5 mvc and ef core by creating a new controller, defining the model and context, and implementing create and index workflows.
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.
Implement blob image handling in ASP.NET Core 5 MVC with EF Core by uploading, storing as binary, and rendering employee pictures with default fallbacks.
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.
Design a database for user management using ASP.NET Core Identity by modeling employee entities, configuring a shared DbContext, applying migrations, and enabling roles and claims for authorization.
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.
Registering a user in an asp.net core 5 mvc hands-on lab, lecture defines a user model with full name, email, and password, maps it to identity, and encrypts the password.
Create a login form in ASP.NET Core 5 MVC with username and password, validating against the database. Configure authentication to redirect on success and restrict access to authenticated users.
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.
List all users in an admin-restricted view by querying the core identity store, retrieving every user via a service, and rendering a table with name, full name, and email.
Retrieve a user detail by populating the detail template from the user model and display it through the left menu navigation.
Learn to implement user deletion in an ASP.NET Core MVC app using Identity: add an admin controller action, confirm deletion, and remove a user record from the system.
Learn to configure email settings and implement an email service in asp.net core 5 mvc, using an email model with subject and body to send via smtp.
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 reCAPTCHA on user registration in an ASP.NET Core 5 MVC app, configuring Google reCAPTCHA keys and server-side validation to secure the registration form.
Learn to implement a forgot account workflow in ASP.NET Core 5 MVC: validate user email, check it exists in the system, and send a confirmation email to the user.
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.
Deploy an ASP.NET Core 5 MVC application to IIS by configuring the application pool, creating a new website, and publishing the project.
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.