Tutorials on ASP.NET Core, Blazor, jQuery, JavaScript, Entity Framework, Identity, WordPress, SQL, HTML & more


How to do Authentication of Users in ASP.NET Core Identity

Last Updated: April 11, 2024

identity authentication

What is Identity Authentication in ASP.NET Core? Authentication is the process of recognition of a user when he successfully logins to the app. ASP.NET Core Identity presents a login form where user has to provide his username and password to authenticate himself. On successful login, Identity authenticates the user and he is granted access the secured resources of the ASP.NET Core app.

(more…)

Username, Email & Password Policy in ASP.NET Core Identity

Last Updated: April 3, 2024

username email password policy

(more…)

How to Create, Read, Update & Delete users in ASP.NET Core Identity

Last Updated: February 23, 2024

user management identity

In this tutorial we will perform ASP.NET Core Identity CRUD Operations for Creating, Reading, Updating and Deleting Users. This will help us to Manage Identity Users right through our ASP.NET Core app. Before continuing, kindly Setup and Configure ASP.NET Core Identity in your app. Once you did it kindly follow from here.

(more…)

How to Setup and Configure ASP.NET Core Identity

Last Updated: February 22, 2024

setup configure identity

ASP.NET Core Identity is a Toolkit and an API with which you can create Authorization and Authentication features in your application. Users can create an account and login with a user name and password. This also includes Roles and Roles Management. ASP.NET Core Identity uses a SQL Server Database to store user names, passwords, roles, and profile data.

(more…)

Execute SQL Stored Procedures using FromSqlRaw() & ExecuteSqlRawAsync() methods in Entity Framework Core

Last Updated: February 7, 2025

execute stored procedures ef core

SQL Stored Procedures can be easily executed using the FromSqlRaw() & ExecuteSqlRawAsync() methods in Entity Framework Core. This tutorial will cover them in details.

(more…)

Execute Raw SQL Queries using FromSqlRaw() method in Entity Framework Core

Last Updated: February 7, 2025

execute sql queries ef core

Entity Framework Core FromSqlRaw() method is used to Execute Raw SQL Queries including Parameterized Queries. This method returns an entity object. We use this method when we can't generate queries through LINQ or when EF Core generates inefficient queries.

(more…)

Configure Many-to-Many relationship using Fluent API in Entity Framework Core

Last Updated: February 7, 2025

fluent api many to many ef core

Entity Framework Core Many-to-Many Relationship is configured through Fluent API. We first add collection navigation property on both the entities and then add the join entity type with the UsingEntity() method.

(more…)

Configure One-to-One relationship using Fluent API in Entity Framework Core

Last Updated: February 7, 2025

fluent api one to one ef core

We can configure Entity Framework Core One-to-One Relationship by the use of Fluent API. The One-to-One Relationship is established by using the HasOne - WithOne pattern. Note that we can also create this relationship by using EF Core Conventions.

(more…)

Configure One-to-Many relationship using Fluent API in Entity Framework Core

Last Updated: February 7, 2025

fluent api one to many relationship

Entity Framework Core One-to-Many Relationship is established between 2 entities by the use of Fluent APIs. This relationship is configured by the use of Has/With pattern.

(more…)

Fluent API in Entity Framework Core

Last Updated: February 7, 2025

fluent api ef core

Entity Framework Core Fluent API is used to build model based on entity classes. We can also override the default Conventions of Entity Framework Core using Fluent API when targetting the database schema as Fluent API has higher precedence than conventions and data annotations.

(more…)