To make that class available through the IServiceCollection provided by ASP.NET Core, I would add that class to the collection of available service objects in the Startup class' ConfigureServices ...