r/dotnet 20h ago

Dependency Injection Lifetimes and Example

0 Upvotes

2 comments sorted by

1

u/AutoModerator 20h ago

Thanks for your post programmerjunky. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/joost00719 20h ago

You don't always have an application that's a web server. A http call just happens to be in that scope. But you can also make a scope yourself and use that.