Create Custom Modal Component Using Bootstrap in Blazor

This blog will show you how to create Confirmation Modal Dialog in blazor without using any third party. I am using the Microsoft scaffold application for this post, which includes bootstrap by default. We are going to build the…

How to capture reference of another component in Blazor App

This blog post will show you how to reference components in another component. To make the demo simple, I have created a simple contact list. Then from the parent page, I am referring to the contact list and invoking the show/hi…

How To Integrate Fluent Validation in Blazor Application

FluentValidation is a popular validation library for.NET Core. It provides advantages over the DataAnnotations validation system integrated into.NET Core, such as an enormous collection of rules, more straightforward configur…

How To Add Form Validation In Blazor Application

This blog post will show you how to add validation in blazor form. Before implementing the validation, you must get familiar with the most important component of blazor validation, EditContext and EditForm. As per the MSDN …

How To Get Current User in a Blazor component

Let’s assume you have configured Blazor authentication and authorization in your project, and you want to access the username/claim in your view. Then, you can wrap the component into AuthorizeView and access the User details …

Build reusable UI components with Blazor-Real World Example

One of the most appealing features of blazor is the ability to encapsulate reusable user interface (UI) code into reusable UI components. .razor files can be used to specify custom user components in markup. This blog post will…

Load More
That is All