Category: github

my personal thoughts about life, coding, the universe and everything. Our goal is to allow the user to trigger the execution of a long-running operation.

Our application will of course be much simpler than the Azure Portal, but the basic idea remains untouched: We can set the number of steps we want to perform and then trigger the execution in the backend, using OpenSleigh.

The next step is to create a Razor page: We also need to handle the connection to the server and dealing with message exchanging: As you can see, in the OnInitializedAsync() method we’re initializing the connection to the Hub and registering to the Notification event. The event handler receives the message from the server and appends it to our list of notifications.

Related Articles