Create Markdown editor in Blazor Application

Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML). Nowadays, Markdown is a very …

How can I use async with foreach in C#

This blog post will show you how to await the foreach loop in C#. Onwards c#, we can use async foreach in our code. To use async foreach, your method must return IAsyncEnumerable<T>. Let’s understand it with one example…

How to set the focus to an InputText element in Blazor

In this blog post, I will show you how to focus an input element in Blazor app. Let’s suppose you want when the user browser to your page you want that focus should be on the input control. I will show you two techniques to hand…

How to add a custom event to a Blazor component

In this blog post, I will show you one of the lesser-known features of the Blazor custom event. This feature allows us to map an event to a browser event and then connect to the C# code. Here I am going to build a textbox that …

How to show progress bar in Blazor while making Http Request

In this blog post, I will show you how to show the deterministic progress bar in Blazor Web Assembly. To achieve the goal, we don’t need any third-party library. C# already has one interface, IProgress , that exposes one method,…

LINQ in depth: advanced features and example

In this blog post, I will show you some LINQ advanced features like finding moving average, nth highest salary using LINQ, left, right join using LINQ and many more. How to extract number from string using Linq Moving Average…

What's a Software Design Pattern? ( Most Popular Patterns)

This blog post will show you how to implement software design patterns in your project with a real-world example. As per the Wikipedia In software engineering, a software design pattern is a general, reusable solution to a com…

Advanced Recursive Practice Problems with Solutions

In this blog post, I have listed some recursive problems like finding the permutations of a given string, merge sort, quick sort and flattening the javascript array. All problems have the solutions and visualization to understan…

Dynamically-rendered ASP.NET Core Blazor components

In this blog post, I will show you how to load the blazor component dynamically. Assume you have two components, ComOne and ComTwo in the component folders and there is a select list on the page. When user select the componen…

How To call a C# method from JavaScript

As per the Wikipedia Blazor is a free, open-source web framework that enables developers to create web apps using C# and HTML. Microsoft is developing it. This blog post will show you how to call the C# static method from J…

Load More
That is All