Home Screencasts Quick Start Case Studies API Download Order Blog*

Runtime Flow Runtime Flow

Monitoring a Blazor Server application

This guide describes how to create a Blazor Server application in Visual Studio 2022 and monitor its execution with Runtime Flow.

Create a Blazor Server application

Blazor Server new project

Blazor Server new project

Build and test how it runs from Visual Studio.

Configure Runtime Flow for monitoring

1. Create rf.cmd file:

set ASPNETCORE_HTTPS_PORT=7087
set ASPNETCORE_URLS=https://localhost:7087;http://localhost:5087
set ASPNETCORE_ENVIRONMENT=Development
set ASPNETCORE_AUTO_RELOAD_VDIR=/
bin\Debug\net6.0\BlazorApp1.exe

And put it in the project directory:

Blazor Server new project

2. Set path to rf.cmd as a Command in the Runtime Flow Customized Run dialog and set Working directory to the project directory:

3. Set Module == BlazorApp1.dll in the monitoring Options dialog:

Start monitoring

1. Click Run in the Runtime Flow Customized Run dialog:

2. Open https://localhost:7087 in a web browser:

Monitoring results

1. Startup:

2. Open the Counter page and click the button:

3. Open the Fetch data page: