Part 19 - UserCategory Functionality - Let's Build an ASP.NET Core MVC Web Application on .NET 5

preview_player
Показать описание
In this video we create the functionality for an administrator to update the UserCategory database table through our web application.

This tutorial is split up into the following 5 parts:
(7:26) - Section 1 - Create the the UserModel View Model and the UsersCategoryListModel view Model

(12:28) - Section 2 - Create the '_UserListViewPartial' partial view and its Parent Index view

(23:02) - Section 3 - Create the 'UsersToCategoryController' Controller Class

(44:13) - Test and Debug

Links
---------
If you’d like to help support the channel,

Buy me a Coffee ☕️

PayPal

BitCoin
12JZYMiRq5YRDN5R5zuyYt7jMN8eTpkgns

Copy Code from GitHub
--------------------------------------

UsersToCategory Index View

----

Full playlist - Let's Build an ASP .NET Core MVC Web Application on .Net 5

Migration (add the admin account) Code on GitHub

C# Asynchronous Programming Video Series

GUID Generator

Attributes

Part 1

Part 3

Part 13

Part 14

Part 15

Part 16

Part 17

Part 18

Full playlist - C# for Beginners Course

Full playlist - Advanced C# Course

C# Asynchronous Programming Playlist

Additional Information
------------------------------------
GetHashCode()

IActionResult

BootStrap 4 Grid

Anti-forgery token - Prevent Cross Site Request Forgeries

GitHub
-----------
Latest Code

PDF Document - Database Design

All music in this video was created by Gavin Lon
Рекомендации по теме
Комментарии
Автор

Thank you very very much, I have finished all series from 1 to 19

digitaldaridesatv
Автор

Thank you for any very good tutorial and really appreciated for effort to provide such comprehensive video for us :)

ckone-mindlearn
Автор

I just want to say that what you are doing is amazing.
I am working in tech support and wish to pass over to Programming.
This tutorial is going to be so helpful.

truefreedom
Автор

Thank you so much for this tutorial 🙏😊
I request you to add unit tests for this project in upcoming days 😊

VinuP
Автор

Hello, can you help me with some advice please? As said, I want to adapt this code to be suited for a web app for a car dealership. My custom tables are Car(to store the cars), CarImage(to store multiple image for a single car), Category, Color(car color), ConfiguredCarColor(To store which color the user has chosen for the car), ConfiguredCarOption(To store the car with the chosen color ie. the id of the car from ConfiguredCarColor and the list of optional extras a user wants), and Option(The optional extras). Would it be more practical to have a UserCar table, insetad of a UserCategory table? I though to do it like this, because when a user wants to buy a car, the Buy button will be on the car's page, not on the category page, and so it would be easier to have a relationship between user and car, than user and category. Or should I do both?

Thank you!

David-qujz
Автор

Thanks for another great video. For completeness, the repository on GitHub does not include the changes to the Category entity nor the Camparers folder and its class object.

pbgrafx
welcome to shbcf.ru