Blazor can invoke JavaScript function and JavaScript codes can invoke Razor Component’s methods very easily. These scenarios are called JavaScript Interoperability (JS interop). The JS Interlop makes it easy for integrating JavaScript libraries in Blazor application like Chart.js, Popper.js, Babylon.js, and so many more.
(more…)
All Razor Component have a well-defined Lifecycle, which is represented by synchronous and asynchronous lifecycle methods. You an override these methods to perform additional operations.
(more…)
Advanced Razor Component features can be built by understanding the concepts of Custom Binding, Template Components, Generic Template Components & Cascading Parameters. Let’s understand each of them.
(more…)
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…)
Tag Helpers allows you to conditionally modify or add HTML elements from server-side code. I will use this Tag Helpers feature to create number based paging links in ASP.NET Core. I will be building this feature from scratch and once completed the paging links will work as shown by the below image:
(more…)
Blazor can respond to events like button click, select change, text change on text box, clipboard events, mouse events and so on. This process is known as Event Handing. For example, the following code shown a button having an onclick event.
(more…)
The ASP.NET Core Identity has a User Lockout feature to improve application security by locking out a user that enters a 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…)
When a user forgets his/her password then he needs the option to reset it. In ASP.NET Core Identity you can create the Password Reset feature which comes out to be handy in such situations.
(more…)Let us create your First Application in Blazor in Visual Studio 2019. The procedure is to create an ASP.NET Core project and configure it to use Blazor. Note that the Visual Studio has a Blazor Template option which automatically configures a new project for Blazor. But since I have to introduce all the files structures of Blazor and their workings to you, therefore I will be creating this application from empty stage. You are going to love this approach so be with this tutorial till the end. (more…)
Email Confirmation is an important part of the user registration process. It allows verifying the registered user is indeed an owner of the provided email. ASP.NET Core Identity also provides the option to enable email confirmation during the time of user registration process.