.Net 5 Identity using MySQL in MVC projects

preview_player
Показать описание
Setting up Identity to use MySQL or MariaDB requires just a few additional steps. Follow along in your Visual Studio to quickly get setup with a MVC login system that uses MySQL (or MariaDB) instead of SQL server as the backend.
Рекомендации по теме
Комментарии
Автор

Thanks for the video! I needed a way to do more of my DotNet development on my M1 Macs, and this completed the gap of what I was missing.

jaspercoleman
Автор

This is spooky, I was literally thinking about this yesterday and wondering if there was a cheaper option than SQL Server for making personal projects. Thanks for making the video :)

MichaelFurmedge
Автор

Thanks, this was exactly what I needed!

MikeJones-gtke
Автор

Cool! Thanks! This basically converted the entity to use MySQL rather than MSSQL. Thanks for making this great video! Btw it works with all the other packages being version 8.0.11 now and adding the version 8.0.2. Its almost year 2025 now as of posing this comment

DaveNorthWest
Автор

If you have not created any video on identity - 'Roles', Can you make one on covering that topic (with mysql db)? How to set up roles and how to works and any possible problems in the way? Thanks in advance!

jemschaudhary
Автор

Me has ayudado mucho, en mi proyecto. Gracias, Gracias...

wcameros
Автор

Great video. Thanks! Are there any problems in future if using mysql database and asp.net 'identity system'? Or it works similar without any problems with sql or mysql after those steps above?

jemschaudhary
Автор

Sorry one more request from me: (mysql) Most of the times we want to change the PK of aspnetusers table to email (for example), and then use it as FK in other tables. I remember the conflict of that PK FK changes in other asp.net identity generated tables (aspnetroles, aspnetclaims, ...). Can you please provide a solution how to change the PK and handle FK constraint in all identity tables?

jemschaudhary
Автор

Can we do without _migration table and entity validation? I have old apps that need to be updated but I don't have migration table and the fails with error that cannot validate the model because no migrations history found.

deepakdutta
visit shbcf.ru