Connect & Access MySQL database using Entity Framework Core in .Net Core Application

preview_player
Показать описание

We will start with adding all required Nuget packages, then create DB context and entities classes and then generate code first migrations. I will show you how you can fetch data from MySQL database using EF core and show it on UI.

Like, comment and subscribe to this channel, and let me know you feedback and any other tutorial suggestion in the comments.

#mysql #entityframework #aspnetcore
Рекомендации по теме
Комментарии
Автор

Sir you dont know how much this video helped me, i wasted one complete day because of errors comming in ms sql installations.
Thank you soo much

skyhi
Автор

You just changed my life 😅 it's a life changers world right now

davidochoa
Автор

Thank you very much, I saw many guides, documentation and tutorials and I cannot make my project work, but with your video I can already achieve it, thank you very much

chardinson
Автор

I wish I found this video before struggling for hours, very helpful and crystal clear.

mahmutsezgin
Автор

Sos un Grosso hermanito! me salvaste la conexión con .NET CORE 5.0 + MYSQL Abrazo desde Argentina

marcelobarbero
Автор

Hi great video on explaining how to connect to a MySQL db. Very much appreciated. Only thing I would change is taking the Person.cs class and moving it into models folder.

adrian.s
Автор

You are making great videos, keep it up, I learned mvc this semester in College, building projects by using mvc and having them in your portfolio helps a lot to get a job

mahamatadoummahamathamid
Автор

Thank you so much bro, you've saved me and I like that you use good practices even if it's just for a demo. Keep up the great work!

hil
Автор

Excellent Video, you could make the version in net 6.0, where they don't use the StartUp class, Thanks.

ManuelRBercian
Автор

I do not have Startup.cs. Where i have to put the code that you write in this class?

smartygamer
Автор

ViewData, @model and Model is not recognized. What do I do?

franciagarcia
Автор

at 9:47, I'm getting an error where it asks for server version object as parameter after the connection string parameter. How do I get that? Tho I am creating an API

MrMonset
Автор

Hi I have a question regarding this. When I created a new project with visual studio, there was no Controllers folder and Models folder in the Solution Explorers. Am I doing something wrong?

nightskyblackx
Автор

How to do that in .net core console application?

carlmarionmanlapaz
Автор

Sir while running the command update-database in package manager console I receive the error that certification issued by author is not trusted....
How can I rectify this

priyadharshini.m
Автор

if i create a new table, how u create ? Help !

quangthanhta
Автор

when I try to migrate nothing changes in mysql workbench

BlimpBlomp
Автор

Why we need to create tables using C# code? This is useless for an enterprise app. We assume the table already exists and do crud operation on the table.

deepakdutta
visit shbcf.ru