Download the code: https://www.prowaretech.com/articles/...
Create an MS SQL Server database w/Entity Framework and then use it to create, edit, delete and search for records.
🕔 Timestamps:
2:13 Add the NuGet Packages (server project)
3:28 Add the NuGet Package (shared project)
4:16 Create the database connection string (server project)
5:00 Adding the Customer class (shared project)
6:09 Adding the application database context (AppDbContext) (server project)
7:18 Modifying Startup.cs with an added Dependency Injection (server project)
8:16 Use Package Manager to create the migration files and then create/update the database (server project)
8:55 Create the CustomersController (the Web API / RESTful API Controller) (server project)
14:07 Create a data repeater component to use to add, edit, delete and display data (client project)
15:16 Create the Customers.razor page (client project)
15:53 Create the search box for the Customers.razor page (client project)
17:45 Run the application
How to modify a table after it has been created: https://bit.ly/349IOAl
Ask any questions in the comments section.
En esta página del sitio puede ver el video en línea Programmatically Create MS SQL Server Database for ASP.NET Core WebAPI with Blazor WebAssembly C# de Duración hora minuto segunda en buena calidad , que subió el usuario Code by PROWARE 19 octubre 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 4,776 veces y le gustó 65 a los espectadores. Disfruta viendo!