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


Razor Components Lifecycle Methods of Blazor

Last Updated: December 6, 2022

Razor Components Lifecycle Methods

All Razor Component have a well-defined Lifecycle, which is represented by synchronous and asynchronous lifecycle methods. We an override these methods to perform additional operations to build our custom features. Let use understand all about Lifecyle of Razor Components in this tutorial.

(more…)

Advanced Razor Components features in Blazor

Last Updated: December 6, 2022

advanced razor components

In this tutorial we will cover Razor Components in advanced manner and build the foundation for concepts of Custom Binding, Template Components, Generic Template Components & Cascading Parameters. Let’s understand each of them one by one with lots of examples.

(more…)

How to use Razor Components in Blazor

Last Updated: December 5, 2022

razor components

Blazor App is created with components and these components are built in Razor Components File. Razor components files can be created in Visual Studio and have a .razor extension. Note that the term Blazor Component is same as Razor Component.

(more…)

Create Number Paging with Custom Tag Helper in ASP.NET Core

Last Updated: May 14, 2022

asp.net core paging

Tag Helpers allow us to enhance HTML elements from server-side code. We will use this feature to create number based paging links in ASP.NET Core. We will be building this feature from scratch and once completed the paging links will work as shown by the below image:

(more…)

Blazor Events and Data Bindings

Last Updated: November 12, 2022

Blazor events and Data Bindings

Blazor Event Handling is the process to respond to events like button click, select change, text change on text box, clipboard events, mouse events, etc. Then perfoming some work if the events happen. In the below example, there is a button having an onclick event. When this event happens, we are going to shoot an email.

(more…)

User Lockout in ASP.NET Core Identity

Last Updated: May 10, 2024

user lockout identity

The ASP.NET Core Identity User Lockout feature improves the application security by locking out a user who enters the password incorrectly several times. This technique is very useful in protecting against brute force attacks, where a hacker repeatedly tries to guess a password.

(more…)

Creating Password Reset feature in ASP.NET Core Identity

Last Updated: May 10, 2024

password reset identity

When a user forgets his/her password then he needs the option to reset it. In such situations ASP.NET Core Identity Reset Password option comes out to be very handy.

(more…)

Creating First Application in Blazor from scratch

Last Updated: November 11, 2022

Blazor First Application

We will be creationg our First ASP.NET Core Blazor app in Visual Studio from absolute beginning. We will create an ASP.NET Core app from Empty stage and configure it to use Blazor. Note that the Visual Studio has a Blazor Template option which automatically configures a new project for Blazor. We have to introduce all the files structures of Blazor and their workings to you, therefore we will be creating this application from ASP.NET Core Empty template and will be using the latest .NET 7.0 Version. You are going to love this approach since you will learn about every necessary ASP.NET Core Blazor components and their workings, so be with this tutorial till the end.

(more…)

How to perform Email Confirmation of Users in ASP.NET Core Identity

Last Updated: May 9, 2024

email confirmation identity

ASP.NET Core Identity Email Confirmation verifies that the registered users have provided authentic email address and that they're likely to to be real persons. It means that registered users are indeed owners of their provided emails. Identity also provides the option to enable email confirmation during the time of user registration process.

(more…)

Two-Factor Authentication in ASP.NET Core Identity

Last Updated: May 9, 2024

two factor authentication identity

ASP.NET Core Identity Two-Factor Authentication is a process where a user enters his credentials on the login page. After successful password validation, he receives an OTP (one-time-password) via email or SMS. The user needs to enter this OTP in the Two-Step Verification form to log in. This procedure greatly increases the security of the application.

In this tutorial we are going to implement the Two-Factor Authentication in ASP.NET Core Identity.

(more…)