How to create a child scope from the parent with default dependency injection in .NET Core?

前端 未结 0 790
余生分开走
余生分开走 2021-02-12 06:04

I am building a console .NET Core application. It periodically runs a method that does some work. How do I make ServiceProvider behave in the same way it behaves in ASP.NET Core

相关标签:
回答
  • 消灭零回复
提交回复
热议问题