Duration 32:54

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

51 174 watched
0
534
Published 22 May 2021

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 ago 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 sir!
    1
  • @
    @mahmutsezgin57453 years ago I wish i found this video before struggling for hours, very helpful and crystal clear. 1
  • @
    @davidochoa91243 years ago You just changed my life it' s a life changers world right now. 1
  • @
    @hil4493 years ago 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! 3
  • @
    @KiveyGaming3 years ago 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. 2
  • @
    @marcelobarbero7373 years ago Sos un grosso hermanito! Me salvaste la conexin con. Net core 5. 0 + mysql abrazo desde argentina. 1
  • @
    @mahamatadoummahamathamid5302 years ago 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.
  • @
    @adrian.s2 years ago 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.
  • @
    @nightskyblackx74222 years ago 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?
  • @
    @franciagarcia46313 years ago Viewdata, @model and model is not recognized. What do i do? 1
  • @
    @priyadharshini.m82992 years ago Sir 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 ago How to do that in. Net core console application? 1
  • @
    @quangthanhta5170last year If i create a new table, how u create? Help!
  • @
    @ManuelRBercian2 years ago Excellent video, you could make the version in net 6. 0, where they don' t use the startup class, thanks. 2
  • @
    @MrMonset3 years ago at , 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 .. ...Expand 2
  • @
    @smartygamer25122 years ago I do not have startup. Cs. Where i have to put the code that you write in this class? 2
  • @
    @BlimpBlomp3 years ago When i try to migrate nothing changes in mysql workbench.
  • @
    @MrMonset3 years ago at , 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 .. ...Expand 2