In this video I will show you how you can connect and fetch data from a MySQL database in any asp.net core application using entity framework core. I am using .Net core 5 with Entity Framework core 5.
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
Category
Show more
Comments - 45
@
@skyhi93833 years agoSir 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 sir! 1
@
@mahmutsezgin57453 years agoI wish i found this video before struggling for hours, very helpful and crystal clear. 1
@
@davidochoa91243 years agoYou just changed my life it' s a life changers world right now. 1
@
@hil4493 years agoThank 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! 3
@
@KiveyGaming3 years agoThank 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. 2
@
@marcelobarbero7373 years agoSos un grosso hermanito! Me salvaste la conexin con. Net core 5. 0 + mysql abrazo desde argentina. 1
@
@mahamatadoummahamathamid5302 years agoYou 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.
@
@adrian.s2 years agoHi 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.
@
@nightskyblackx74222 years agoHi 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?
@
@franciagarcia46313 years agoViewdata, @model and model is not recognized. What do i do? 1
@
@priyadharshini.m82992 years agoSir while running the commandin package manager console i receive the error that certification issued by author is not trusted. how can i rectify this.
@
@carlmarionmanlapaz62893 years agoHow to do that in. Net core console application? 1
@
@quangthanhta5170last yearIf i create a new table, how u create? Help!
@
@ManuelRBercian2 years agoExcellent video, you could make the version in net 6. 0, where they don' t use the startup class, thanks. 2
@
@MrMonset3 years agoat , 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 .....Expand2
@
@smartygamer25122 years agoI do not have startup. Cs. Where i have to put the code that you write in this class? 2
@
@BlimpBlomp3 years agoWhen i try to migrate nothing changes in mysql workbench.
@
@MrMonset3 years agoat , 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 .....Expand2
Related videos for Connect & Access MySQL database using Entity Framework Core in .Net Core Application:
thank you soo much sir! 1
how can i rectify this.