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

Опубликовано: 06 Июль 2020
на канале: 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


Смотрите видео Connecting C# To MySQL Using Blazor (Full CRUD Actions) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь IAmTimCorey 06 Июль 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 86,77 раз и оно понравилось 1.5 тысяч людям.