In this Blazor tutorial we’ll create a Recipe Manager application in Blazor Server in Visual Stuio 2019. We will set up a Blazor Server web application as well as a SQL Server Database created with Entity Framework Core. We’ll learn how to configure Entity Framework in our application as well as creating (and running) our initial migration.
Source code: [ Ссылка ]
0:00 - Intro
4:17 - Setup a new Blazor Server
5:33 - Add Class Library for DataAccess
6:32 - Setup connection string in appsettings.json
9:46 - Files and folders setup
10:49 - Install dependencies (mainly EF Core)
12:54 - Setup ApplicationDbContext.cs
15:03 - Setup Startup.cs
18:00 - Create the Recipe model
21:26 - Create initial migration and run it
Playlist: [ Ссылка ]
Join my mailing list: [ Ссылка ]
Check out my website: [ Ссылка ]
Follow me on Twitter: [ Ссылка ]
If you enjoyed this tutorial, please hit like consider subscribing for more content like this.
Credits:
- Icons designed by [ Ссылка ] and [ Ссылка ]
- Images from the artists on [ Ссылка ]
Ещё видео!