Tag: ASP.NET Core 3.1

Create a SQL Database Windows Docker Container associated with an ASP.NET Core 3.1 Blazor App

The following is assumed: 1) You have .NET Core 3.1 installed on your computer. Go to https://dotnet.microsoft.com/download/dotnet-core to download and install .NET Core 3.1. 2) You have Docker for Windows installed on your computer. Refer to https://docs.docker.com/docker-for-windows/install/ for instructions on how to install “Docker Desktop on Windows”. Let’s get started. Right-click on the whale docker icon in…
Read more

How to Use Templated Components in Blazor

What is a templated component? Templated components are components that accept one or more UI templates as parameters. This is then used as part of the rendering logic. This allows users to author higher-level components that are highly reusable. I am going to cover a list component that allows a user to specify a template…
Read more

How Lifecycle methods in Blazor Work?

The Methods in the Lifecycle of Blazor App During their lifecycle, Blazor components undergo the following synchronous as well as asynchronous lifecycle methods OnInitialized()/OnInitializedAsync() – These are invoked when the component is ready to start, having received its initial parameters for its parents in the render tree. For an asynchronous operation, this method is overridden…
Read more