Reading Configuration
Say I have a class like this:
I want it to read some settings from appsettings.json, however I cant Dependency Inject the configuration, because it requires that class of MigrationSteps. What is a smart way to passing in the configuration? Just pass the config along in the constructor?
0 Replies