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)
{
context.SetTextColor(ConsoleTextColor.Red);
context.WriteLine(“Error!”);
context.ResetTextColor();
}
Unfortunately I do not have these properties like context.WriteLine.