Mô tả

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.

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


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

Bạn sẽ học được gì

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

Yêu cầu

  • Beginner knowledge of C#, HTML and Visual Studio 2022

Nội dung khoá học

4 sections

Perform CRUD Operations on Products

27 lectures
Introduction
03:09
Create a new MVC project and a new database connection
02:56
Add Entity Framework Packages
01:52
Create and Register the ApplicationDbContext
02:46
Create the Product Model
01:48
Create and Fill the Database Table
03:31
Read and Display the Product
09:14
Create the ProductDto Model
02:18
Create Products - Create the Form
06:08
Create Products - Save the Product
06:10
Update Products - Create and Initialize the Form
06:42
Update Products - Save new Details
04:24
Delete Products
02:27
Add Pagination functionality
09:19
Add Search functionality
05:18
Sort functionality - Add Query Parameters
11:01
Sort functionality - Sort the Products
03:14
Sort functionality - Add Arrow
07:41
Change Controller Route
04:57
Add Admin Dropdown in the Navbar
04:42
Change the website name and icon
02:50
Home Page - Add the hero section
06:27
Home Page - Add the newest products section
07:59
StoreController - Read Products
04:23
StoreController - Add Pagination
06:38
StoreController - Add Search Sort and Filter Functionalities
11:02
Read product details
07:21

Registration, Authentication and Authorization

24 lectures
Introduction
01:54
Install Identity package
00:52
Create Identity Tables
04:58
Add Identity Services to the Service Container
01:26
Create Roles and Default Admin User
09:53
User Registration - Create RegisterDto model
01:57
User Registration - Create the Register Form
07:41
User Registration - Create User Account
06:53
Update the Navbar - Display Username and Role
05:57
User Logout
02:00
User Authentication - Create the Login Form
05:12
User Authentication - Authenticate the user
09:03
User Authorization and Role-based Authorization
05:49
Display User Profile
06:32
Update User Profile
11:20
Update User Password
08:58
Request Password Reset Link
10:18
Send Emails
12:39
Reset User Password
09:36
Display Registered Users
10:30
Display Registered Users - Add Pagination
05:32
Display User Details
04:49
Update User Role
12:44
Delete User Account
05:16

Shopping Cart and Orders

16 lectures
Introduction
02:43
Create Entity Models and Tables
06:59
Shopping Cart Storage Principle
03:22
Add the Shopping Cart Icon To the Navbar
03:20
Add Products to the Shopping Cart
12:08
Read the Cookie on the Server and Display the Cart Size
06:15
Shopping Cart - Display Items
09:35
Shopping Cart - Create and Submit the Form
10:04
Shopping Cart - Create Orders
09:32
Shopping Cart - Increase Decrease and Delete Items
04:12
Admin Orders - Display Orders to Admin
10:48
Admin Orders - Add Pagination Functionality
03:46
Admin Orders - Show Order Details
12:43
Admin Orders - Edit Order
11:50
Client Orders - Display Client Orders
04:52
Client Orders -Show Order Details
03:44

Source Code

1 lectures
Source Code
00:02

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.