Create a database using Entity Framework Core in Blazor

preview_player
Показать описание
In this video, we'll learn how to create a database using Entity Framework Core in a Blazor web application in .NET 8. So we'll create a database for a simple book catalog, named SimpleBookCatalog.

We'll first start with a domain layer, which will hold our Book domain entity. It will simply be an anemic domain model, with no behavior. Then, we'll create an interface in the application layer for interacting with the Book entity. and implement it in the infrastructure layer. We'll add Entity Framework Core to the project, and use the DbContext API. We'll then create a Presentation layer project for our Blazor Web App, and register the required services, and also add a connection string to connect to SQL Server Express LocalDB database. And finally, we'll add a migration and apply that to create the database.

Please note that this video is the first video in a series, where we will be exploring how to perform CRUD operations in Blazor in .NET 8.

Video #1

Video #2

Video #3

Video #4

Video #5

Video #6

Hope you find the video useful. Consider subscribing for more content. Thanks for watching!

#efcore
#blazor
#dotnet
#codeganesh
Рекомендации по теме
Комментарии
Автор

As well as your excellent teaching style and command of the subject matter, I really appreciate the fact that you have taken the time to create a more realistic clean architecture in which to show your examples and a clean, appealing interface. This has really contributed to my learning experience. Thanks for this - I look forward to following your work in the future.

rogerswetnam
Автор

Your teaching style, much like Kudvenkat's, is distinguished by a clear and unique voice that sets it apart. The simplicity with which you deliver the content makes it exceptionally easy to follow, understand, and implement. Outstanding work, CodeGanesh! Thank you for generously sharing your time and expertise!

OyBosEnEmm
Автор

This is fantastic!
So well explained, You're a teacher!
You got my subscription!

Azm
Автор

Awesome! Really good exaplanation. For sure I'll be watching the next videos. Good job!

falanicao
Автор

Thanks for the video. You are a good instructor. Would be nice if you did a webassembly crud project as well. You could use the same project but also show us a webassembly project to know the differences.

atirah
Автор

Excellent
Can you make a course about maui blazor hybrid ?

cissemy