Connecting C# To MySQL Using Blazor (Full CRUD Actions)

Published: 06 July 2020
on channel: IAmTimCorey
86,778
1.5k

How do I talk to MySQL from C#? That's a pretty common question. MySQL databases are very popular, especially on the web. So when you are building a web application especially, you might be considering using MySQL. Fortunately, there is a very easy way to connect to MySQL databases using C# and in this video, I am going to show you how to do just that.

Mailing List: https://signup.iamtimcorey.com
Source Code: https://leadmagnets.app/?Resource=Con...
Purchase Courses: https://iamtimcorey.com


0:00 - Intro
0:51 - Demo Blazor Server App
3:57 - Adding a Class Library
5:43 - Adding NuGet packages
7:04 - Data Access class:
8:27 - • Load data method explained
15:51 - • Save data method explained
18:20 - Library dependency
19:15 - New Blazer page
20:48 - Dependency injection (startup.cs)
24:38 - Razor page setup: Using statements
25:45 - Making data access methods Async
32:25 - Adding Data Models
34:11 - Razor Page setup: Calling data access
37:19 - MySQL Connection string
41:11 - Razor Page layout for displaying data
44:11 - Save Data
49:14 - Update Data
52:40 - Delete Data
54:55 - Summary and concluding remarks

Thanks to Ralfs HBK for the chapters breakdown


Watch video Connecting C# To MySQL Using Blazor (Full CRUD Actions) online without registration, duration hours minute second in high quality. This video was added by user IAmTimCorey 06 July 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 86,77 once and liked it 1.5 thousand people.