© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
12 replies
VeQox
✅ asp.net background service with database
Im trying to make a background task which has a nats connection listening for incoming messages
.
When a message is received i want to add it to the database but with DI i cannot inject it
.
How can i work arround this
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Database In ASP.Net Core
C
C# / help
14mo ago
✅ Blazor / ASP.NET - @inject keyed service
C
C# / help
2y ago
ASP.NET: Elegant controller <-> service interaction
C
C# / help
2y ago
WCF Connected Service ASP NET Core
C
C# / help
4y ago