C
C#10mo ago
Eple

Background Service and Blazor

Hi all, I wish to create a Service and a Blazor interface. Can someone help me get started? That is a Service doing some work and a Blazor interface communicating with it. I need help to choose the right project types.
7 Replies
Jimmacle
Jimmacle10mo ago
what have you done so far?
Eple
EpleOP10mo ago
I have not done anything yet. I need help to choose the right project types. I apologize for not mentioning it. Appreciate you reaching out. Using Rider on macOS but I think it is interchangeable with VS for Windows.
Jimmacle
Jimmacle10mo ago
there is a lot of documentation and some tutorials here https://learn.microsoft.com/en-us/aspnet/core/blazor/?view=aspnetcore-8.0
Eple
EpleOP10mo ago
Thank you – I've created the Blazor server side app now. I need to create a Service which fetches data at intervals.
Jimmacle
Jimmacle10mo ago
you could use anything from a hosted service with a timer to Hangfire or other job scheduling system
Eple
EpleOP10mo ago
I'll be sure to check out hosted services, Hangfire and also to research other job scheduling systems. Appreciate your help. I need the Service to be running all the time. Do you know if this would be an issue if it is running under a Blazor app?
Jimmacle
Jimmacle10mo ago
it depends on the hosting model IIS can shut the site off after a period of inactivity unless you configure it not to
Want results from more Discord servers?
Add your server