ASP.NET Core MVC - Build an E-Commerce Web Application 2026
Build clean web application using ASP.NET Core MVC, Entity Framework Core, Identity, SQL Server and Visual Studio 2022.
Build clean web application using ASP.NET Core MVC, Entity Framework Core, Identity, SQL Server and Visual Studio 2022.
This course is for Beginners to ASP.NET having some knowledge of C# or similar programming languages.
In this course, I will show you how to create a web application using ASP.NET Core MVC. You will understand the MVC pattern and you will be able to create Models, Views and Controllers.
We will use Entity Framework to perform CRUD (Create, Read, Update and Delete) operations and to implement advanced functionalities, such as pagination, search and sort.
We will use Identity to implement user Registration, Authentication and Role-based Authorization. Besides, we will add many useful functionalities, such as edit the user profile, update the user password, display the registred users, update the user role, delete the user account, and request a password reset token.
Also, we will create the shopping cart and orders. We will store the shopping cart into a cookie and we will use colored badges to track the order status.
In this course, you will learn:
- The architecture of ASP.NET Core MVC
- How to create Models, Views and Controllers
- How to pass data from the controller to the view
- How to create forms and bind models to the forms
- How to validate form data using attributes and model binding
- How to install and use Entity Framework to access SQL Server Databases
- How to perform CRUD operations (Create, Read, Update and Delete) using Entity Framework
- How to advanced functionalities: pagination, search and sort
- How to upload images to the server
- How to read application parameters from appsettings.json
- How to use dependency injection: add services to the application container and request services from this container
- How to install Identity and how to create Identity user and tables
- How to create user Roles and how to register the Admin user
- How to register, authenticate and authorize users
- How to edit the user profile and password
- How to request password reset token by email
- How to display the registered users
- How to edit the user role
- How to delete the user account
- How to create, read, update and delete the shopping cart
- How to create orders and how to update the order status
To follow this course, you need to install the following tools
- Visual Studio 2022 including two components: “ASP.NET and web Development” and “.NET Desktop development”
- Microsoft SQL Server
FAQ area empty
Project Structure
Xem trướcActions Views and Controllers
Xem trướcRazor Syntax
Xem trướcLoops in Razor Views
Xem trướcConditions in Razor Views
Xem trướcRazor Directives
Xem trướcPass Data to View
Xem trướcTag Helpers
Xem trướcPartial Views
Xem trướcLayout Files
Xem trướcClassic Forms
Xem trướcData Binding and Form Validation
Xem trướcIntroduction
Xem trướcCreate a new MVC project and a new database connection
Xem trướcAdd Entity Framework Packages
Xem trướcCreate and Register the ApplicationDbContext
Xem trướcCreate the Product Model
Xem trướcCreate and Fill the Database Table
Xem trướcRead and Display the Product
Xem trướcCreate the ProductDto Model
Xem trướcCreate Products - Create the Form
Xem trướcCreate Products - Save the Product
Xem trướcUpdate Products - Create and Initialize the Form
Xem trướcUpdate Products - Save new Details
Xem trướcDelete Products
Xem trướcAdd Pagination functionality
Xem trướcAdd Search functionality
Xem trướcSort functionality - Add Query Parameters
Xem trướcSort functionality - Sort the Products
Xem trướcSort functionality - Add Arrow
Xem trướcChange Controller Route
Xem trướcAdd Admin Dropdown in the Navbar
Xem trướcChange the website name and icon
Xem trướcHome Page - Add the hero section
Xem trướcHome Page - Add the newest products section
Xem trướcStoreController - Read Products
Xem trướcStoreController - Add Pagination
Xem trướcStoreController - Add Search Sort and Filter Functionalities
Xem trướcRead product details
Xem trướcIntroduction
Xem trướcInstall Identity package
Xem trướcCreate Identity Tables
Xem trướcAdd Identity Services to the Service Container
Xem trướcCreate Roles and Default Admin User
Xem trướcUser Registration - Create RegisterDto model
Xem trướcUser Registration - Create the Register Form
Xem trướcUser Registration - Create User Account
Xem trướcUpdate the Navbar - Display Username and Role
Xem trướcUser Logout
Xem trướcUser Authentication - Create the Login Form
Xem trướcUser Authentication - Authenticate the user
Xem trướcUser Authorization and Role-based Authorization
Xem trướcDisplay User Profile
Xem trướcUpdate User Profile
Xem trướcUpdate User Password
Xem trướcRequest Password Reset Link
Xem trướcSend Emails
Xem trướcReset User Password
Xem trướcDisplay Registered Users
Xem trướcDisplay Registered Users - Add Pagination
Xem trướcDisplay User Details
Xem trướcUpdate User Role
Xem trướcDelete User Account
Xem trướcIntroduction
Xem trướcCreate Entity Models and Tables
Xem trướcShopping Cart Storage Principle
Xem trướcAdd the Shopping Cart Icon To the Navbar
Xem trướcAdd Products to the Shopping Cart
Xem trướcRead the Cookie on the Server and Display the Cart Size
Xem trướcShopping Cart - Display Items
Xem trướcShopping Cart - Create and Submit the Form
Xem trướcShopping Cart - Create Orders
Xem trướcShopping Cart - Increase Decrease and Delete Items
Xem trướcAdmin Orders - Display Orders to Admin
Xem trướcAdmin Orders - Add Pagination Functionality
Xem trướcAdmin Orders - Show Order Details
Xem trướcAdmin Orders - Edit Order
Xem trướcClient Orders - Display Client Orders
Xem trướcClient Orders -Show Order Details
Xem trướcBeginner knowledge of C#, HTML and Visual Studio 2022
Learn How to Build Web Applications using ASP .NET Core MVC
Understand the Architecture and the Features of ASP .NET Core MVC
Learn How to Install and Use Entity Framework to Access SQL Server Databases
Create, Read, Update and Delete Data from SQL Server Database using Entity Framework
Implement Pagination, Search and Sort Functionalities using Entity Framework
Undestand the MVC Pattern and How to Create Models, Views and Controllers
Learn Different Techniques to Pass Data from the Controller to the View
Implement User Registration, Authentication and Role-based Authorization using Identity
Edit the User Profile and Password, and Request Password Reset Tokens by Email
Create and Store the Shopping Cart and Orders