Entity Framework Core

List of published courses

Available Courses
Select your sort preferences
AddSignleton-AddScoped-AddTransient-Dropdown-List-Validation-Session51
ASP.Net Core MVC

Differences between AddSingleton, AddTransient & AddScoped – Session 51

In this session of ASP.NET Core MVC Tutorial, we are going to distinguish differences between AddSingleton, AddTransient, and AddScoped in practice, Also we will implement Form Validation for the DropDownList element. We already mentioned the differences between these methods in theory during Session 16. But now, we are going to show you the distinction between them in practice. Moreover, we will present they way that you can implement validation for the DropDownLists.

CRUD Operations in ASP.NET Core MVC with EF Core - Session50
ASP.Net Core MVC

CRUD Operations in Controller and View – Session 50

During this session, we are focusing on the implementation of CRUD operations in Controller and View in our ASP.NET Core MVC Web App. As I have already mentioned in session 48 CRUD stands for Create, Read, Update and Delete are four basic operations that should be implemented in each persistent storage application. Also during that session, we developed our CRUD repositories for both static and SQL Server data storage. Hence, now we are developing these operations on the Controllers and Views of our Web App.

Seed Data in Entity Framework Core
ASP.Net Core MVC

Seed Data in Entity Framework Core – Session 49

lso we will show you how you can remove a migration that was already synced with the database. During this session, we implement seeding data with two methods. First, we seed data inside the DB context, and then we use the ModelBuilder extension.

CRUD Repository & .NET Framework Upgrade - Session48
ASP.Net Core MVC

CRUD Operations in .NET Core & .NET Framework Upgrade – Session 48

In this session, we are going to implement CRUD operations in ASP.NET Core MVC Web app, also we upgrade our web app .NET framework to use the latest released version. During this session, we complete the Cost model Interface and repository to handle CRUD operations. CRUD stands for Create, Read, Update and Delete operations that are four basic operations of storage which could be memory or database. Thus, for creating, reading, updating and deleting data from storage we need a repository that handles all the mentioned verbs.

EF Core Relationship
ASP.Net Core MVC

Entity Framework Core Relationships – Session 47

During this session, we are going to talk about the relationship between entities in Entity Framework Core, and demonstrate different types of relationships. Generally, there are three types of relationships which are one-to-one/zero, one-to-many, and many-to-many that we discuss all of them in this session.

SQL Server & MySQL EF Core - EF Core Migration - Session 46
ASP.Net Core MVC

SQL Server & MySQL with EF Core & EF Core Migration – Session 46

During this session of ASP.NET Core Tutorial, we discuss connecting SQL Server with EF Core and MySQL with EF Core, also we will talk about EF Core Migration. In Session 45 we make our Web App ready to work with Entity Framework Core. Moreover, we installed the EF Core required NuGet Packages, and created the DBContext class. In this session, we add DbSet to the DBContext and connect EF Core with SQL Server and MySQL database engine.

Entity Framework Core - Session 45
ASP.Net Core MVC

Entity Framework Core – Session 45

In this session of the ASP.NET Core tutorial, we introduce Entity Framework Core (EF Core) and make our Web App ready to work with EF Core by installing required NuGet Packages. EF Core is a version of Microsoft Entity Framework that is lightweight, Open Source, Cross-functional and extensible. This data access framework is an Object Relational Mapper (ORM) that helps developers to work with DB through .NET objects.