@page "/counter" @using UI_SequentMicrosystems.Services @inject NavigationManager Navigator @inject RTD8TMService _RTD8TMService Counter

Counter

@Navigator.BaseUri --> @address

Current count: @currentCount

@code { private int currentCount = 0; private void IncrementCount() { currentCount++; } private string address = ""; protected override void OnInitialized() { _RTD8TMService.SetAddress(Navigator.BaseUri); } }