Course Overview
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
FAQ area empty
Course curriculum
Chương 1 ASP.NET Core MVC Essentials 12 bài
- Project Structure Học thử
- Actions Views and Controllers Học thử
- Razor Syntax Học thử
- Loops in Razor Views Xem trước
- Conditions in Razor Views Học thử
- Razor Directives Học thử
- Pass Data to View Xem trước
- Tag Helpers Xem trước
- Partial Views Học thử
- Layout Files Học thử
- Classic Forms Xem trước
- Data Binding and Form Validation Xem trước
Chương 2 Perform CRUD Operations on Products 27 bài
- Introduction Xem trước
- Create a new MVC project and a new database connection Xem trước
- Add Entity Framework Packages Xem trước
- Create and Register the ApplicationDbContext Xem trước
- Create the Product Model Xem trước
- Create and Fill the Database Table Xem trước
- Read and Display the Product Xem trước
- Create the ProductDto Model Xem trước
- Create Products - Create the Form Xem trước
- Create Products - Save the Product Xem trước
- Update Products - Create and Initialize the Form Xem trước
- Update Products - Save new Details Xem trước
- Delete Products Xem trước
- Add Pagination functionality Xem trước
- Add Search functionality Xem trước
- Sort functionality - Add Query Parameters Xem trước
- Sort functionality - Sort the Products Xem trước
- Sort functionality - Add Arrow Xem trước
- Change Controller Route Xem trước
- Add Admin Dropdown in the Navbar Xem trước
- Change the website name and icon Xem trước
- Home Page - Add the hero section Xem trước
- Home Page - Add the newest products section Xem trước
- StoreController - Read Products Xem trước
- StoreController - Add Pagination Xem trước
- StoreController - Add Search Sort and Filter Functionalities Xem trước
- Read product details Xem trước
Chương 3 Registration, Authentication and Authorization 24 bài
- Introduction Xem trước
- Install Identity package Xem trước
- Create Identity Tables Xem trước
- Add Identity Services to the Service Container Xem trước
- Create Roles and Default Admin User Xem trước
- User Registration - Create RegisterDto model Xem trước
- User Registration - Create the Register Form Xem trước
- User Registration - Create User Account Xem trước
- Update the Navbar - Display Username and Role Xem trước
- User Logout Xem trước
- User Authentication - Create the Login Form Xem trước
- User Authentication - Authenticate the user Xem trước
- User Authorization and Role-based Authorization Xem trước
- Display User Profile Xem trước
- Update User Profile Xem trước
- Update User Password Xem trước
- Request Password Reset Link Xem trước
- Send Emails Xem trước
- Reset User Password Xem trước
- Display Registered Users Xem trước
- Display Registered Users - Add Pagination Xem trước
- Display User Details Xem trước
- Update User Role Xem trước
- Delete User Account Xem trước
Chương 4 Shopping Cart and Orders 16 bài
- Introduction Xem trước
- Create Entity Models and Tables Xem trước
- Shopping Cart Storage Principle Xem trước
- Add the Shopping Cart Icon To the Navbar Xem trước
- Add Products to the Shopping Cart Xem trước
- Read the Cookie on the Server and Display the Cart Size Xem trước
- Shopping Cart - Display Items Xem trước
- Shopping Cart - Create and Submit the Form Xem trước
- Shopping Cart - Create Orders Xem trước
- Shopping Cart - Increase Decrease and Delete Items Xem trước
- Admin Orders - Display Orders to Admin Xem trước
- Admin Orders - Add Pagination Functionality Xem trước
- Admin Orders - Show Order Details Xem trước
- Admin Orders - Edit Order Xem trước
- Client Orders - Display Client Orders Xem trước
- Client Orders -Show Order Details Xem trước
Chương 5 Paypal Payment 2 bài
Chương 6 Source Code 1 bài
-
Source Code
Requirment
-
Beginner knowledge of C#, HTML and Visual Studio 2022
Outcomes
-
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
2 Students
2 Courses
0 review