as blazor server is asp.net core app, you use the background task support:
note: as blazor server requires a dedicated signal/r connection per client and long running server requests, check that it it supported by your hosting company.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Coming from ASP.Net Webforms, I'm just getting started with Blazor and have gone through several tutorials, but still have a great deal to learn. I'm planning on a Blazor server application that will be deployed to a shared web host.
There will be a database task that I would like to run once or twice each day. With webforms, I would call it in the application start event.
I haven't been able to determine if Blazor has a similar event. Does it? If not, how can I periodically run my task?
as blazor server is asp.net core app, you use the background task support:
note: as blazor server requires a dedicated signal/r connection per client and long running server requests, check that it it supported by your hosting company.