© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
4 replies
▬▬ι═══════ﺤ

Notifications and Background services

Hello, i have question:
let's say i want the admin to be able to send notifications to all the users in my asp.net core web api application,
the point is that i'm not sure what's the best way to do this?

options 1 :

from inside the endpoint i call the google api that send the notification to the users
option 2 :

i insert a record in the announcement table and i create a background service that's responsible for sending these notifications.
what't the best approach for doing this ??
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Scaling Background Services !
C#CC# / help
2y ago
Background services with parameters
C#CC# / help
4y ago
✅ Should I create single or multiple background services
C#CC# / help
2y ago
Background Service and Blazor
C#CC# / help
2y ago