title: How to add db context not in ConfigureServices method ASP.NET Core
body: <p>Is there any posibility to add a db context in external class/method "on fly?" When I run the application, there is no any connection string, so I need to generate a db after typing some information(server, dbname, ect)</p>