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


Entity Framework Core Concurrency Conflicts

Last Updated: July 30, 2025

Multiple users trying to update an entity data at the same time can lead to inconsistencies and data corruption. A user say Elon displays an entity data in order to update it, at this same time another user say Trump updates the same entity data before Elon saves the changes to the database. When Elon saves the data an inconsistent version is saved on the database which Elon has no knowledge. This is known as concurrency conflict.

(more…)

Entity Framework Core Complex Queries

Last Updated: July 29, 2025

When building database driven apps we come across scenarios that require building complex queries with multiple data sources. Common examples of such cases being Joins, Group Joins and Group by, select many and so on. Here we look into such cases and understand how to build such complex queries in Entity Framework Core.

(more…)

Entity Framework Core Optimization Techniques

Last Updated: July 18, 2025

It is necessary that we Optimize our Entity Framework Core codes so that the application remains light weight and at the same time executes faster. We can perform the optimizing techniques in EF Core by understanding which technique is best to use in a given situation. Let's discuss some of the most important ones one by one.

(more…)

Owned Entity Types in Entity Framework Core

Last Updated: July 29, 2025

Owned Entity Types are those entities that can be associated with another entity only. They cannot be used separately, the other entity to which the owned entity is associated is known as it's owner. The owned enttity has a one-to-one relationship with the owner so they can be called as the dependents of the owner.

(more…)

Value Converters and Comparers in Entity Framework Core

Last Updated: July 18, 2025

Entity Framework Core deals with object values with Value Converters and Value Comparers. The Value Converters, as the name suggest, helps in converting object values from one type to another while Value Comparers helps in comparing the object values needed for change tracking, custom comparision codes, etc.

(more…)

Blazor QuickGrid Database Binding tutorial

Last Updated: September 17, 2024

Blazor QuickGrid component is used to display data from the database in tabular manner. Features like sorting & paging can also be added to it very easily. In this tutorial we are going to implement Blazor QuickGrid component in Blazor Web App from the very beginning. The source codes for this project is available from my GitHub repository.

(more…)

jQuery replaceWith() method – For replacing HTML elements in the DOM

Last Updated: August 24, 2024

If you want to replace one or more HTML elements on the DOM then use jQuery replaceWith() method.

(more…)

Blazor WebAssembly Authentication with ASP.NET Core Identity

Last Updated: September 13, 2024

Blazor WebAssembly apps can be secured with ASP.,NET Core Identity. We can provide login and logout feature for users through Identity so that only authenticated users are allowed to access the Blazor WebAssembly app.

(more…)

Blazor WebAssemble Authentication from Google

Last Updated: September 13, 2024

In this tutorial we are going to implement Authentication from Google feature in a Blazor WebAssembly app. We will also implement Oauth 2.0 and JWT Tokens for authentication purpose.

(more…)

jQuery index() method – Get the index of an element relative to its siblings

Last Updated: May 31, 2024

The jQuery Index method is very helpful in getting the index of an element relative to its siblings. For example – suppose there are few li elements inside a ul element and you have to find what’s the index of li that is clicked. In this condition you can use the .index() method of jQuery.

(more…)