© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2mo ago•
13 replies
Mango

Singleton timer (in Blazor)

asp.netintermediate
If I want a singleton to constantly run a timer, to invoke an
event Action
event Action
, would I use a background
_ = Task.Run();
_ = Task.Run();
approach or a simple
System.Timers.Timer
System.Timers.Timer
?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ Can someone help me with timer (blazor)
C#CC# / help
2y ago
✅ Singleton Class
C#CC# / help
3y ago
❔ Singleton Pattern
C#CC# / help
4y ago
❔ Bug in blazor?
C#CC# / help
3y ago