Sign in to confirm you’re not a bot
This helps protect our community. Learn more

Application Demo

0:00

disclaimer

2:12

Tech used and tools needed

3:24

Project overview and identity scaffolding

4:49

Creating entities

10:17

ApplicationDbContext

18:59

Applying migrations

23:30

Updating OrderStatus entity

24:53

Seeding admin record in the database

25:58

Testing admin login

40:29

Authentication is complete, what next?

42:35

Understanding the _layout.cshtml

42:51

Removing contents from _layout.cshtml

53:56

Deleting js and css files

54:33

Redesigning Layout with Bootswatch

55:08

Desgining the index page

1:01:48

Add AuthorName Column in Book Table

1:18:41

Adding Genres in database

1:20:10

01:23:57:08) Adding books in database part 1

1:21:53

(01:23:57:08.Running update-database command again

1:24:54

Adding 2 Images to MVC project

1:28:29

HomeRepository class

1:29:51

(01:45:48:10.IHomeRepository interface

1:47:21

home controller's index method

1:48:54

home/index.cshtml

1:52:14

Loding genre from db in home/index

1:56:09

CartRepository class

2:11:47

02:12:55:15.AddItem

2:24:18

GetUserCart()

2:27:46

ICartRepository

2:32:21

Registering ICartRepository

2:33:28

Refactoring AddItem, RemoveItem

2:36:41

Cart Controller

2:45:41

Add to cart JS feature

2:56:29

Loading CartCount at index

3:06:16

Refactoring index page JS logic

3:10:10

Displaying Cart

3:17:36

DoCheckout() method in CartRepository

3:30:55

Checkout() method in CartController

3:47:09

UserOrderRepository

3:50:30

UserOrderController and UserOrders.cshtml view

3:58:37

Displaying order details in UserOrders.cshtml

4:13:21

Fixing a bug

4:22:43

Checkout form

4:24:07

Show Orders to admin

4:31:12

Manage Genre entries

4:51:37

Managing Book Entries

5:12:25

Creating an adming panel

5:31:13

Ton 5 selling books

5:39:09
E-Commerce application with .NET Core MVC
71Likes
1,562Views
Mar 42025
dotnet projects dotnet core projects complete projects in dotnet In this tutorial, we are going to build an ecommerce application in dotnet core. We are using .net core 9, sql server, html, bootstrap and vanilla javascript for that. Note that, this project does not contain any payment gateway integration. --- 💻Source Code: https://github.com/rd003/BookShopping... 💻 I have refactored the source code and tried to optimize it a lot. Once you finish the tutorial, I would recommend you compare all your `repositories` with mine. And you can use refactored code. 🌿 Branch Name: refactored-2025 💻 Full path: https://github.com/rd003/BookShopping... --- Timestamps: (00:00:00 - 00:02:12) Application Demo (00:02:12 - 00:03:24) disclaimer (00:03:24 - 00:03:32) Tech used and tools needed (00:03:24 - 00:04:49) Creating a new mvc project (00:04:49 - 00:10:17) Project overview and identity scaffolding (00:10:17 - 00:18:59) Creating entities (00:18:59 - 00:23:30) ApplicationDbContext (00:23:30 - 00:24:53) Applying migrations (00:24:53 - 00:25:57) Updating OrderStatus entity (00:25:57 - 00:25:58) Assinging role to user (00:25:58 - 00:40:29) Seeding admin record in the database (00:40:29 - 00:42:35) Testing admin login (00:42:35 - 00:42:51) Authentication is complete, what next? (00:42:51 - 00:53:56) Understanding the _layout.cshtml (00:53:56 - 00:54:33) Removing contents from _layout.cshtml (00:54:33 - 00:55:08) Deleting js and css files (00:55:08 - 01:01:48) Redesigning Layout with Bootswatch (01:01:48 - 01:18:41) Desgining the index page (01:18:41 - 01:20:10) Add AuthorName Column in Book Table (01:20:10 - 01:21:53) Adding Genres in database (01:21:53 - 01:23:57:08) Adding books in database part 1 (01:23:57:08 - 01:24:54) Running update-database command again (01:24:54 - 01:28:29) Add books in database part 2 (01:28:29 - 01:29:51) Adding 2 Images to MVC project (01:29:51 - 01:45:48) HomeRepository class (01:45:48:10 - 01:47:21) IHomeRepository interface (01:47:21 - 01:48:54) Register IHomeRepository in DI container (01:48:54 - 01:52:14) home controller's index method (01:52:14 - 01:56:09) home/index.cshtml (01:56:09 - 02:09:27) Loding genre from db in home/index (02:11:47 - 02:12:55) CartRepository class (02:12:55:15 - 02:24:18) AddItem() (02:24:18 - 02:27:46) RemoveItem() (02:27:46 - 02:32:21) GetUserCart() (02:32:21 - 02:33:28) ICartRepository (02:33:28 - 02:33:48) Registering ICartRepository (02:33:28- 02:36:41) GetUserItemCount() (02:36:41 - 02:45:41) Refactoring AddItem, RemoveItem (02:45:41 - 02:56:29) Cart Controller (02:56:29 - 03:06:16) Add to cart JS feature (03:06:16 - 03:10:10) Loading CartCount at index (03:10:10 - 03:17:36) Refactoring index page JS logic (03:17:36 - 03:30:55) Displaying Cart (03:30:55 - 03:47:09) DoCheckout() method in CartRepository (03:47:09 - 03:50:30) Checkout() method in CartController (03:50:30 - 03:58:37) UserOrderRepository (03:58:37 - 04:13:21) UserOrderController and UserOrders.cshtml view (04:13:21 - 04:22:43) Displaying order details in UserOrders.cshtml (04:22:43 - 04:24:07) Fixing a bug (04:24:07 - 04:31:12) Checkout form (04:31:12 - 04:51:37) Show Orders to admin (04:51:37 - 05:12:25) Manage Genre entries (05:12:25 - 05:31:13) Managing Book Entries (05:31:13 - 05:39:09) Creating an adming panel (05:39:09 - 05:47:49) Ton 5 selling books --- connect with me: 👉 Blog: https://ravindradevrani.com/ 👉 YouTube:    / @ravindradevrani   👉 Twitter:   / ravi_devrani   👉 GitHub: https://github.com/rd003 --- Support my work: You can buy me a coffee 🍵: https://www.buymeacoffee.com/ravindra... #dotnet #aspnetcore #csharp #programming

Follow along using the transcript.

Ravindra Devrani

10K subscribers