I have a C# library and in that there is one AutoFacModule which currently have 2 methhods Load and ConfigureServices. And I have one model class which represents a configuration. Now I have created a custom json files which are environment specific. How to load the configuration from these json files ? This library is ued in other we project. The other project used .net8
I tried using the appsetting and custom file but its not loading. Currently I can load the configurtion from the web application which used this library/package. I want to load that config in package level only
sujeet bhambar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.