Sitecore | .Net Core| Azure| C# | Nextjs
Sitecore for living and rest is for party.
Monday, September 16, 2024
How to inject scope service into Singleton Service ?
ASP.NET Core has three
service lifetimes
:
Transient
Singleton
Scoped
How to resolve inject scope service object into singleton service? Below
SomeSingletonService will inject scope service object and resolve it.
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment