Hi all,
please tell me what is diffence between singleton and instance service?
Hi all,
please tell me what is diffence between singleton and instance service?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Shweta LodhaRank #31 · 39.8K reputationPosted Feb 3, 2016, 1:05 AM EST
leelha,
If you are talking in term of ASP.NET Core then instance service is created in ConfigureServices whereas singleton is created when first time it is requested.
Rajeesh MenothRank #118 · 18.4K reputationPosted Feb 3, 2016, 6:10 AM EST
Sujeet SumanRank #790 · 2.9K reputationPosted Feb 3, 2016, 6:20 AM EST