Simeon Vanov
1 min readApr 8, 2020

Hi Marek! Thank you for the article.

I was wondering is it really needed for the repository to be added as Scoped ? Would it be possible for the repository to be singleton as the mongoclient to be shared and not initialized on each request ?

Best Regards,

Simeon

Simeon Vanov
Simeon Vanov

Written by Simeon Vanov

Passionate developer with .NET & cloud expertise. Sharing knowledge on SOLID, testing, design patterns, web concepts & microservices. Let's learn together!

No responses yet

Write a response