Send message to Dashboard

How to send text messages to the dashboard and if that possible at all? I am using Hangfire.AspNetCore.

I found an example that PerformContext can be passed to Task method like this

public void TaskMethod(PerformContext context)

Unfortunately I do not have these properties like context.WriteLine.

You need to install the Hangfire.Console nuget package.

The project repository is :