Blazor: How to fix System.NullReferenceException in _Host.cshtml file

I'm currently experimenting with Blazor, a Microsoft Web Framework, and the other day I encountered a strange error that took me a while to figure out how to fix. When running the Blazor Server App, I received the System.NullReferenceException: 'Object reference not set to an instance of an object.' exception error in Visual Studio inside the generated _Host.cshtml file.

Substrate: How to install subkey tool

Subkey is a command-line utility for the Substrate framework used to create and manage keys, sign and verify signatures and interact with the keystore file. In this article, we will demonstrate how to build a subkey tool from the source code and then install it so that it is available anywhere in the system.

GTmetrix: How to test website speed without ads

GTmetrix is a free online website performance testing tool. We can use this tool to identify and fix issues with our websites like page load speed and web page size. But, what if we have ads on our website from Google AdSense or Ezoic and we want to test the speed and performance of the website without the ads? In this post, we will show you how to do this without turning off the ads on the website itself.

How to create a JavaScript project in VS Code

When learning about front-end web development, it might be better to learn the basics of JavaScript first before jumping to more complex frameworks and libraries like React or Vue. VS Code is a popular, open-sourced lightweight code editor and in this post, we will create an empty JavaScript project using Visual Studio Code and it can be used as a basis for building more complex web apps.

How to create a simple web page that uses JavaScript

When trying to learn or improve JavaScript skills as a web developer, it's a good idea to start with the fundamentals before moving on to more complex frameworks and libraries like Reach or Vue. In this post, we will create a simple web page in which the user enters their name into an input field and the page greets the user after clicking on submit button.

How to create a JavaScript project in Visual Studio

Knowing JavaScript is more or less required when working with front-end web development. One way to learn JavaScript is to start with a simple web project containing an HTML page that uses JavaScript. So, the next question is which IDE or editor to use. In this post, we will create a JavaScript project in Visual Studio IDE. It supports JavaScript IntelliSense with auto-complete suggestions and debugging capabilities.