Posted on

When working with console applications, you need to manually define your service provider and scopes, but other than that, it functions as you are used to with ASP.NET.</p> <p>Make sure you’re choosing the proper lifecycle for your dependencies – Singleton, Transient, or Scoped.

View code on GitHub

Leave a Reply

Your email address will not be published.